Skip to content

Commit

Permalink
work around #8969
Browse files Browse the repository at this point in the history
  • Loading branch information
jcsp committed Oct 10, 2024
1 parent b1ee410 commit 491c9ee
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test_runner/performance/test_storage_controller_scale.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,11 @@ class Operation(str, Enum):
f"Created {len(tenants)} tenants in {time.time() - t1}, {len(tenants) / (time.time() - t1)}/s"
)

# Waiting for optimizer to stabilize, if it disagrees with scheduling (the correct behavior
# would be for original scheduling decisions to always match optimizer's preference)
# (workaround for https://github.com/neondatabase/neon/issues/8969)
env.storage_controller.reconcile_until_idle(timeout_secs=120)

# Create timelines in those tenants which are going to get one
t1 = time.time()
timeline_create_futs = []
Expand Down

0 comments on commit 491c9ee

Please sign in to comment.