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: [email protected]
For additional commands, e-mail: [email protected]