[
https://issues.apache.org/jira/browse/CASSANDRA-197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12747108#action_12747108
]
Jonathan Ellis commented on CASSANDRA-197:
------------------------------------------
private static Logger LOG = Logger.getLogger(RingCache.class);
can we make this final and rename to "logger" for consistency w/ the rest of
the code base?
EndPoint[] endPoints =
nodePicker_.getStorageEndPoints(partitioner_.getToken(key));
return endPoints;
just "return nodePicker_.getStorageEndPoints(partitioner_.getToken(key))" is
fine now that retrofitports is unnecessary.
these are minor, so +1 on committing w/o a new patch.
> Expose ring map to client for more direct access
> ------------------------------------------------
>
> Key: CASSANDRA-197
> URL: https://issues.apache.org/jira/browse/CASSANDRA-197
> Project: Cassandra
> Issue Type: New Feature
> Components: Core
> Reporter: Jun Rao
> Assignee: Jun Rao
> Attachments: flexjson.jar, issue197.patchv1, patch197.v2, patch197.v3
>
>
> For certain applications, it would be nice if a read is sent to a node that
> owns the data locally. This saves an extra network hop. To do that, a client
> will need to cache the ring map and use it to figure out the nodes owning a
> row.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.