When compaction is going to be running for a long time, we need a way to stop it if it is causing problems.
Can you add more details of what you mean by causing problems?
Compaction can be stopped if manually started (see image https://www.evernote.com/shard/s161/sh/e16f76d0-91b7-409b-9a40-f205e3dcd6f0/8cf0fd73a7a4c5de79c13f870fdc88fa ). I believe there is a REST API as well. I thought it was documented but may not be.
Assigning to Aliaksey to check on the REST API to stop compacting.
Yes, manual compaction can be cancelled.
If it's automatic compaction and you want to stop, you can do it by disabling autocompaction either globally or in bucket details.
if there is a REST API to cancel, can you please add the details here and assign to Karen for documentation? Thanks
I think I found them.
It would be great to have a button on the bucket to stop compaction regardless of whether it was automatically or manually started. The main problem I'm referring to is the fact that compaction adds quite a bit of disk IO and can impact the speed both of the disk writer and background fetches. if an application in production starts experiencing problems because of this we will want to stop compaction...and as part of usability/supportability, there should be an easy and obvious way to do that by the end user.
MC/Karen, could we get some documentation specifically on how to stop compaction until we have a button?
Sorry, just saw Dipti's screenshot. So can we just enable that button (and make it work obviously) when compaction is running automatically as well?
There's not much point manually stopping automatic compaction. It'll restart itself within 30 seconds. Right way is by disabling autocomaction if that's what you want.
Yeah, that makes enough sense now.
Docs, can we have a writeup on how to stop compaction effectively both the automatic and manual kind?
Stopping compaction per bucket available here:
Karen, I think we need a little more work on this one.
-Manual compaction can also be started and stopped through the UI
-How does one stop an automatic compaction?
Assign back to Alk to get information about manual compaction stopping process.
Per conversation with Anil, we should add a section on canceling compaction from the UI only (don't worry about REST, it's already there). Put in 2.5 and future versions.
Compaction management issue