mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-25 19:10:42 +00:00
It is incorrect to update row_cache with a memtable that is also its underlying storage. The reason for that is that after memtable is merged into row_cache they share lsa region. Then when there is a cache miss it asks underlying storage for data. This will result with memtable reader running under row_cache allocation section. Since memtable reader also uses allocation section the result is an assertion fault since allocation sections from the same lsa region cannot be nested. Signed-off-by: Paweł Dziepak <pdziepak@scylladb.com>
10 KiB
10 KiB