You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Aleksey Yeschenko (Jira)" <ji...@apache.org> on 2026/05/15 11:02:00 UTC
[jira] [Created] (CASSANDRA-21377) Hold merkle trees on-disk instead of in-memory to avoid overwhelming repair coordination
Aleksey Yeschenko created CASSANDRA-21377:
---------------------------------------------
Summary: Hold merkle trees on-disk instead of in-memory to avoid overwhelming repair coordination
Key: CASSANDRA-21377
URL: https://issues.apache.org/jira/browse/CASSANDRA-21377
Project: Apache Cassandra
Issue Type: Improvement
Components: Consistency/Streaming
Reporter: Aleksey Yeschenko
In Cassandra today we have to hold the merkle trees in memory to perform the comparisons.
This puts a limit on how large our total repication factor can be, as a repair coordinator
needs to be able to hold RF merkle trees in memory at once to be able to perform the comparisons.
We could instead write all merkle trees to disk to a temporary space, simply mmap them when we need to read them for comparison. This would require minimum additional logic, since we already have the code to write and read MTs from via CASSANDRA-15202 work.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org