You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Marcus Eriksson (Jira)" <ji...@apache.org> on 2026/03/17 15:07:00 UTC

[jira] [Created] (CASSANDRA-21224) Cost of deserializing cluster metadata may become prohibitive with a large number of peers

Marcus Eriksson created CASSANDRA-21224:
-------------------------------------------

             Summary: Cost of deserializing cluster metadata may become prohibitive with a large number of peers
                 Key: CASSANDRA-21224
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-21224
             Project: Apache Cassandra
          Issue Type: Improvement
            Reporter: Marcus Eriksson
            Assignee: Marcus Eriksson


When building the Directory component of ClusterMetadata, the entire set of nodes is traversed to calculate the min, max and common serialization versions. Deserializing a directory from a set of bytes (e.g. when reading a snapshot from the system table or off the wire) is inefficient and creates a new temporary Directory instance each time a node is added. In large clusters this may have a noticeable effect on loading time.



--
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