doc: review suggestions

Co-authored-by: Christian Schwarz <christian@neon.tech>
This commit is contained in:
Joonas Koivunen
2023-05-11 20:00:33 +03:00
parent 83457a848b
commit a9720349bb
2 changed files with 3 additions and 2 deletions

View File

@@ -1671,7 +1671,7 @@ impl Tenant {
Ok(())
}
// execute in the *winners* span so we will capture the request id etc.
// execute in the *winner's* span so we will capture the request id etc.
.instrument(span)
};

View File

@@ -391,13 +391,14 @@ def test_concurrent_timeline_delete_if_first_stuck_at_index_upload(
# release the pause
ps_http.configure_failpoints((failpoint_name, "off"))
# both should had succeeded
# both should had succeeded: the second call will coalesce with the already-ongoing first call
result = delete_results.get()
assert result == "success"
result = delete_results.get()
assert result == "success"
# the second call will try to transition the timeline into Stopping state, but it's already in that state
# (the transition to Stopping state is not part of the request coalescing, because Tenant and Timeline states are a mess already)
env.pageserver.allowed_errors.append(
f".*{child_timeline_id}.*Ignoring new state, equal to the existing one: Stopping"
)