Skip to content

[DNM PENDING PERFORMANCE INVESTIGATION] nautilus: osd: add cls_cxx_map_remove_range() - #30949

Closed
vumrao wants to merge 20 commits into
ceph:nautilusfrom
vumrao:wip-vumrao-42183
Closed

vumrao wants to merge 20 commits into
ceph:nautilusfrom
vumrao:wip-vumrao-42183

Conversation

@vumrao

@vumrao vumrao commented Oct 16, 2019

Copy link
Copy Markdown
Contributor

@vumrao
vumrao requested a review from cbodley October 16, 2019 00:45
@vumrao vumrao added this to the nautilus milestone Oct 16, 2019
@vumrao vumrao added the feature label Oct 16, 2019
@vumrao

vumrao commented Oct 16, 2019

Copy link
Copy Markdown
Contributor Author

jenkins test docs

@vumrao

vumrao commented Oct 16, 2019

Copy link
Copy Markdown
Contributor Author
  • Failure:
/home/jenkins-build/build/workspace/ceph-pull-requests/src/osd/ReplicatedBackend.cc: In lambda function:
/home/jenkins-build/build/workspace/ceph-pull-requests/src/osd/ReplicatedBackend.cc:377:44: error: no matching function for call to 'ObjectStore::Transaction::omap_rmkeyrange(const coll_t&, const ghobject_t&, const ceph::buffer::v14_2_0::list&)'
    t->omap_rmkeyrange(coll, goid, up.second);
                                            ^
In file included from /home/jenkins-build/build/workspace/ceph-pull-requests/src/osd/PGBackend.h:24:0,
                 from /home/jenkins-build/build/workspace/ceph-pull-requests/src/osd/ReplicatedBackend.h:18,
                 from /home/jenkins-build/build/workspace/ceph-pull-requests/src/osd/ReplicatedBackend.cc:15:
