Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rgw: find oldest period and update RGWMetadataLogHistory() #31873

Merged
merged 1 commit into from Jan 13, 2020

Conversation

smanjara
Copy link
Contributor

@smanjara smanjara commented Nov 26, 2019

when a period lookup for oldest_realm_epoch returns an ENOENT,
find the oldest one and update RGWMetadataLogHistory. This is to avoid an
empty cursor being passed in to ceph_assert() in PurgePeriodLogsCR::operate()
in case of incomplete period history.

Signed-off-by: Shilpa Jagannath smanjara@redhat.com

Fixes: https://tracker.ceph.com/issues/40341

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

@smanjara
Copy link
Contributor Author

smanjara commented Dec 3, 2019

jenkins retest make check

@cbodley
Copy link
Contributor

cbodley commented Dec 4, 2019

jenkins test make check

@cbodley
Copy link
Contributor

cbodley commented Dec 4, 2019

@smanjara do we have a tracker issue for backports?

@smanjara
Copy link
Contributor Author

smanjara commented Dec 5, 2019

@smanjara do we have a tracker issue for backports?

yes, just opened one. https://tracker.ceph.com/issues/43134

@smithfarm
Copy link
Contributor

Can you put the line:

Fixes: https://tracker.ceph.com/issues/40341

directly in the commit message? That way, it will be in the actual git history instead of just here in github.

find the oldest one and update RGWMetadataLogHistory. This is to avoid an
empty cursor being passed in to ceph_assert() in PurgePeriodLogsCR::operate()
in case of incomplete period history.

Fixes: https://tracker.ceph.com/issues/40341

Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
@smanjara
Copy link
Contributor Author

smanjara commented Dec 6, 2019

Can you put the line:

Fixes: https://tracker.ceph.com/issues/40341

directly in the commit message? That way, it will be in the actual git history instead of just here in github.

Sure, added to commit message. Thanks.

@cbodley
Copy link
Contributor

cbodley commented Jan 2, 2020

jenkins test make check

1 similar comment
@cbodley
Copy link
Contributor

cbodley commented Jan 6, 2020

jenkins test make check

@cbodley
Copy link
Contributor

cbodley commented Jan 7, 2020

@smanjara can you please run this through qa?

@smanjara
Copy link
Contributor Author

@smanjara can you please run this through qa?

Hi Casey, I ran the suite, some tests fail due to #32550

http://qa-proxy.ceph.com/teuthology/smanjara-2020-01-10_05:11:17-rgw:multisite-wip-mdlog-crash-distro-basic-smithi/4652644/teuthology.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants