Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nodetool: compact: add --offstrategy option #269

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bhalevy
Copy link
Member

@bhalevy bhalevy commented Jul 26, 2021

To trigger offstrategy compaction. e.g. immediately after repair completes.
Otherwise, it is auto-triggered after a 5 minutes idle timeout.

Depends on scylladb/scylla-jmx#172 and (indirectly) on scylladb/scylladb#9095

Signed-off-by: Benny Halevy [email protected]

@bhalevy bhalevy force-pushed the trigger_offstrategy_compaction branch from 012c7c2 to 1f79949 Compare July 26, 2021 12:40
@penberg
Copy link
Contributor

penberg commented Jul 30, 2021

@bhalevy @tzach Would not adding a flag to nodetool compact make more sense for discoverability?

@asias
Copy link
Contributor

asias commented Jul 30, 2021

@bhalevy @tzach Would not adding a flag to nodetool compact make more sense for discoverability?

I think so. In most of the cases, user will not call nodetool triggeroffstrategycompaction at all. The cluster will trigger it automatically. In practice, the 5 minutes automatic timeout is supposed to be much less than the repair time.

@raphaelsc
Copy link
Member

raphaelsc commented Jul 30, 2021 via email

To trigger offstrategy compaction. e.g. immediately after repair completes.
Otherwise, it is auto-triggered after a 5 minutes idle timeout.

Signed-off-by: Benny Halevy <[email protected]>
@bhalevy bhalevy force-pushed the trigger_offstrategy_compaction branch from 1f79949 to 41733e9 Compare August 1, 2021 11:15
@bhalevy bhalevy changed the title nodetool: add triggeroffstrategycompaction nodetool: compact: add --offstrategy option Aug 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants