rgw: ContinuousLeaseCR uses LOCK_FLAG_MUST_RENEW to detect timeouts and racing lockers#47809
rgw: ContinuousLeaseCR uses LOCK_FLAG_MUST_RENEW to detect timeouts and racing lockers#47809
Conversation
|
can you please provide an example of usage for the new ctor (rgw_sync.cc or rgw_data_sync.cc)? |
|
added a commit that starts on RGWContinuousLeaseCR integration. it's not complete but should be useful as an example |
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
this allows the caller to override the default set_may_renew(true) Signed-off-by: Casey Bodley <cbodley@redhat.com>
0c88e3c to
57fd2b4
Compare
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Signed-off-by: Casey Bodley <cbodley@redhat.com>
turns late lock renewals into EBUSY errors, and moves the warning message into that error case Signed-off-by: Casey Bodley <cbodley@redhat.com>
57fd2b4 to
785cfdc
Compare
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
|
i was planning to revisit this one after multisite stabilization and sync fairness |
|
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! |
allow
SimpleRadosLock/UnlockCRs to takerados::cls::lock::Lockdirectly, so that callers likeContinuousLeaseCRcan overrideset_may_renew()/set_must_renew().ContinuousLeaseCRusesset_must_renew()to raiseEBUSYerrors if a renewal request is processed after expirationShow 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