]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: send log with backfill restart
authorSage Weil <sage@newdream.net>
Wed, 11 Jan 2012 00:14:13 +0000 (16:14 -0800)
committerSage Weil <sage@newdream.net>
Wed, 11 Jan 2012 00:14:13 +0000 (16:14 -0800)
commitd4815e5bd4727f499643f2bebe2715cc85faaa42
tree03259a2abe930d34bfb992bc2ac83c579a52fb0c
parentc7d92d1d3fe469f5e8e7c35185a670570c665029
osd: send log with backfill restart

This makes backfill restart less of a special case: we send an info AND
log, just like we do normally.  Code paths are more similar than before.

The main change here is that the backfill target gets a pg log with recent
history, which allows it to more reliably detect dup operations.

Signed-off-by: Sage Weil <sage@newdream.net>
src/osd/PG.cc
src/osd/PG.h