]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix rgw_data_sync_info::json_decode()
authorCasey Bodley <cbodley@redhat.com>
Mon, 18 Feb 2019 23:15:11 +0000 (18:15 -0500)
committerCasey Bodley <cbodley@redhat.com>
Mon, 18 Feb 2019 23:47:22 +0000 (18:47 -0500)
commit2b51d52bab2bd95834524316d5e71ff362aa0507
treeef2c762243e8c4be76a9b03e4091a45d967fe47b
parentfc6e22b1df32021e373f9587fd9ba5b6db925b15
rgw: fix rgw_data_sync_info::json_decode()

this was trying to decode a 'uint64_t instance_id' into the wrong
variable 'uint32_t num_shards'

datalog trimming relies on this json format, and decode failures here
prevent any trimming from taking place

Fixes: http://tracker.ceph.com/issues/38373
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_data_sync.h