Project

General

Profile

Backport #37690

luminous: ceph-objectstore-tool: Add HashInfo to object dump output

Added by Nathan Cutler 9 months ago. Updated 7 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Release:
luminous


Related issues

Copied from RADOS - Feature #37597: ceph-objectstore-tool: Add HashInfo to object dump output Resolved 12/11/2018

History

#1 Updated by Nathan Cutler 9 months ago

  • Copied from Feature #37597: ceph-objectstore-tool: Add HashInfo to object dump output added

#2 Updated by Ashish Singh 9 months ago

  • Description updated (diff)
  • Status changed from New to In Progress
  • Assignee set to Ashish Singh

#3 Updated by Ashish Singh 9 months ago

  • Description updated (diff)

#4 Updated by Ashish Singh 9 months ago

  • Status changed from In Progress to Need More Info

While backporting changes related to tracker 37597, found the following compilation errors :

/home/jenkins-build/build/workspace/ceph-pull-requests/src/tools/ceph_objectstore_tool.cc:2404:23: error: ‘ch’ was not declared in this scope
gr = store->getattr(ch, ghobj, ECUtil::get_hinfo_key(), hattr);
^
  • The variable "ch" was defined with commit id '38d24fefd6fa80c9f85afc9e0e4570b6fe387a7e'. However, it was not backported to Luminous.

/home/jenkins-build/build/workspace/ceph-pull-requests/src/tools/ceph_objectstore_tool.cc:2407:21: error: ‘using bufferlist = class ceph::buffer::list {aka class ceph::buffer::list}’ has no member named ‘cbegin’
auto hp = hattr.cbegin();
^
src/tools/CMakeFiles/ceph-objectstore-tool.dir/build.make:62: recipe for target 'src/tools/CMakeFiles/ceph-objectstore-tool.dir/ceph_objectstore_tool.cc.o' failed
make3: * [src/tools/CMakeFiles/ceph-objectstore-tool.dir/ceph_objectstore_tool.cc.o] Error 1
make3:
Waiting for unfinished jobs....
[ 84%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/image_replayer/test_mock_BootstrapRequest.cc.o
CMakeFiles/Makefile2:20204: recipe for target 'src/tools/CMakeFiles/ceph-objectstore-tool.dir/all' failed
make2:
[src/tools/CMakeFiles/ceph-objectstore-tool.dir/all] Error 2
make2: *
Waiting for unfinished jobs....

  • Can we replace 'cbegin()' with 'begin()' here ?

#5 Updated by Nathan Cutler 8 months ago

  • Status changed from Need More Info to In Progress

#6 Updated by Yuri Weinstein 7 months ago

Nathan Cutler wrote:

https://github.com/ceph/ceph/pull/25722

merged

#7 Updated by Nathan Cutler 7 months ago

  • Status changed from In Progress to Resolved
  • Target version set to v12.2.12

Also available in: Atom PDF