Revert "experiment: for create_delta_layer _write path_, use StdFs io engine in a spawn_blocking thread single-threaded runtime"

This reverts commit 4a8e7f8716.
This commit is contained in:
Christian Schwarz
2024-03-13 15:09:06 +00:00
parent 1339834297
commit c9d1f51a93
7 changed files with 31 additions and 41 deletions

View File

@@ -200,7 +200,7 @@ def wait_for_last_record_lsn(
lsn: Lsn,
) -> Lsn:
"""waits for pageserver to catch up to a certain lsn, returns the last observed lsn."""
for i in range(10000):
for i in range(100):
current_lsn = last_record_lsn(pageserver_http, tenant, timeline)
if current_lsn >= lsn:
return current_lsn