Repository navigation
Conversation
|
for the bilog updates, we batch up dir suggest updates for each shard and call aio_operate() on them in we need something similar for datalog entry updates corresponding to those shards. there is an AioCompletion version of FIFO push added by @adamemerson in https://github.com/ceph/ceph/blob/main/src/rgw/driver/rados/cls_fifo_legacy.cc#L1611 |
|
@cbodley I have some bullet points added here from whatever I have gathered about async datalog push after going through the code and from our meetings: please take a look. |
Signed-off-by: Shilpa Jagannath <[email protected]>
ff82b99 to
2ffe6d9
Compare
| } | ||
|
|
||
| for (auto shard_id : shards) { | ||
| // int r = datalog->add_entry_aio(dpp, bucket_info, logs.back(), shard_id, c, y); |
There was a problem hiding this comment.
@cbodley I still need to construct a completion object and pass it into add_entry_aio() here
does this need to be a coroutine function where I can call create_completion_notifier()?
There was a problem hiding this comment.
@adamemerson we'd like your opinion on this. i need to construct and pass in a completion object here, and I think we'd want to get its return value if there is an error. is it required to put this in a coroutine like you've done for datalog trim_entries().
There was a problem hiding this comment.
If you want to act on the error rather than simply returning it to the caller, you'll need a state machine like GenTrim.
If you just want to return an error code to the caller and you're done, you should be able to pass the caller's AioCompletion in.
There was a problem hiding this comment.
thanks @adamemerson.
it looks like we don't care about what happens to the bilog suggested updates. we seem to simply fire them off. I don't think we need to care about handling datalog op failures either @cbodley
|
This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days. |
|
This pull request has been automatically closed because there has been no activity for 90 days. Please feel free to reopen this pull request (or open a new one) if the proposed change is still appropriate. Thank you for your contribution! |
https://tracker.ceph.com/issues/63235
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. "pacific"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
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 windows