Skip to content

rgw/multisite: avoid redundant error repo entry logging#59580

Merged
cbodley merged 1 commit intoceph:mainfrom
smanjara:rgw-data-sync-redundant-retries
Oct 4, 2024
Merged

rgw/multisite: avoid redundant error repo entry logging#59580
cbodley merged 1 commit intoceph:mainfrom
smanjara:rgw-data-sync-redundant-retries

Conversation

@smanjara
Copy link
Contributor

@smanjara smanjara commented Sep 3, 2024

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 x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • 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 cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox
  • jenkins test windows
  • jenkins test rook e2e

@smanjara smanjara requested a review from a team as a code owner September 3, 2024 18:26
@github-actions github-actions bot added the rgw label Sep 3, 2024
Copy link
Contributor

@adamemerson adamemerson left a comment

Choose a reason for hiding this comment

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

LGTM, but could you please change the commit message to something like:

rgw/multisite: avoid redundant error repo entry logging

in bucket incremental sync, if a generation other than the current generation is requested,
we mark it with -EAGAIN and retry in error repo in RGWDataSyncSingleEntry(). within this block, we check
if that requested generation is lesser than the current gen, write it to error repo, set -EAGAIN and write
it to error repo in the outer function once again. don't duplicate error repo entry addition for this condition.

Signed-off-by: Shilpa Jagannath <[email protected]>

A lot of git tools assume commit messages will have a 50–60 character subject line (so there's room for hashes and stuff) and 72-character (so there's room for > marks for email quoting) body after a blank.

@cbodley
Copy link
Contributor

cbodley commented Sep 26, 2024

LGTM, but could you please change the commit message to something like:

@smanjara could you please address Adam's review comment?

in bucket incremental sync, if a generation other than the current generation is requested,
we mark it with -EAGAIN and retry in error repo in RGWDataSyncSingleEntry(). within this block,
we check if that requested generation is lesser than the current gen, write it to error repo,
set -EAGAIN and write it to error repo in the outer function once again. don't duplicate error
repo entry addition for this condition.

Signed-off-by: Shilpa Jagannath <[email protected]>
@smanjara smanjara force-pushed the rgw-data-sync-redundant-retries branch from 0c9baf3 to a191f9a Compare September 26, 2024 17:57
@smanjara
Copy link
Contributor Author

LGTM, but could you please change the commit message to something like:

@smanjara could you please address Adam's review comment?

sorry, done.

@cbodley
Copy link
Contributor

cbodley commented Sep 27, 2024

jenkins test make check

@cbodley
Copy link
Contributor

cbodley commented Sep 27, 2024

jenkins test windows

@smanjara
Copy link
Contributor Author

smanjara commented Oct 1, 2024

jenkins test make check

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