You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Nitan Kainth <ni...@gmail.com> on 2019/01/23 16:00:18 UTC

Quick question about compaction progress

Hi,

Why does nodetool compactionstats not show time remaining when
compactionthroughput is set to 0?

If the node is restarted during compaction, does it continue from where it
is left or does it start over?

If it starts over, what happens to the new sstable that was being used for
compaction?

Re: Quick question about compaction progress

Posted by Nitan Kainth <ni...@gmail.com>.
Thank you Jeff


Regards,
Nitan
Cell: 510 449 9629

> On Jan 23, 2019, at 10:13 AM, Jeff Jirsa <jj...@gmail.com> wrote:
> 
> 
> 
>> On Jan 23, 2019, at 8:00 AM, Nitan Kainth <ni...@gmail.com> wrote:
>> 
>> Hi,
>> 
>> Why does nodetool compactionstats not show time remaining when compactionthroughput is set to 0?
> 
> Because we don’t have a good estimate if we’re not throttling (could be added, just not tracked now)
> 
>> 
>> If the node is restarted during compaction, does it continue from where it is left or does it start over? 
> 
> Starts over - the incomplete files on disk will be removed during startup as part of an incomplete lifecycle transaction
> 
>> 
>> If it starts over, what happens to the new sstable that was being used for compaction?
> 
> Removed.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@cassandra.apache.org
> For additional commands, e-mail: user-help@cassandra.apache.org
> 

Re: Quick question about compaction progress

Posted by Jeff Jirsa <jj...@gmail.com>.

> On Jan 23, 2019, at 8:00 AM, Nitan Kainth <ni...@gmail.com> wrote:
> 
> Hi,
> 
> Why does nodetool compactionstats not show time remaining when compactionthroughput is set to 0?

Because we don’t have a good estimate if we’re not throttling (could be added, just not tracked now)

> 
> If the node is restarted during compaction, does it continue from where it is left or does it start over? 

Starts over - the incomplete files on disk will be removed during startup as part of an incomplete lifecycle transaction

> 
> If it starts over, what happens to the new sstable that was being used for compaction?

Removed.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@cassandra.apache.org
For additional commands, e-mail: user-help@cassandra.apache.org