Skip to content

nautilus: rgw multisite: set entry to lc index of slave when syncing#33524

Closed
IlsooByun wants to merge 1 commit intoceph:nautilusfrom
IlsooByun:sync_lc_index
Closed

nautilus: rgw multisite: set entry to lc index of slave when syncing#33524
IlsooByun wants to merge 1 commit intoceph:nautilusfrom
IlsooByun:sync_lc_index

Conversation

@IlsooByun
Copy link
Contributor

Fixes: https://tracker.ceph.com/issues/44268
Signed-off-by: Ilsoo Byun ilsoobyun@linecorp.com

Checklist

  • References tracker ticket
  • Updates documentation if necessary
  • Includes tests for new functionality or reproducer for bug

Show available Jenkins commands
  • jenkins retest this please
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard backend
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox

Signed-off-by: Ilsoo Byun <ilsoobyun@linecorp.com>
@IlsooByun IlsooByun changed the title nautilus: rgw multisite: set lc entry to lc index of slave nautilus: rgw multisite: set entry to lc index of slave when syncing Feb 27, 2020
@smithfarm smithfarm added this to the nautilus milestone Mar 10, 2020
@smithfarm
Copy link
Contributor

jenkins test make check

@smithfarm smithfarm added the rgw label Mar 19, 2020
@smithfarm
Copy link
Contributor

@IlsooByun Can you explain - in the commit message, not in a PR comment - why it is not feasible to fix the issue in master/octopus, first, and then cherry-pick it from there to nautilus?

Copy link
Contributor

@smithfarm smithfarm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not clear why it's not a cherry-pick from master

@IlsooByun
Copy link
Contributor Author

@IlsooByun Can you explain - in the commit message, not in a PR comment - why it is not feasible to fix the issue in master/octopus, first, and then cherry-pick it from there to nautilus?

Sorry for the confusion. Since I am currently using Nautilus in my cluster, I made a patch for Nautilus. I have not yet tested this patch on the master. Would it be better to rewrite this patch for the master?

@cbodley
Copy link
Contributor

cbodley commented Apr 9, 2020

Would it be better to rewrite this patch for the master?

yes please! we do all development and testing on master, and backport from there as necessary

@smithfarm
Copy link
Contributor

adding DNM until:

@smithfarm
Copy link
Contributor

The master PR #34553 is still open, and is going stale. If and when it merges, we can rely on the regular backporting workflows to create the nautilus backport PR correctly, because the ticket https://tracker.ceph.com/issues/44268 is marked for backport to nautilus. Closing as premature.

@smithfarm smithfarm closed this Jul 17, 2020
mattbenjamin added a commit to linuxbox2/ceph that referenced this pull request Jul 5, 2022
The basic idea of this change is the same as the proposal by
Ilsoo Byun <ilsoobyun@linecorp.com>, but some details have changed.

The main differences are to use the existing RGWLC::set(remove)_bucket_config
methods, and to use the RGWBucketInstanceMetadataHandler infrastructue to dispatch
the corresponding calls.  Thank you!

Fixes: https://tracker.ceph.com/issues/44268
Related PR: ceph#33524

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
mattbenjamin added a commit to linuxbox2/ceph that referenced this pull request Jul 5, 2022
The basic idea of this change is the same as the proposal by
Ilsoo Byun <ilsoobyun@linecorp.com>, but some details have changed.

The main differences are to use the existing
RGWLC::set(remove)_bucket_config methods, and to use the
RGWBucketInstanceMetadataHandler infrastructue to dispatch
the corresponding calls.  Thank you!

Fixes: https://tracker.ceph.com/issues/44268
Related PR: ceph#33524

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
mattbenjamin added a commit to linuxbox2/ceph that referenced this pull request Jul 15, 2022
The basic idea of this change is the same as the proposal by
Ilsoo Byun <ilsoobyun@linecorp.com>, but some details have changed.

The main differences are to use the existing
RGWLC::set(remove)_bucket_config methods, and to use the
RGWBucketInstanceMetadataHandler infrastructue to dispatch
the corresponding calls.  Thank you!

Fixes: https://tracker.ceph.com/issues/44268
Related PR: ceph#33524

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
mattbenjamin added a commit to linuxbox2/ceph that referenced this pull request Jul 17, 2022
The basic idea of this change is the same as the proposal by
Ilsoo Byun <ilsoobyun@linecorp.com>, but some details have changed.

The main differences are to use the existing
RGWLC::set(remove)_bucket_config methods, and to use the
RGWBucketInstanceMetadataHandler infrastructue to dispatch
the corresponding calls.  Thank you!

