Currently, if the compact does not meet any of the compact algorithm's conditions, we report back bytesFreed = 0.
It would be helpful to report back the information that is helpful to understand why the compact decided not to compact anything. Be it files too small (less than 1 MB), files where we are unlikely to recover 10% of the file or any other reason for that matter (since the compact algorithm could change over time).
- duplicates
-
SERVER-54196 WiredTiger compact command does not compact data when it does not meet the compact condition
- Closed
- is related to
-
SERVER-54196 WiredTiger compact command does not compact data when it does not meet the compact condition
- Closed