Warn when background tasks exceed their configured period (#3654)

Fixes #3648.
This commit is contained in:
Joonas Koivunen
2023-02-21 13:02:19 +02:00
committed by GitHub
parent 5c5b03ce08
commit 7de373210d
3 changed files with 47 additions and 27 deletions

View File

@@ -2079,6 +2079,7 @@ class NeonPageserver(PgProtocol):
".*compaction_loop.*Compaction failed, retrying in.*timeline is Stopping", # When compaction checks timeline state after acquiring layer_removal_cs
".*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.*",
]
def start(