Skip to content

Commit

Permalink
Merge pull request #23517 from vbotbuildovich/backport-pr-23512-v24.2…
Browse files Browse the repository at this point in the history
….x-1

[v24.2.x] rptest: produce more data in FullDiskReclaimTest to trigger gc conditions
  • Loading branch information
nvartolomei authored Sep 30, 2024
2 parents 879499d + 2b33a1a commit 3bcf959
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions src/v/storage/disk_log_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion tests/rptest/tests/full_disk_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 3bcf959

Please sign in to comment.