Fixes: https://tracker.ceph.com/issues/44268
Related PR: ceph#33524

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
mkogan1 pushed a commit to mkogan1/ceph that referenced this pull request Jul 21, 2022
The basic idea of this change is the same as the proposal by
Ilsoo Byun <ilsoobyun@linecorp.com>, but some details have changed.

The main differences are to use the existing
RGWLC::set(remove)_bucket_config methods, and to use the
RGWBucketInstanceMetadataHandler infrastructue to dispatch
the corresponding calls.  Thank you!

This downstream backport borrows code from the upstream Role
replication work by Pritha Srivastava <prsrivas@redhat.com>,
which allows to access an rgw::sal::Store (here RGWRadosStore)
from a metadata handler.

Fixes: https://tracker.ceph.com/issues/44268
Related PR: ceph#33524
Resolves: rhbz#2095670

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
(cherry picked from commit 2ee2266)
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
mkogan1 pushed a commit to mkogan1/ceph that referenced this pull request Aug 7, 2022
The basic idea of this change is the same as the proposal by
Ilsoo Byun <ilsoobyun@linecorp.com>, but some details have changed.

The main differences are to use the existing
RGWLC::set(remove)_bucket_config methods, and to use the
RGWBucketInstanceMetadataHandler infrastructue to dispatch
the corresponding calls.  Thank you!

This downstream backport borrows code from the upstream Role
replication work by Pritha Srivastava <prsrivas@redhat.com>,
which allows to access an rgw::sal::Store (here RGWRadosStore)
from a metadata handler.

Fixes: https://tracker.ceph.com/issues/44268
Related PR: ceph#33524
Resolves: rhbz#2095670

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
(cherry picked from commit 2ee2266)
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
mkogan1 pushed a commit to mkogan1/ceph that referenced this pull request Sep 26, 2022
The basic idea of this change is the same as the proposal by
Ilsoo Byun <ilsoobyun@linecorp.com>, but some details have changed.

The main differences are to use the existing
RGWLC::set(remove)_bucket_config methods, and to use the
RGWBucketInstanceMetadataHandler infrastructue to dispatch
the corresponding calls.  Thank you!

This downstream backport borrows code from the upstream Role
replication work by Pritha Srivastava <prsrivas@redhat.com>,
which allows to access an rgw::sal::Store (here RGWRadosStore)
from a metadata handler.

Fixes: https://tracker.ceph.com/issues/44268
Related PR: ceph#33524
Resolves: rhbz#2095670

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
(cherry picked from commit 2ee2266)
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Pegonzal pushed a commit that referenced this pull request Oct 13, 2022
The basic idea of this change is the same as the proposal by
Ilsoo Byun <ilsoobyun@linecorp.com>, but some details have changed.

The main differences are to use the existing
RGWLC::set(remove)_bucket_config methods, and to use the
RGWBucketInstanceMetadataHandler infrastructue to dispatch
the corresponding calls.  Thank you!

Fixes: https://tracker.ceph.com/issues/44268
Related PR: #33524

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
mkogan1 pushed a commit to mkogan1/ceph that referenced this pull request Jan 2, 2023
The basic idea of this change is the same as the proposal by
Ilsoo Byun <ilsoobyun@linecorp.com>, but some details have changed.

The main differences are to use the existing
RGWLC::set(remove)_bucket_config methods, and to use the
RGWBucketInstanceMetadataHandler infrastructue to dispatch
the corresponding calls.  Thank you!

Fixes: https://tracker.ceph.com/issues/44268
Related PR: ceph#33524
Resolves: rhbz#2095670

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
(cherry picked from commit 2ee2266)
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
aaSharma14 pushed a commit to aaSharma14/ceph that referenced this pull request Apr 14, 2023
The basic idea of this change is the same as the proposal by
Ilsoo Byun <ilsoobyun@linecorp.com>, but some details have changed.

The main differences are to use the existing
RGWLC::set(remove)_bucket_config methods, and to use the
RGWBucketInstanceMetadataHandler infrastructue to dispatch
the corresponding calls.  Thank you!

Fixes: https://tracker.ceph.com/issues/44268
Related PR: ceph#33524
Resolves: rhbz#2095670

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
(cherry picked from commit 2ee2266)
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
trociny pushed a commit to trociny/ceph that referenced this pull request Dec 12, 2023
The basic idea of this change is the same as the proposal by
Ilsoo Byun <ilsoobyun@linecorp.com>, but some details have changed.

The main differences are to use the existing
RGWLC::set(remove)_bucket_config methods, and to use the
RGWBucketInstanceMetadataHandler infrastructue to dispatch
the corresponding calls.  Thank you!

Fixes: https://tracker.ceph.com/issues/44268
Related PR: ceph#33524

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
(cherry picked from commit 2ee2266)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants