]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: simplify master log recreation; fix up Log::copy_after
authorSage Weil <sage@newdream.net>
Fri, 12 Dec 2008 23:00:34 +0000 (15:00 -0800)
committerSage Weil <sage@newdream.net>
Fri, 12 Dec 2008 23:12:48 +0000 (15:12 -0800)
commite42e3d121d9005c681dedc941d53929305896004
tree3592bf2d849d16593d31dca84729988b82e1fe6b
parentab733782e2e8d5feb96122a3509c7f36021242c9
osd: simplify master log recreation; fix up Log::copy_after

Pull log from a given point from peer with the largest last_update.  Do
not worry about divergence on the peer; that is handled by the new
primary.  Simplifies PG::Query struct.

Fix copy_after to set an accurate .bottom, and to behave if the split
point given is divergent (i.e. doesn't actually appear in the log).
src/osd/OSD.cc
src/osd/PG.cc
src/osd/PG.h