Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
storage controller: fix handing of tenants with no timelines during s…
…cheduling optimization (#7673) ## Problem Storage controller was using a zero layer count in SecondaryProgress as a proxy for "not initialized". However, in tenants with zero timelines (a legitimate state), the layer count remains zero forever. This caused #7583 to destabilize the storage controller scale test, which creates lots of tenants, some of which don't get any timelines. ## Summary of changes - Use a None mtime instead of zero layer count to determine if a SecondaryProgress should be ignored. - Adjust the test to use a shorter heatmap upload period to let it proceed faster while waiting for scheduling optimizations to complete.
- Loading branch information
107f535
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.
3105 tests run: 2959 passed, 0 failed, 146 skipped (full report)
Flaky tests (1)
Postgres 15
test_gc_aggressive
: debugCode coverage* (full report)
functions
:31.4% (6314 of 20126 functions)
lines
:47.3% (47593 of 100686 lines)
* collected from Rust tests only
107f535 at 2024-05-09T12:57:00.120Z :recycle: