mirror of
https://github.com/ceph/ceph
synced 2025-02-19 08:57:27 +00:00
Merge pull request #29897 from tianshan/fix_list_start_with_null_marker
rgw: fix list versions starts with version_id=null Reviewed-by: Casey Bodley <cbodley@redhat.com>
This commit is contained in:
commit
3993a72412
@ -283,7 +283,11 @@ static int encode_list_index_key(cls_method_context_t hctx, const cls_rgw_obj_ke
|
||||
}
|
||||
|
||||
string obj_index_key;
|
||||
encode_obj_index_key(key, &obj_index_key);
|
||||
cls_rgw_obj_key tmp_key(key);
|
||||
if (tmp_key.instance == "null") {
|
||||
tmp_key.instance.clear();
|
||||
}
|
||||
encode_obj_versioned_data_key(tmp_key, &obj_index_key);
|
||||
|
||||
rgw_bucket_dir_entry entry;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user