Repository navigation
rgw: Close datalog write hole - #56499
Conversation
fd2f1bc to
ade3a6f
Compare
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
eb6c991 to
b1570cb
Compare
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
87c1016 to
4ea1c77
Compare
4ea1c77 to
4deb05c
Compare
600c530 to
95455d5
Compare
95455d5 to
2710fb4
Compare
cbodley
left a comment
There was a problem hiding this comment.
not done yet, but sharing initial review up to commit 'common/async: Non-blocking condition variable'
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
cbodley
left a comment
There was a problem hiding this comment.
more review, haven't gotten to the recovery bits yet
876025d to
c8b3e9f
Compare
This stores a collection of key-based semaphores, intended to serve as a backend to the project to close the datalog write-hole. Signed-off-by: Adam Emerson <[email protected]>
Signed-off-by: Adam Emerson <[email protected]>
Signed-off-by: Adam Emerson <[email protected]>
Signed-off-by: Casey Bodley <[email protected]>
Since we're plumbing the driver around and it's where our neorados handle lives. Signed-off-by: Adam C. Emerson <[email protected]>
Signed-off-by: Adam C. Emerson <[email protected]>
Rewrite all of `RGWDataChangesLog` and supporting classes to use non-blocking, C++20 coroutines. Make interfaces for `optional_yield` and `librados::AioCompletion`. Signed-off-by: Adam C. Emerson <[email protected]>
Signed-off-by: Adam C. Emerson <[email protected]>
Signed-off-by: Adam Emerson <[email protected]>
Except in one particular case. This is necessary to close the data replication write hole, so that if we fail to write to the semaphore set, the client will receive an error. Signed-off-by: Adam Emerson <[email protected]>
So we can reconstitute bucket shards from listings during recovery. Signed-off-by: Adam Emerson <[email protected]>
Increment in add_entry, decrement in renew_entry, and recover on startup. Signed-off-by: Adam Emerson <[email protected]>
Signed-off-by: Adam Emerson <[email protected]>
Signed-off-by: Adam Emerson <[email protected]>
Signed-off-by: Adam C. Emerson <[email protected]>
Also tests renew_entry, backend, and list. Signed-off-by: Adam Emerson <[email protected]>
Since, outside of testing, it's only called from stackful coroutines, for now. Signed-off-by: Adam Emerson <[email protected]>
This works fine on GCC11, which is the actual target we use for builds on Shaman. Signed-off-by: Adam Emerson <[email protected]>
Process shards piecewise. Send each set of shards in a window to the other RGWs and have them acknowledge having it or not. Signed-off-by: Adam Emerson <[email protected]>
This guards against an excess decrement in the sequence:
RGW_a: Fetch sem_set (see key 'foo')
RGW_b: run renew_entry ('foo' is no longer in `cur_cycle`)
RGW_a: notify (does not see 'foo' in response)
RGW_a: Decrements 'foo'
Signed-off-by: Adam Emerson <[email protected]>
Signed-off-by: Adam Emerson <[email protected]>
Signed-off-by: Adam C. Emerson <[email protected]>
Signed-off-by: Adam C. Emerson <[email protected]>
Signed-off-by: Adam Emerson <[email protected]>
|
@cbodley The multisite failures are the known ones we had discussed. |
|
jenkins test make check arm64 |
1 similar comment
|
jenkins test make check arm64 |
|
jenkins test make check |
|
jenkins test windows |
A specter is haunting RGW.
The specter of objects not syncing if RGW crashes between adding them to to the set of bucketshards to be refreshed and actually writing the entry into FIFO.
This PR will close that write hole.
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume toxjenkins test windowsjenkins test rook e2e