Current state:
nodetool getendpoints -- keyspace table pk1:pk2:pk3
192.168.0.10
192.168.0.11
192.168.0.12
Desired:
nodetool getendpoints -- keyspace table pk1:pk2:pk3
192.168.0.10 10
192.168.0.11 10
192.168.0.12 10
10 above being the shard
I like this one - this in particular would allow mapping large_partitions/rows content to corresponding shard.
However the best would be to actually have the shard info in the large_partition/row to save the hassle.
@avikivity @slivne What do you think?
I wonder if the API actually exposes it
I don't think we can implement getendpoints because we don't know smp::count for other nodes.
We can add it to the local large* tables.
I like the idea of having this on large* tables as well. Let's go with this idea since Avi and Vlad are in agreement.
I don't think we can implement getendpoints because we don't know smp::count for other nodes.
We can add it to the local large* tables.
smp::count is gossiped by each node and we know it. It's used in CDC
@avikivity if we're going with having this information in a table, it would be an easy and extra nice UX to have the nodetool command output point the user towards that table
@haaawk
@haaawk - ping
@haaawk / @kbr- ping
Most helpful comment
I like the idea of having this on large* tables as well. Let's go with this idea since Avi and Vlad are in agreement.