diff --git a/sstables/compaction.cc b/sstables/compaction.cc index e4ca7e47fd..feadb274a5 100644 --- a/sstables/compaction.cc +++ b/sstables/compaction.cc @@ -63,7 +63,7 @@ future<> compact_sstables(std::vector sstables, auto newtab = creator(); future<> write_done = newtab->write_components( std::move(mutation_queue_reader), estimated_parititions, schema).then([newtab] { - return newtab->load(); + return newtab->load().then([newtab] {}); }); // Wait for both read_done and write_done fibers to finish.