objclass: deprecate cls_cxx_gather#55923
Conversation
PendingReleaseNotes
Outdated
| `ceph config get mgr mgr/volumes/snapshot_clone_no_wait` | ||
| and it can be disabled by using: | ||
| `ceph config set mgr mgr/volumes/snapshot_clone_no_wait false` | ||
| * cls_cxx_gather will be marked as depreacted. |
There was a problem hiding this comment.
I'd guess it should read 'is marked as deprecated' or 'will be deprecated', but not both 'delay vectors'...
There was a problem hiding this comment.
It is marked deprecated as of squid and may be removed in a future, unspecified release.
There was a problem hiding this comment.
@NitzanMordhai: let's polish the note and pull the PR in.
There was a problem hiding this comment.
@rzarzynski let me know if that is what we want.
PendingReleaseNotes
Outdated
| `ceph config get mgr mgr/volumes/snapshot_clone_no_wait` | ||
| and it can be disabled by using: | ||
| `ceph config set mgr mgr/volumes/snapshot_clone_no_wait false` | ||
| * cls_cxx_gather will be marked as depreacted. |
src/crimson/osd/objclass.cc
Outdated
|
|
||
| int cls_cxx_gather(cls_method_context_t hctx, const std::set<std::string> &src_objs, const std::string& pool, | ||
| const char *cls, const char *method, bufferlist& inbl) | ||
| const char *cls, const char *method, bufferlist& inbl) __attribute__ ((deprecated)) |
There was a problem hiding this comment.
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))
There was a problem hiding this comment.
@rzarzynski missed that, i completely removed that from crimson, and also removed the test since it is deprecated
|
The PR is a follow-up to: #55410. |
53ea047 to
0fbfbad
Compare
| return 0; | ||
| } | ||
|
|
||
| int cls_cxx_get_gathered_data(cls_method_context_t hctx, std::map<std::string, bufferlist> *results) |
There was a problem hiding this comment.
I'm fine with removing these functions in crimson assuming the plugins are still loadable (I bet they will be).
PendingReleaseNotes
Outdated
| `ceph config get mgr mgr/volumes/snapshot_clone_no_wait` | ||
| and it can be disabled by using: | ||
| `ceph config set mgr mgr/volumes/snapshot_clone_no_wait false` | ||
| * cls_cxx_gather will be marked as depreacted. |
There was a problem hiding this comment.
@NitzanMordhai: let's polish the note and pull the PR in.
0fbfbad to
f87c4b7
Compare
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
|
@NitzanMordhai pls rebase and merge it was approved |
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 <nmordech@redhat.com>
f87c4b7 to
d3ce638
Compare
|
jenkins test make check |
|
jenkins test make check |
|
jenkins test api |
https://tracker.ceph.com/issues/64258 Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
d3ce638 to
0928f7b
Compare
|
jenkins test make check |
1 similar comment
|
jenkins test make check |
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
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show 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 windowsjenkins test rook e2e