/home/jenkins-build/build/workspace/ceph-pull-requests/src/os/ObjectStore.h:1323:10: note: candidate: void ObjectStore::Transaction::omap_rmkeyrange(const coll_t&, const ghobject_t&, const string&, const string&)
     void omap_rmkeyrange(
          ^~~~~~~~~~~~~~~
/home/jenkins-build/build/workspace/ceph-pull-requests/src/os/ObjectStore.h:1323:10: note:   candidate expects 4 arguments, 3 provided
src/osd/CMakeFiles/osd.dir/build.make:206: recipe for target 'src/osd/CMakeFiles/osd.dir/ReplicatedBackend.cc.o' failed
make[3]: *** [src/osd/CMakeFiles/osd.dir/ReplicatedBackend.cc.o] Error 1
make[3]: *** Waiting for unfinished jobs....

@cbodley

cbodley commented Oct 16, 2019

Copy link
Copy Markdown
Contributor

thanks @vumrao! there were a couple of rocksdb changes that went in before this one, can you verify that they're already present on nautilus? they were #29026 and #29323

@vumrao

vumrao commented Oct 16, 2019 •

Copy link
Copy Markdown
Contributor Author

thanks @vumrao! there were a couple of rocksdb changes that went in before this one, can you verify that they're already present on nautilus? they were #29026 and #29323

thanks, @cbodley. Yes, both were backported to nautilus.

@vumrao

vumrao commented Oct 16, 2019

Copy link
Copy Markdown
Contributor Author

retest this please.

@vumrao

vumrao commented Oct 16, 2019

Copy link
Copy Markdown
Contributor Author

jenkins test docs

@mattbenjamin mattbenjamin left a comment

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.

Very clean backport. Nits omitted.

@mattbenjamin
mattbenjamin self-requested a review October 30, 2019 01:03

@mattbenjamin mattbenjamin left a comment

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.

Very clean backport. Nits omitted. Review fixed.

@smithfarm smithfarm added nautilus-batch-1 nautilus point releases needs-qa and removed needs-review labels Nov 4, 2019
@yuriw

yuriw commented Nov 5, 2019

Copy link
Copy Markdown
Contributor

@yuriw

yuriw commented Nov 8, 2019

Copy link
Copy Markdown
Contributor

@yuriw

yuriw commented Nov 8, 2019

Copy link
Copy Markdown
Contributor

@vumrao this PR seems breaking build and make check

Build failed https://shaman.ceph.com/builds/ceph/wip-yuriw-nautilus_PR30949/

make check errors snippet (full log @smithi041 /home/yuriw/makelogfile_wip-yuriw-nautilus_PR30949):

0: Test command:
10: Environment variables:
10: CEPH_ROOT=/home/yuriw/wip-yuriw-nautilus_PR30949
10: CEPH_BIN=/home/yuriw/wip-yuriw-nautilus_PR30949/build/bin
10: CEPH_LIB=/home/yuriw/wip-yuriw-nautilus_PR30949/build/lib
10: CEPH_BUILD_DIR=/home/yuriw/wip-yuriw-nautilus_PR30949/build
10: LD_LIBRARY_PATH=/home/yuriw/wip-yuriw-nautilus_PR30949/build/lib
10: PATH=/home/yuriw/wip-yuriw-nautilus_PR30949/build/bin:/home/yuriw/wip-yuriw-nautilus_PR30949/src:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
10: PYTHONPATH=/home/yuriw/wip-yuriw-nautilus_PR30949/build/lib/cython_modules/lib.2:/home/yuriw/wip-yuriw-nautilus_PR30949/src/pybind
10: CEPH_BUILD_VIRTUALENV=/home/yuriw/wip-yuriw-nautilus_PR30949/build
Unable to find executable: /home/yuriw/wip-yuriw-nautilus_PR30949/build/bin/unittest_encoding
4/166 Test #10: unittest_encoding .......................**Not Run 0.00 sec
2: New python executable in /home/yuriw/wip-yuriw-nautilus_PR30949/src/test/virtualenv/bin/python2
2: Also creating executable in /home/yuriw/wip-yuriw-nautilus_PR30949/src/test/virtualenv/bin/python
4: /home/yuriw/wip-yuriw-nautilus_PR30949/qa/standalone/ceph-helpers.sh:364: kill_daemons: return 0
4: //home/yuriw/wip-yuriw-nautilus_PR30949/qa/standalone/ceph-helpers.sh:167: teardown: uname
4: /home/yuriw/wip-yuriw-nautilus_PR30949/qa/standalone/ceph-helpers.sh:167: teardown: '[' Linux '!=' FreeBSD ']'
4: //home/yuriw/wip-yuriw-nautilus_PR30949/qa/standalone/ceph-helpers.sh:168: teardown: stat -f -c %T .
4: /home/yuriw/wip-yuriw-nautilus_PR30949/qa/standalone/ceph-helpers.sh:168: teardown: '[' ext2/ext3 == btrfs ']'
4: /home/yuriw/wip-yuriw-nautilus_PR30949/qa/standalone/ceph-helpers.sh:171: teardown: local cores=no
4: //home/yuriw/wip-yuriw-nautilus_PR30949/qa/standalone/ceph-helpers.sh:172: teardown: sysctl -n kernel.core_pattern
4: /home/yuriw/wip-yuriw-nautilus_PR30949/qa/standalone/ceph-helpers.sh:172: teardown: local pattern=core
4: /home/yuriw/wip-yuriw-nautilus_PR30949/qa/standalone/ceph-helpers.sh:174: teardown: '[' c = '|' ']'
4: /home/yuriw/wip-yuriw-nautilus_PR30949/qa/standalone/ceph-helpers.sh:180: teardown: grep -q '^core|core$'
.............
4: /home/yuriw/wip-yuriw-nautilus_PR30949/qa/standalone/ceph-helpers.sh:653: run_osd: ceph_args+=' --enable-experimental-unrecoverable-data-corrupting-features=
'
4: /home/yuriw/wip-yuriw-nautilus_PR30949/qa/standalone/ceph-helpers.sh:654: run_osd: ceph_args+=' '
4: /home/yuriw/wip-yuriw-nautilus_PR30949/qa/standalone/ceph-helpers.sh:655: run_osd: ceph_args+=
4: /home/yuriw/wip-yuriw-nautilus_PR30949/qa/standalone/ceph-helpers.sh:656: run_osd: mkdir -p td/smoke/0
4: //home/yuriw/wip-yuriw-nautilus_PR30949/qa/standalone/ceph-helpers.sh:658: run_osd: uuidgen
4: /home/yuriw/wip-yuriw-nautilus_PR30949/qa/standalone/ceph-helpers.sh:658: run_osd: local uuid=e156f24f-4741-4235-b363-4d084cbc1315
4: /home/yuriw/wip-yuriw-nautilus_PR30949/qa/standalone/ceph-helpers.sh:659: run_osd: echo 'add osd0 e156f24f-4741-4235-b363-4d084cbc1315'
4: add osd0 e156f24f-4741-4235-b363-4d084cbc1315
4: //home/yuriw/wip-yuriw-nautilus_PR30949/qa/standalone/ceph-helpers.sh:660: run_osd: ceph-authtool --gen-print-key
4: /home/yuriw/wip-yuriw-nautilus_PR30949/qa/standalone/ceph-helpers.sh: line 660: ceph-authtool: command not found
4: /home/yuriw/wip-yuriw-nautilus_PR30949/qa/standalone/ceph-helpers.sh:660: run_osd: OSD_SECRET=
4: /home/yuriw/wip-yuriw-nautilus_PR30949/qa/standalone/ceph-helpers.sh:661: run_osd: echo '{"cephx_secret": ""}'
4: /home/yuriw/wip-yuriw-nautilus_PR30949/qa/standalone/ceph-helpers.sh:662: run_osd: ceph osd new e156f24f-4741-4235-b363-4d084cbc1315 -i td/smoke/0/new.json
4: Traceback (most recent call last):
4: File "/home/yuriw/wip-yuriw-nautilus_PR30949/build/bin/ceph", line 137, in
4: import rados
4: ImportError: No module named rados

@yuriw yuriw removed the nautilus-batch-1 nautilus point releases label Nov 8, 2019
cbodley and others added 9 commits February 3, 2020 07:53
Signed-off-by: Casey Bodley <[email protected]>
(cherry picked from commit a8f4ae4)
Signed-off-by: Casey Bodley <[email protected]>
(cherry picked from commit a807f89)
Signed-off-by: Casey Bodley <[email protected]>
(cherry picked from commit 8eb57ab)
Signed-off-by: Casey Bodley <[email protected]>
(cherry picked from commit ae8c31d)
Signed-off-by: Casey Bodley <[email protected]>
(cherry picked from commit 4c4f71c)
Signed-off-by: Casey Bodley <[email protected]>
(cherry picked from commit cece372)
uses cls_cxx_map_get_keys() instead of cls_cxx_map_get_vals() to limit
the number of keys removed

Signed-off-by: Casey Bodley <[email protected]>
(cherry picked from commit 3897af4)
removes the config options rocksdb_enable_rmrange and
rocksdb_max_items_rmrange that avoid calls to DeleteRange()

Signed-off-by: Casey Bodley <[email protected]>
(cherry picked from commit 49672ad)
Co-authored-by: Zengran Zhang [email protected]
Signed-off-by: Mark Nelson <[email protected]>
(cherry picked from commit b493e96)
@vumrao

vumrao commented Feb 3, 2020

Copy link
Copy Markdown
Contributor Author

@vumrao Can you try a simple rebase followed by force-push?

Thanks @smithfarm. Done!

@smithfarm smithfarm changed the title [DNM] nautilus: osd: add cls_cxx_map_remove_range() nautilus: osd: add cls_cxx_map_remove_range() Jul 17, 2020
@smithfarm smithfarm added nautilus-batch-1 nautilus point releases needs-qa and removed DNM labels Jul 17, 2020
@yuriw

yuriw commented Jul 17, 2020

Copy link
Copy Markdown
Contributor

@neha-ojha neha-ojha added the DNM label Jul 18, 2020
@neha-ojha

Copy link
Copy Markdown
Member

I don't think performance investigation has finished on this, marking DNM for now.

@smithfarm smithfarm changed the title nautilus: osd: add cls_cxx_map_remove_range() [DNM PENDING PERFORMANCE INVESTIGATION] nautilus: osd: add cls_cxx_map_remove_range() Sep 23, 2020
@idryomov
idryomov changed the base branch from nautilus to nautilus-saved April 20, 2021 18:24
@idryomov
idryomov changed the base branch from nautilus-saved to nautilus April 20, 2021 18:24
@vumrao

vumrao commented May 3, 2022

Copy link
Copy Markdown
Contributor Author

Nautilus is EOL now!

@vumrao vumrao closed this May 3, 2022
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.

7 participants