Re: How does a node know it's fully joined to the ring?

2017-01-05 Thread Eric Stevens
Perfect, thanks! On Thu, Jan 5, 2017 at 2:26 PM Brandon Williams wrote: > We don't bind thrift/CQL until bootstrap is complete, so that's not > possible. But, if you want to be sure, you can check > StorageService.isRPCServerRunning and isNativeTransportRunning. > > On Thu, Jan 5, 2017 at 3:17

Re: How does a node know it's fully joined to the ring?

2017-01-05 Thread Brandon Williams
We don't bind thrift/CQL until bootstrap is complete, so that's not possible. But, if you want to be sure, you can check StorageService.isRPCServerRunning and isNativeTransportRunning. On Thu, Jan 5, 2017 at 3:17 PM, Eric Stevens wrote: > Thanks for the quick response. > > Looking at it, I'm no

Re: How does a node know it's fully joined to the ring?

2017-01-05 Thread Eric Stevens
Thanks for the quick response. Looking at it, I'm not sure if it's quite the right thing for me. Maybe I used the wrong terminology; it actually doesn't matter if the node is still bootstrapping, as long as it could query other nodes in the cluster. On Thu, Jan 5, 2017 at 1:03 PM Brandon William

Re: How does a node know it's fully joined to the ring?

2017-01-05 Thread Brandon Williams
Probably want to do something like SystemKeyspace.bootstrapComplete() On Thu, Jan 5, 2017 at 1:58 PM, Eric Stevens wrote: > I'm working on a bug report in my Deleting Compaction Strategy project. > > Some of the provided deletion strategies allow for a series of deletion > rules to be added to a

How does a node know it's fully joined to the ring?

2017-01-05 Thread Eric Stevens
I'm working on a bug report in my Deleting Compaction Strategy project. Some of the provided deletion strategies allow for a series of deletion rules to be added to a CQL table, before compaction begins, a snapshot of the current rules are read out of the CQL table and a deletion plan is produced