mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-09 08:23:29 +00:00
Right now we pass a permit to the memtable writer and that permit is used insite write_memtable_to_sstable to compose a write_monitor. We would like to extend the write_monitor to include other things, that right now are not available as parameters to write_memtable_to_sstable - and which are possibly too specialized to be. The solution for that is to pass the write_monitor instead of the permit to the writer. Conceptually, that also makes sense because the write_monitor is something the sstable writer is aware of. Permits, on the other hand, are a database concept that is alien to the sstable writer. Signed-off-by: Glauber Costa <glauber@scylladb.com> Message-Id: <20170915032836.21154-1-glauber@scylladb.com>
195 KiB
195 KiB