https://tracker.ceph.com/https://tracker.ceph.com/favicon.ico2019-09-24T17:35:56ZCeph rgw - Feature #42031: rgw: provide mech to allow unordered bucket listing to work past missing bucket index shardshttps://tracker.ceph.com/issues/42031?journal_id=1469222019-09-24T17:35:56ZJ. Eric Ivancichivancich@redhat.com
<ul></ul><p>It seems like the place to do this is in RGWRados::cls_bucket_list_unordered. Ideally cls_rgw_bucket_list_op has a result of -ENOENT when a bucket index shard is missing....</p>
<p>Here's the code:</p>
<pre><code>while (count <= num_entries &&<br /> ((shard_id >= 0 && current_shard == uint32_t(shard_id)) ||<br /> current_shard < num_shards)) {<br /> const std::string& oid = oids[current_shard];<br /> rgw_cls_list_ret result;</code></pre>
<pre><code>librados::ObjectReadOperation op;<br /> cls_rgw_bucket_list_op(op, marker, prefix, num_entries,<br /> list_versions, &result);<br /> r = index_ctx.operate(oid, &op, nullptr);<br /> if (r < 0)<br /> return r;</code></pre> rgw - Feature #42031: rgw: provide mech to allow unordered bucket listing to work past missing bucket index shardshttps://tracker.ceph.com/issues/42031?journal_id=1721832020-08-01T13:25:59ZJ. Eric Ivancichivancich@redhat.com
<ul><li><strong>Subject</strong> changed from <i>rgw: provide mech to allow unordered bucket listing to work passed missing bucket index shards</i> to <i>rgw: provide mech to allow unordered bucket listing to work past missing bucket index shards</i></li></ul> rgw - Feature #42031: rgw: provide mech to allow unordered bucket listing to work past missing bucket index shardshttps://tracker.ceph.com/issues/42031?journal_id=1721842020-08-01T13:26:19ZJ. Eric Ivancichivancich@redhat.com
<ul><li><strong>Backport</strong> changed from <i>luminous,mimic,nautilus</i> to <i>nautilus,octopus</i></li></ul>