]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
tools: Add clear-data-digest command to objectstore tool. 29196/head
authorliyichao <liyichao.good@gmail.com>
Wed, 5 Dec 2018 04:22:20 +0000 (12:22 +0800)
committerNathan Cutler <ncutler@suse.com>
Tue, 23 Jul 2019 12:14:50 +0000 (14:14 +0200)
commit7835db604ac0858f480c4f3c10d63651b9df1f37
treed1517ed541f3c1279cd9b2545f6f71fc84cbd901
parentc1cd465c4f7a185c193fc8999a74b9ff428ac254
tools: Add clear-data-digest command to objectstore tool.

There may be a situation where data digest in object info is
inconsistent with that computed from object data, then deep-scrub
will fail even though all three repicas have the same object data.

Fixes: https://tracker.ceph.com/issues/37935
Signed-off-by: Li Yichao <liyichao.good@gmail.com>
(cherry picked from commit da5832b2b49be4ab23f7ffc5ba1ba630168b886f)

Conflicts:
    src/tools/ceph_objectstore_tool.cc
- change cbegin() to begin() to get it to build
qa/standalone/special/ceph_objectstore_tool.py
src/tools/ceph_objectstore_tool.cc