]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
HashIndex: reset attr upon split or merge completion
authorSamuel Just <sam.just@inktank.com>
Wed, 24 Jul 2013 01:04:40 +0000 (18:04 -0700)
committerSamuel Just <sam.just@inktank.com>
Thu, 25 Jul 2013 17:37:39 +0000 (10:37 -0700)
commitb0535fcf854c5042d6b5ff481aabca08026d8f7f
treeb2f887c3a6398c4779c455ed10201b5fc884bfd4
parent8f73302b4e637ca8b85d68ea7503279faecb57d8
HashIndex: reset attr upon split or merge completion

A replay of an in progress merge or split might make
our counts unreliable.

Fixes: #5723
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
(cherry picked from commit 0dc3efdd885377a07987d868af5bb7a38245c90b)
src/os/HashIndex.cc