[ 
https://issues.apache.org/jira/browse/CASSANDRA-7366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14028047#comment-14028047
 ] 

Aleksey Yeschenko commented on CASSANDRA-7366:
----------------------------------------------

bq. How does using the hostId makes that easier?

b/c then we can safely assume that there are no local/remote shards with this 
counterId (hostId) - because we know we only started using them in 2.1, and we 
only write global shards in 2.1. So we don't need to accumulate the value over 
all the existing tables (can stop at the most recent one).

> Use node's hostId instead of generating counterId-s
> ---------------------------------------------------
>
>                 Key: CASSANDRA-7366
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7366
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Aleksey Yeschenko
>            Assignee: Aleksey Yeschenko
>            Priority: Minor
>             Fix For: 2.1.0
>
>
> Now that we no longer renew, or have to renew, counter ids - we can/should 
> simply reuse the node's hostId.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to