Query Active Shards

35 views
Skip to first unread message

shoop

unread,
Oct 14, 2019, 3:50:14 PM10/14/19
to M3
I have a three node cluster that is performing a peer bootstrap.  It seems to be taking a very long time.  Is there a way to query the active shards available or any way to determine the progress of the bootstrap?

Thanks!

orsucara

unread,
Nov 19, 2019, 4:26:04 AM11/19/19
to M3
It seems there are not too many people here answering questions.


On Monday, October 14, 2019 at 9:50:14 PM UTC+2, shoop wrote:
I have a three node cluster that is performing a peer bootstrap.  It seems to be taking a very long time.  Is there a way to query the active shards available or any way to determine the progress of the bootstrap?
 
when I do an

curl http://localhost:7201/api/v1/placement

I get the status of all the shards of every node:

{"placement":{"instances":{"mym3node0101":{"id":"mym3node01","isolationGroup":"rack01","zone":"embedded","weight":100,"endpoint":"100.101.102.103:9000","shards":[{"id":0,"state":"INITIALIZING","sourceId":"","cutoverNanos":"0","cutoffNanos":"0"},{"id":1,"state":"INITIALIZING","sourceId":"","cutoverNanos":"0","cutoffNanos":"0"},{"id":2,"state":"INITIALIZING","sourceId":"","cutoverNanos":"0","cutoffNanos":"0"},{"id":3,"state":"INITIALIZING","sourceId":"","cutoverNanos":"0","cutoffNanos":"0"},
...

Maybe this is already what you want... It does not show progress though (in my case initialization does not work, so all shards are still in "INITIALIZING" state)...
Reply all
Reply to author
Forward
0 new messages