]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
PG: generate backlog when confronted with corrupt log
authorSamuel Just <samuel.just@dreamhost.com>
Sat, 10 Sep 2011 04:39:27 +0000 (21:39 -0700)
committerSage Weil <sage.weil@dreamhost.com>
Sat, 10 Sep 2011 04:39:44 +0000 (21:39 -0700)
commit405abf5abec64ee3cb7d4b448736b6ef92dfd6c2
tree405de0423c4a2f4ffc3c78a23f794cec7bb9c3fc
parent92fa2ff8fcdbb61cf0a052117a183a42583844ee
PG: generate backlog when confronted with corrupt log

Currently we throw out the log and start up anyway.  With this change, we
would throw out the log, generate a fresh backlog, and then start up.
That may not be the best possible thing, but it's better than what we
currently do.  Indirectly fixes #1502.

Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
src/osd/PG.cc
src/osd/PG.h