Handle invalid timestamp during data-compaction