]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Merge pull request #16856 from prallabh/wip-20895
authorNathan Cutler <presnypreklad@gmail.com>
Tue, 12 Sep 2017 19:55:14 +0000 (21:55 +0200)
committerGitHub <noreply@github.com>
Tue, 12 Sep 2017 19:55:14 +0000 (21:55 +0200)
jewel: rgw: bucket index check in radosgw-admin removes valid index

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
1  2 
src/rgw/rgw_bucket.cc

index 484f4f97846e78e5026481dadc9cc1b897e921f6,fbe86f8994d4c184972bd59f218bd1fd8348c858..050905c2b1cc670784b92a5e65040b067ca85cfa
@@@ -1007,11 -1013,11 +1007,11 @@@ int RGWBucket::check_bad_index_multipar
    bool fix_index = op_state.will_fix_index();
    rgw_bucket bucket = op_state.get_bucket();
  
 -  int max = 1000;
 +  size_t max = 1000;
  
    map<string, bool> common_prefixes;
-   string ns = "";
  
+   string ns = "multipart";
    bool is_truncated;
    map<string, bool> meta_objs;
    map<rgw_obj_key, string> all_objs;