Francisco Guerrero created CASSANDRASC-81: ---------------------------------------------
Summary: Improve TokenRangeReplicasResponse payload Key: CASSANDRASC-81 URL: https://issues.apache.org/jira/browse/CASSANDRASC-81 Project: Sidecar for Apache Cassandra Issue Type: Improvement Reporter: Francisco Guerrero Assignee: Francisco Guerrero The {{TokenRangeReplicasResponse}} returns {{ReplicaMetadata}}. This information is used by clients to lookup the metadata. The lookup is done with the replica information, which consists of the host {{ip:port}}. Clients are looping over the {{ReplicaMetadata}} list and matching IP and port to retrieve the metadata object. Instead, we can improve the payload by changing the data structure from a list to a map, and have clients lookup by the replica (ip + port), without having to loop. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org