chore: ignore all compaction inactive tenant errors (#3665)

these are happening in tests because of #3655 but they sure took some
time to appear.

makes the `Compaction failed, retrying in 2s: Cannot run compaction
iteration on inactive tenant` into a globally allowed error, because it
has been seen failing on different test cases.
This commit is contained in:
Joonas Koivunen
2023-02-21 20:20:13 +02:00
parent 78aca668d0
commit 15273a9b66
2 changed files with 2 additions and 4 deletions

View File

@@ -2080,6 +2080,8 @@ class NeonPageserver(PgProtocol):
".*query handler for 'pagestream.*failed: Timeline .* was not found", # postgres reconnects while timeline_delete doesn't hold the tenant's timelines.lock()
".*query handler for 'pagestream.*failed: Timeline .* is not active", # timeline delete in progress
".*task iteration took longer than the configured period.*",
# this is until #3501
".*Compaction failed, retrying in [^:]+: Cannot run compaction iteration on inactive tenant",
]
def start(

View File

@@ -250,10 +250,6 @@ def test_pageserver_with_empty_tenants(
env.pageserver.allowed_errors.append(
".*could not load tenant.*Failed to list timelines directory.*"
)
# this is until #3501
env.pageserver.allowed_errors.append(
".*Compaction failed, retrying in 2s: Cannot run compaction iteration on inactive tenant"
)
client = env.pageserver.http_client()