Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
storage_scrubber: fix faulty assertion when no timelines (#9345)
When there are no timelines in remote storage, the storage scrubber would incorrectly trip an assertion with "Must be set if results are present", referring to the last processed tenant ID. When there are no timelines we don't expect there to be a tenant ID either. The assertion was introduced in 37aa6fd. Only apply the assertion when any timelines are present.
- Loading branch information
9dd80b9
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.
5182 tests run: 4965 passed, 0 failed, 217 skipped (full report)
Code coverage* (full report)
functions
:31.4% (7548 of 24012 functions)
lines
:49.3% (60360 of 122534 lines)
* collected from Rust tests only
9dd80b9 at 2024-10-10T15:09:45.843Z :recycle: