]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
PrimaryLogPG: don't update digests for objects with mismatched names 12788/head
authorSamuel Just <sjust@redhat.com>
Tue, 3 Jan 2017 18:50:22 +0000 (10:50 -0800)
committerSamuel Just <sjust@redhat.com>
Tue, 3 Jan 2017 19:16:03 +0000 (11:16 -0800)
commit780c29903249900bd3b5b965732ee164a3e2565d
treec4d9aaed443c64d95087593812d698ac24c35915
parent2861a2188a0f36d20ce73890742e12f2127eba90
PrimaryLogPG: don't update digests for objects with mismatched names

I've only seen this on one cluster, but let's not issue repops during
scrub on objects where the object_info_t::soid value is not correct.
The cluster in question has been through many different non-release
kernels and osd versions, so the objects presumably came about due to an
old xfs or filestore bug.  They recently became fatal since we made
filestore crash on ENOENT for setattrs.  In the past, the cluster just
silently tolerated them.

http://tracker.ceph.com/issues/18409 is a larger feature to detect these
better and repair them automatically.

Related: http://tracker.ceph.com/issues/18409
Signed-off-by: Samuel Just <sjust@redhat.com>
src/osd/PrimaryLogPG.cc