diff --git a/src/v/storage/disk_log_impl.cc b/src/v/storage/disk_log_impl.cc index 995f37f09555..dc76a587ffd3 100644 --- a/src/v/storage/disk_log_impl.cc +++ b/src/v/storage/disk_log_impl.cc @@ -404,6 +404,12 @@ disk_log_impl::request_eviction_until_offset(model::offset max_offset) { _eviction_monitor.reset(); co_return model::next_offset(max_offset); + } else { + vlog( + gclog.debug, + "[{}] no segments to evict up to {} offset; skipping eviction", + config().ntp(), + max_offset); } co_return _start_offset; diff --git a/tests/rptest/tests/full_disk_test.py b/tests/rptest/tests/full_disk_test.py index f9b6292ea1fb..6cea5dd66160 100644 --- a/tests/rptest/tests/full_disk_test.py +++ b/tests/rptest/tests/full_disk_test.py @@ -288,7 +288,7 @@ def observed_data_size(pred): return pred(observed_total) # write around 30 megabytes into the topic - produce_total_bytes(self.redpanda, self.topic, nbytes(30)) + produce_total_bytes(self.redpanda, self.topic, nbytes(100)) # wait until all that data shows up. add some fuzz factor to avoid # timeouts due to placement skew or other such issues.