I'd like to have offline compaction return a failure code in case of any error happening during the process (like an OOME). this would help greatly with scripting efforts for automated maintenance operations.
Other ideas worth pursuing:
- a one line status at the end of the process: "Compaction succeeded in XXX min" or "Compaction failed in XXX mins".
- a better directory listing pre and post compaction (sorted list, and possibly including the last modified date).
- bonus points for delta output (tar files removed, tar files added).