We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gtests_dbms: /home/jenkins/agent/workspace/tiflash-build-common/tiflash/dbms/src/IO/Compression/CompressionCodecFactory.cpp:97: static CompressionCodecPtr DB::CompressionCodecFactory::getStaticCodec(const CompressionSetting &): Assertion `inserted' failed.
tiflash/dbms/src/IO/Compression/CompressionCodecFactory.cpp
Lines 81 to 99 in 5500b35
level
lz4_mutex
lz4_map
assert(inserted)
The text was updated successfully, but these errors were encountered:
Seems the level of compression is determined by dt_compression_level:
dt_compression_level
tiflash/dbms/src/Interpreters/Settings.h
Line 218 in cf5a204
Can we just create a static object when the server start? @Lloyd-Pottiger
Sorry, something went wrong.
I have fixed this in #9312.
No, dt_compression_level needs to be dynamically changeable.
d68865a
Compression: Support enabling lightweight compression (#9312)
627fd1f
close #8982, close #9336 Compression: Support enabling lightweight compression Signed-off-by: Lloyd-Pottiger <[email protected]> Co-authored-by: jinhelin <[email protected]>
Lloyd-Pottiger
Successfully merging a pull request may close this issue.
Error
tiflash/dbms/src/IO/Compression/CompressionCodecFactory.cpp
Lines 81 to 99 in 5500b35
level
acquire shared lock oflz4_mutex
and readlz4_map
concurrently and both failed because codec oflevel
not exist.lz4_mutex
, insert codec oflevel
andassert(inserted)
successfully.lz4_mutex
, but insert codec oflevel
failed, andassert(inserted)
will crash the process in debug mode.The text was updated successfully, but these errors were encountered: