Skip to content

objclass: deprecate cls_cxx_gather - #55923

Merged
NitzanMordhai merged 2 commits into
ceph:mainfrom
NitzanMordhai:wip-nitzan-add-deprecate-cls-gather
May 13, 2024
Merged

NitzanMordhai merged 2 commits into
ceph:mainfrom
NitzanMordhai:wip-nitzan-add-deprecate-cls-gather

Conversation

@NitzanMordhai

@NitzanMordhai NitzanMordhai commented Mar 4, 2024 •

Copy link
Copy Markdown
Contributor

cls_cxx_gather is not maintained and having issues with retry. since there is no current use of it, we will deprecate it.

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

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

Comment thread PendingReleaseNotes Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'd guess it should read 'is marked as deprecated' or 'will be deprecated', but not both 'delay vectors'...

@rzarzynski rzarzynski Mar 4, 2024 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I agree with Ronen. Pulling @zdover23 in!

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It is marked deprecated as of squid and may be removed in a future, unspecified release.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@NitzanMordhai: let's polish the note and pull the PR in.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@rzarzynski let me know if that is what we want.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I agree with @athanatos's rewrite.

Comment thread PendingReleaseNotes Outdated

@rzarzynski rzarzynski Mar 4, 2024 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I agree with Ronen. Pulling @zdover23 in!

Comment thread src/crimson/osd/objclass.cc Outdated

@rzarzynski rzarzynski Mar 4, 2024 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ACK.

UPDATE: oops, GCC says something different:

/home/jenkins-build/build/workspace/ceph-pull-requests/src/crimson/osd/objclass.cc:556:77: error: GCC does not allow 'deprecated' attribute in this position on a function definition [-Werror,-Wgcc-compat]
                   const char *cls, const char *method, bufferlist& inbl) __attribute__ ((deprecated))

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@rzarzynski missed that, i completely removed that from crimson, and also removed the test since it is deprecated

@rzarzynski

Copy link
Copy Markdown
Contributor

The PR is a follow-up to: #55410.

@NitzanMordhai
NitzanMordhai force-pushed the wip-nitzan-add-deprecate-cls-gather branch from 53ea047 to 0fbfbad Compare March 5, 2024 11:07
@NitzanMordhai
NitzanMordhai requested a review from a team as a code owner March 5, 2024 11:07
Comment thread src/crimson/osd/objclass.cc Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'm fine with removing these functions in crimson assuming the plugins are still loadable (I bet they will be).

Comment thread PendingReleaseNotes Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@NitzanMordhai: let's polish the note and pull the PR in.

Comment thread qa/workunits/rados/test.sh Resolved
@NitzanMordhai
NitzanMordhai force-pushed the wip-nitzan-add-deprecate-cls-gather branch from 0fbfbad to f87c4b7 Compare March 24, 2024 06:28
@github-actions

github-actions Bot commented May 6, 2024

Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

@yuriw

yuriw commented May 6, 2024

Copy link
Copy Markdown
Contributor

@yuriw

yuriw commented May 6, 2024

Copy link
Copy Markdown
Contributor

cls_cxx_gather is not maintained and having issues with retry.
since there is no current use of it, we will deprecate it.

Fixes: https://tracker.ceph.com/issues/64258
Signed-off-by: Nitzan Mordechai <[email protected]>
@NitzanMordhai
NitzanMordhai force-pushed the wip-nitzan-add-deprecate-cls-gather branch from f87c4b7 to d3ce638 Compare May 9, 2024 08:53
@NitzanMordhai

Copy link
Copy Markdown
Contributor Author

jenkins test make check

@NitzanMordhai

Copy link
Copy Markdown
Contributor Author

jenkins test make check

@NitzanMordhai

Copy link
Copy Markdown
Contributor Author

jenkins test api

@NitzanMordhai
NitzanMordhai force-pushed the wip-nitzan-add-deprecate-cls-gather branch from d3ce638 to 0928f7b Compare May 12, 2024 10:26
@NitzanMordhai

Copy link
Copy Markdown
Contributor Author

jenkins test make check

1 similar comment
@NitzanMordhai

Copy link
Copy Markdown
Contributor Author

jenkins test make check

@NitzanMordhai
NitzanMordhai merged commit 6d36b0d into ceph:main May 13, 2024
@NitzanMordhai
NitzanMordhai deleted the wip-nitzan-add-deprecate-cls-gather branch May 13, 2024 06:00
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.

6 participants