db: commitlog: remove unused max_active_writes()

Dead and misleading code.

Closes #12327
This commit is contained in:
Michał Chojnowski
2022-12-15 11:59:26 +01:00
committed by Botond Dénes
parent 327539b15d
commit b52bd9ef6a
2 changed files with 1 additions and 15 deletions

View File

@@ -98,9 +98,8 @@ public:
// Max number of segments to keep in pre-alloc reserve.
// Not (yet) configurable from scylla.conf.
uint64_t max_reserve_segments = 12;
// Max active writes/flushes. Default value
// Max active flushes. Default value
// zero means try to figure it out ourselves
uint64_t max_active_writes = 0;
uint64_t max_active_flushes = 0;
sync_mode mode = sync_mode::PERIODIC;
@@ -307,10 +306,6 @@ public:
*/
size_t max_record_size() const;
/**
* Return max allowed pending writes (per this shard)
*/
uint64_t max_active_writes() const;
/**
* Return max allowed pending flushes (per this shard)
*/