]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
messages/MOSDMarkMeDown: drop compat cruft
authorSage Weil <sage@redhat.com>
Wed, 12 Apr 2017 02:51:24 +0000 (22:51 -0400)
committerSage Weil <sage@redhat.com>
Fri, 21 Apr 2017 20:00:39 +0000 (16:00 -0400)
v2 is 58ace1aac3fccd79b252d8c485c343d75e5175d3 (pre-giant).

Signed-off-by: Sage Weil <sage@redhat.com>
src/messages/MOSDMarkMeDown.h

index d48f2367b86bf9f2db95f68e752a867ed1391908..e2c948c3ed84a2072dc0c3784c8b8b4af5a234ba 100644 (file)
@@ -19,8 +19,8 @@
 
 class MOSDMarkMeDown : public PaxosServiceMessage {
 
-  static const int COMPAT_VERSION = 1;
   static const int HEAD_VERSION = 2;
+  static const int COMPAT_VERSION = 2;
 
  public:
   uuid_d fsid;
@@ -50,8 +50,6 @@ public:
     ::decode(target_osd, p);
     ::decode(epoch, p);
     ::decode(request_ack, p);
-    if (header.version < 2)
-      request_ack = true;    // assume true for older clients
   }
 
   void encode_payload(uint64_t features) override {