Assert current_weight < (1ull << 63) fail! LRUCache became inconsistent
Open
@JinheLin is already working on this.
Since Aug 4, 2025.
component/storage
severity/major
type/bug
- Dominant language
- C++
- Stars
- 1k
- Forks
- 423
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 24
Description
[2025/07/28 13:36:54.949 +08:00] [FATAL] [LRUCache.h:376] ["Assert current_weight < (1ull << 63) fail! LRUCache became inconsistent. There must be a bug in it."] [source=Fatal] [thread_id=19]
[2025/07/28 13:36:54.971 +08:00] [ERROR] [BaseDaemon.cpp:356] ["(from thread 19) Terminate called after throwing an instance of DB::Exception\nCode: 0, e.displayText() = DB::Exception: Assert current_weight < (1ull << 63) fail! LRUCache became inconsistent. There must be a bug in it., e.what() = DB::Exception\nStack trace:\n\n\n 0x55aafeae1db6\tterminate_handler() [tiflash+133365174]\n \tdbms/src/Common/StackTrace.cpp:23\n 0x7f19a2337473\tstd::__terminate(void (*)()) [libc++abi.so.1+226419]\n 0x7f19a2337428\tstd::terminate() [libc++abi.so.1+226344]\n 0x55aafa0cf821\tvoid DB::exception_details::logAndTerminate<char const*&>(char const*, int, char const*, std::__1::shared_ptr<DB::Logger> const&, char const*&) [tiflash+55695393]\n 0x55aafa0cf27b\tvoid DB::exception_details::logAndTerminate<>(char const*, int, char const*, char const*) [tiflash+55693947]\n 0x55aafea7a37a\tDB::LRUCache<DB::DM::Remote::RNMVCCIndexCache::CacheKey, DB::DM::Remote::RNMVCCIndexCache::CacheValue, DB::DM::Remote::RNMVCCIndexCache::CacheKeyHasher, DB::DM::Remote::RNMVCCIndexCache::CacheValueWeight>:"] [source=BaseDaemon] [thread_id=1084]
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.