]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
os/memstore: ignore OP_COLL_SET_BITS
authorJohn Spray <john.spray@redhat.com>
Wed, 14 Nov 2018 19:13:39 +0000 (14:13 -0500)
committerSage Weil <sage@redhat.com>
Tue, 18 Dec 2018 19:30:54 +0000 (13:30 -0600)
...rather than crashing out on it.

Signed-off-by: John Spray <john.spray@redhat.com>
src/os/memstore/MemStore.cc

index ef2038816078cb76af8819eacee6f4505b6775f8..ea87c80cc84b19112d288544f79390028b5bc3df 100644 (file)
@@ -960,6 +960,12 @@ void MemStore::_do_transaction(Transaction& t)
       }
       break;
 
+    case Transaction::OP_COLL_SET_BITS:
+      {
+        r = 0;
+      }
+      break;
+
     default:
       derr << "bad op " << op->op << dendl;
       ceph_abort();