nickva commented on code in PR #4718: URL: https://github.com/apache/couchdb/pull/4718#discussion_r1286023989
########## src/smoosh/src/smoosh_server.erl: ########## @@ -342,6 +345,8 @@ find_channel(#state{} = State, [Channel | Rest], Object) -> find_channel(State, Rest, Object) end. +stale_enough({?INDEX_CLEANUP, _}) -> + true; Review Comment: We're also triggering these during every shard compaction attempt, proportionally to the number of shards (so we'd roughly trigger once for each clustered db). That should be a low enough rate, it may be worth checking what it looks like a busy cluster. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@couchdb.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org