// so that the second one can do so safely, without leaving us with references < 0 or any other ugliness
repairedSSTableWriter.finish(false, repairedAt);
unRepairedSSTableWriter.finish(ActiveRepairService.UNREPAIRED_SSTABLE);
// add repaired table with a non-null timestamp field to be saved in SSTableMetadata#repairedAt
anticompactedSSTables.addAll(repairedSSTableWriter.finished());
anticompactedSSTables.addAll(unRepairedSSTableWriter.finished());
}
catch (Throwable e)
{
logger.error("Error anticompacting " + sstable, e);
repairedSSTableWriter.abort();