mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-24 02:20:37 +00:00
commitlog_test: Add test for deadlock in recycle waiter
Not a very good test, mind you. Nothing to verify, just see if the test times out. But try to make it at least complete for failure report.
This commit is contained in:
@@ -2449,6 +2449,14 @@ std::vector<sstring> db::commitlog::get_active_segment_names() const {
|
||||
return _segment_manager->get_active_names();
|
||||
}
|
||||
|
||||
uint64_t db::commitlog::disk_limit() const {
|
||||
return _segment_manager->max_disk_size;
|
||||
}
|
||||
|
||||
uint64_t db::commitlog::disk_footprint() const {
|
||||
return _segment_manager->totals.total_size_on_disk;
|
||||
}
|
||||
|
||||
uint64_t db::commitlog::get_total_size() const {
|
||||
return _segment_manager->totals.active_size_on_disk + _segment_manager->totals.buffer_list_bytes;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user