SStables: put memtable replay_position in metadata on write

This commit is contained in:
Calle Wilund
2015-08-19 18:17:03 +02:00
parent bbf82e80d0
commit c0018f85e9

View File

@@ -1308,6 +1308,7 @@ void sstable::prepare_write_components(::mutation_reader mr, uint64_t estimated_
}
future<> sstable::write_components(const memtable& mt) {
_collector.set_replay_position(mt.replay_position());
return write_components(mt.make_reader(),
mt.partition_count(), mt.schema());
}