diff options
author | Sage Weil <sage@inktank.com> | 2013-09-02 17:08:04 -0700 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-09-02 17:08:04 -0700 |
commit | f79b379911d2ed416c4a9493787dd1bcd579d393 (patch) | |
tree | d139178fa8fbb2984e27be798327ce06bacbfa58 | |
parent | e8506b5adf96985df3113ab2f765041e21dc2369 (diff) | |
download | ceph-wip-6179.tar.gz |
osd/ReplicatedPG: set user_version in waiting_for_commit replieswip-6179
Signed-off-by: Sage Weil <sage@inktank.com>
-rw-r--r-- | src/osd/ReplicatedPG.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/osd/ReplicatedPG.cc b/src/osd/ReplicatedPG.cc index a50e0f263d6..1ab363091a9 100644 --- a/src/osd/ReplicatedPG.cc +++ b/src/osd/ReplicatedPG.cc @@ -4201,7 +4201,8 @@ void ReplicatedPG::eval_repop(RepGather *repop) for (list<OpRequestRef>::iterator i = waiting_for_ondisk[repop->v].begin(); i != waiting_for_ondisk[repop->v].end(); ++i) { - osd->reply_op_error(*i, 0, repop->v, 0); + osd->reply_op_error(*i, 0, repop->ctx->at_version, + repop->ctx->user_at_version); } waiting_for_ondisk.erase(repop->v); } |