mirror of
https://github.com/ceph/ceph
synced 2025-03-01 05:51:33 +00:00
osd/ReplicatedPG: set reply versions for pg ops (PGLS)
Returning the current version for the pgid and last_user_version makes
some sense here.
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
(cherry picked from commit b05f7ea519
)
This commit is contained in:
parent
c4414a34b0
commit
dfcee0cbee
@ -571,6 +571,7 @@ void ReplicatedPG::do_pg_op(OpRequestRef op)
|
||||
CEPH_OSD_FLAG_ACK | CEPH_OSD_FLAG_ONDISK);
|
||||
reply->set_data(outdata);
|
||||
reply->set_result(result);
|
||||
reply->set_reply_versions(info.last_update, info.last_user_version);
|
||||
osd->send_message_osd_client(reply, m->get_connection());
|
||||
delete filter;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user