Project

General

Profile

Actions

Backport #37690

closed

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

Added by Nathan Cutler over 5 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Release:
luminous
Pull request ID:
Crash signature (v1):
Crash signature (v2):


Related issues 1 (0 open1 closed)

Copied from RADOS - Feature #37597: ceph-objectstore-tool: Add HashInfo to object dump outputResolvedDavid Zafman12/11/2018

Actions
Actions #1

Updated by Nathan Cutler over 5 years ago

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

Updated by Ashish Singh over 5 years ago

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

Updated by Ashish Singh over 5 years ago

  • Description updated (diff)
Actions #4

Updated by Ashish Singh over 5 years 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 ?
Actions #5

Updated by Nathan Cutler over 5 years ago

  • Status changed from Need More Info to In Progress
Actions #6

Updated by Yuri Weinstein about 5 years ago

Nathan Cutler wrote:

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

merged

Actions #7

Updated by Nathan Cutler about 5 years ago

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

Also available in: Atom PDF