Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(pageserver): schedule compaction immediately if pending (#10684)
## Problem The code is intended to reschedule compaction immediately if there are pending tasks. We set the duration to 0 before if there are pending tasks, but this will go through the `if period == Duration::ZERO {` branch and sleep for another 10 seconds. ## Summary of changes Set duration to 1 so that it doesn't sleep for too long. Signed-off-by: Alex Chi Z <[email protected]>
- Loading branch information
0ceeec9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
7576 tests run: 7212 passed, 2 failed, 362 skipped (full report)
Failures on Postgres 16
test_ingest_logical_message[github-actions-selfhosted-fsync-1024]
: release-x86-64-with-lfctest_layer_map[github-actions-selfhosted]
: release-x86-64-with-lfcFlaky tests (1)
Postgres 17
test_issue_5878[same_generation]
: debug-x86-64-without-lfcCode coverage* (full report)
functions
:33.2% (8577 of 25805 functions)
lines
:49.0% (72127 of 147058 lines)
* collected from Rust tests only
0ceeec9 at 2025-02-06T00:45:11.708Z :recycle: