Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v24.1.x] rptest: produce more data in FullDiskReclaimTest to trigger gc conditions #23515

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -410,6 +410,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 @@ -287,7 +287,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
Loading