smoosh compaction extending beyond configured time #4762
-
I am using couch 3.3.2 and I am seeing that compaction end time is extending well beyond the end time of 03:00 - the configured time. Is there any other configuration I have missed that I should have added? [smoosh.ratio_dbs] |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
How do you tell the end time, by looking in _active_tasks? The auto-compaction service (smoosh) is enforcing its time window by suspending the Erlang process performing the actual compaction. So the processes may still show up in _active_tasks (I haven't verified it though yet). Another idea is that smoosh is using universal time (UTC) https://www.erlang.org/doc/man/calendar#universal_time-0 so try specifying the time window in UTC, to see if that's the reason. |
Beta Was this translation helpful? Give feedback.
How do you tell the end time, by looking in _active_tasks?
The auto-compaction service (smoosh) is enforcing its time window by suspending the Erlang process performing the actual compaction. So the processes may still show up in _active_tasks (I haven't verified it though yet).
Another idea is that smoosh is using universal time (UTC) https://www.erlang.org/doc/man/calendar#universal_time-0 so try specifying the time window in UTC, to see if that's the reason.