]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
Fix set_alloc_hint op cause KeyValueStore crash problem 1840/head
authorHaomai Wang <haomaiwang@gmail.com>
Tue, 20 May 2014 06:32:18 +0000 (14:32 +0800)
committerHaomai Wang <haomaiwang@gmail.com>
Wed, 21 May 2014 04:51:13 +0000 (12:51 +0800)
commitc08adbc98ff5f380ecd215f8bd9cf3cab214913c
tree29ff725703f14f590b0e54c094bf55ff3387a3b4
parent1383b649d7ae97c99e9840c42bef0c0db5a0f65e
Fix set_alloc_hint op cause KeyValueStore crash problem

Now KeyValueStore doesn't support set_alloc_hit op, the implementation of
_do_transaction need to consider decoding the arguments. Otherwise, the
arguments will be regarded as the next op.

Fix the same problem for MemStore.

Fix #8381

Reported-by: Xinxin Shu <xinxin.shu5040@gmail.com>
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
src/os/KeyValueStore.cc
src/os/MemStore.cc