since we do nothing to the not exists index, just continue to
process other indexes and pass the test case
Fixes: http://tracker.ceph.com/issues/24640
Signed-off-by: Tianshan Qu <tianshan@xsky.com>
(cherry picked from commit
d5d053ab3b8a6b8498e22b375fabe24bc988baf0)
fixes: http://tracker.ceph.com/issues/24628
string cur_change_key;
encode_obj_index_key(cur_change.key, &cur_change_key);
int ret = cls_cxx_map_get_val(hctx, cur_change_key, &cur_disk_bl);
- if (ret < 0)
+ if (ret < 0 && ret != -ENOENT)
return -EINVAL;
+ if (ret == -ENOENT) {
+ continue;
+ }
+
if (cur_disk_bl.length()) {
bufferlist::iterator cur_disk_iter = cur_disk_bl.begin();
try {