Repository navigation
Ensure read after write for segments - #1141
Conversation
71616ed to
9f15c2e
Compare
|
@lebauce : do you have an intuition for the time of the database to become consistent? I wonder if an exponential backoff (with jitter) would work better here? |
9f15c2e to
12b95be
Compare
|
@lebauce : the tests are failing |
|
@RichardScothern They fail because the test server incorrectly (part of ncw/swift) implement ETags for manifest. I'll fix it. |
|
@RichardScothern Regarding the time for the database to be consistent, I would say 2 to 3 seconds (that's what I observed on Rackspace Cloud Files) |
Signed-off-by: Sylvain Baubeau <[email protected]>
Signed-off-by: Sylvain Baubeau <[email protected]>
12b95be to
3ff8af3
Compare
|
LGTM |
|
@nevermosby : could you review? I would like a second pair of eyes on it |
|
@RichardScothern LGTM. But I'd like to wait for the feedback of #1013. |
|
@nevermosby We've been running this patch for three days now, and results look good! I'll keep this thread updated if I see the problem resurface. |
Ensure read after write for segments
|
👍 Thanks a lot for looking into this! You guys rock. |
|
Hello guys! How can I change those timeout settings(readAfterWriteTimeout, readAfterWriteWait)? Currently I've faced with the problem when using read/write affinity in my openstack/swift multi-region cluster: This happens because not all replicas are available for the GET requests straightaway and the proxy-server replyes with 503 error: Usually it takes about 1 or 2 seconds to move all object's replicas to their proper locations inside the cluster. |
…gment Ensure read after write for segments
…gment Ensure read after write for segments
When a manifest has been uploaded, some segments of this manifest may not appear in the object listing yet. The manifest would then report a wrong size. To avoid this, we check that a segment appears after it has been created.
Signed-off-by: Sylvain Baubeau [email protected]