This reverts commit 2860d43309, reversing changes made to a3621dbd3e. Reverting because rest_api.test_compaction_task started failing after this was merged. Fixes: #16005
2860d43309
a3621dbd3e
tests