instrument shutdown_all_tenants code path, include timeline_id in logs if failed to flush

This can be extracted into an independent commit.
This commit is contained in:
Christian Schwarz
2023-05-26 10:11:46 +02:00
parent f2abc4c933
commit 609a929968
4 changed files with 15 additions and 9 deletions

View File

@@ -272,7 +272,7 @@ def test_timeline_delete_fail_before_local_delete(neon_env_builder: NeonEnvBuild
".*Ignoring new state, equal to the existing one: Stopping"
)
env.pageserver.allowed_errors.append(
".*during shutdown: cannot flush frozen layers when flush_loop is not running, state is Exited"
".*shutdown_pageserver:.*freeze_and_flush.*cannot flush frozen layers when flush_loop is not running, state is Exited"
)
ps_http = env.pageserver.http_client()