You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Paul Pollack <pa...@klaviyo.com> on 2017/10/20 16:57:28 UTC
What is a node's "counter ID?"
Hi,
I was reading the doc page for nodetool cleanup
https://docs.datastax.com/en/cassandra/2.1/cassandra/tools/toolsCleanup.html
because I was planning to run it after replacing a node in my counter
cluster and the sentence "Cassandra assigns a new counter ID to the node"
gave me pause. I can't find any other reference to a node's counter ID in
the docs and was wondering if anyone here could shed light on what this
means, and how it would affect the data being stored on a node that had its
counter ID changed?
Thanks,
Paul
Re: What is a node's "counter ID?"
Posted by Paul Pollack <pa...@klaviyo.com>.
Makes sense, thanks Blake!
On Fri, Oct 20, 2017 at 9:17 PM, Blake Eggleston <be...@apple.com>
wrote:
> I believe that’s just referencing a counter implementation detail. If I
> remember correctly, there was a fairly large improvement of the
> implementation of counters in 2.1, and the assignment of the id would
> basically be a format migration.
>
>
> On Oct 20, 2017, at 9:57 AM, Paul Pollack <pa...@klaviyo.com>
> wrote:
>
> Hi,
>
> I was reading the doc page for nodetool cleanup
> https://docs.datastax.com/en/cassandra/2.1/cassandra/tools/
> toolsCleanup.html because I was planning to run it after replacing a node
> in my counter cluster and the sentence "Cassandra assigns a new counter ID
> to the node" gave me pause. I can't find any other reference to a node's
> counter ID in the docs and was wondering if anyone here could shed light on
> what this means, and how it would affect the data being stored on a node
> that had its counter ID changed?
>
> Thanks,
> Paul
>
>
Re: What is a node's "counter ID?"
Posted by Blake Eggleston <be...@apple.com>.
I believe that’s just referencing a counter implementation detail. If I remember correctly, there was a fairly large improvement of the implementation of counters in 2.1, and the assignment of the id would basically be a format migration.
> On Oct 20, 2017, at 9:57 AM, Paul Pollack <pa...@klaviyo.com> wrote:
>
> Hi,
>
> I was reading the doc page for nodetool cleanup https://docs.datastax.com/en/cassandra/2.1/cassandra/tools/toolsCleanup.html because I was planning to run it after replacing a node in my counter cluster and the sentence "Cassandra assigns a new counter ID to the node" gave me pause. I can't find any other reference to a node's counter ID in the docs and was wondering if anyone here could shed light on what this means, and how it would affect the data being stored on a node that had its counter ID changed?
>
> Thanks,
> Paul