]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/ReplicatedPG: do not choke on op-less flush OpContexts (from flush)
authorSage Weil <sage@inktank.com>
Mon, 3 Feb 2014 01:11:23 +0000 (17:11 -0800)
committerSage Weil <sage@inktank.com>
Sun, 16 Feb 2014 06:09:39 +0000 (22:09 -0800)
commitf617eba03461a8773bbf30ad5cfc5e1e99b944a3
tree2564723111f6baf7662991b63eef8a70ed1fc76e
parentdd3814f3fe11a469cfe1d7cdf2ba245abd7fb971
osd/ReplicatedPG: do not choke on op-less flush OpContexts (from flush)

The agent initiates flush ops that don't have an OpRequest associated
with them.  Make reply_ctx skip the actual reply message instead of
crashing if the flush request gets canceled (e.g., due to a race with
a write).

Signed-off-by: Sage Weil <sage@inktank.com>
src/osd/ReplicatedPG.cc