]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: fix 'ack' to be 'request_ack' in MOSDMarkMeDown
authorSage Weil <sage@inktank.com>
Thu, 3 Apr 2014 18:51:45 +0000 (11:51 -0700)
committerSage Weil <sage@inktank.com>
Fri, 2 May 2014 00:25:00 +0000 (17:25 -0700)
commit58ace1aac3fccd79b252d8c485c343d75e5175d3
treed576476940fadf33a9a83c647cb7d4065cd6a17f
parent49a3b222925827b8e5d8824375b476e3e8e4243f
osd: fix 'ack' to be 'request_ack' in MOSDMarkMeDown

This field was passed along but always set to false.  It did not seem to
indicate whether this was/wasn't an ack (the reply message kept the same
value) or whether an ack was requested (it was always false but we always
reply).

Change this by bumping the message encoding, renaming the field, and
making old messages that are decoded force request_ack to true.  Reply
messages will always have request_ack false (although that part doesn't
matter much since the fact that it is a reply is clear from context).

Signed-off-by: Sage Weil <sage@inktank.com>
src/messages/MOSDMarkMeDown.h
src/mon/OSDMonitor.cc
src/osd/OSD.cc