Re: How to confirm TWCS is fully in-place

2016-11-09 Thread Lahiru Gamathige
Hi Kurt,

Thanks !

Lahiru

On Wed, Nov 9, 2016 at 12:02 AM, kurt Greaves  wrote:

> What compaction strategy are you migrating from? If you're migrating from
> STCS it's likely that when switching to TWCS no extra compactions are
> necessary, as the SSTables will be put into their respective windows but
> there won't be enough candidates for compaction within a window.
>
> Kurt Greaves
> k...@instaclustr.com
> www.instaclustr.com
>
> On 8 November 2016 at 21:11, Oskar Kjellin 
> wrote:
>
>> Hi,
>>
>> You could manually trigger it with nodetool compact.
>>
>> /Oskar
>>
>> > On 8 nov. 2016, at 21:47, Lahiru Gamathige  wrote:
>> >
>> > Hi Users,
>> >
>> > I am thinking of migrating our timeseries tables to use TWCS. I am
>> using JMX to set the new compaction and one node at a time and I am not
>> sure how to confirm that after the flush all the compaction is done in each
>> node. I tried this in a small cluster but after setting the compaction I
>> didn't see any compaction triggering  and ran nodetool flush and still
>> didn't see a compaction triggering.
>> >
>> > Now I am about to do the same thing in our staging cluster, so curious
>> how do I confirm compaction ran in each node before I change the table
>> schema because I am worried it will start the compaction in all the nodes
>> at the same time.
>> >
>> > Lahiru
>>
>
>


Re: How to confirm TWCS is fully in-place

2016-11-09 Thread kurt Greaves
What compaction strategy are you migrating from? If you're migrating from
STCS it's likely that when switching to TWCS no extra compactions are
necessary, as the SSTables will be put into their respective windows but
there won't be enough candidates for compaction within a window.

Kurt Greaves
k...@instaclustr.com
www.instaclustr.com

On 8 November 2016 at 21:11, Oskar Kjellin  wrote:

> Hi,
>
> You could manually trigger it with nodetool compact.
>
> /Oskar
>
> > On 8 nov. 2016, at 21:47, Lahiru Gamathige  wrote:
> >
> > Hi Users,
> >
> > I am thinking of migrating our timeseries tables to use TWCS. I am using
> JMX to set the new compaction and one node at a time and I am not sure how
> to confirm that after the flush all the compaction is done in each node. I
> tried this in a small cluster but after setting the compaction I didn't see
> any compaction triggering  and ran nodetool flush and still didn't see a
> compaction triggering.
> >
> > Now I am about to do the same thing in our staging cluster, so curious
> how do I confirm compaction ran in each node before I change the table
> schema because I am worried it will start the compaction in all the nodes
> at the same time.
> >
> > Lahiru
>


Re: How to confirm TWCS is fully in-place

2016-11-08 Thread Oskar Kjellin
Hi,

You could manually trigger it with nodetool compact. 

/Oskar 

> On 8 nov. 2016, at 21:47, Lahiru Gamathige  wrote:
> 
> Hi Users,
> 
> I am thinking of migrating our timeseries tables to use TWCS. I am using JMX 
> to set the new compaction and one node at a time and I am not sure how to 
> confirm that after the flush all the compaction is done in each node. I tried 
> this in a small cluster but after setting the compaction I didn't see any 
> compaction triggering  and ran nodetool flush and still didn't see a 
> compaction triggering.
> 
> Now I am about to do the same thing in our staging cluster, so curious how do 
> I confirm compaction ran in each node before I change the table schema 
> because I am worried it will start the compaction in all the nodes at the 
> same time.
> 
> Lahiru


How to confirm TWCS is fully in-place

2016-11-08 Thread Lahiru Gamathige
Hi Users,

I am thinking of migrating our timeseries tables to use TWCS. I am using
JMX to set the new compaction and one node at a time and I am not sure how
to confirm that after the flush all the compaction is done in each node. I
tried this in a small cluster but after setting the compaction I didn't see
any compaction triggering  and ran nodetool flush and still didn't see a
compaction triggering.

Now I am about to do the same thing in our staging cluster, so curious how
do I confirm compaction ran in each node before I change the table schema
because I am worried it will start the compaction in all the nodes at the
same time.

Lahiru