TECHNOLOGY

RGW resharding changes a bucket index, not its object layout

In this article
THE QUICK TAKE

Accept resharding from the bucket's actual state and preserved object semantics, without equating an index rebuild with payload migration.

A shard count is not an object count

An RGW bucket with many small dataset objects develops slow index operations. Increasing its bucket-index shard count spreads index entries across more shards. It does not mean that model payloads were repartitioned into new application objects, duplicated, or transferred to a different data pool.

The dynamic resharding reference describes the index operation and its background detection and queue. Distinguish detection, queued work, active execution and completed state before reporting that the bucket has been repaired.

Connect the warning to the index

The Ceph health reference explains that large omap objects can be associated with RGW bucket indexes. Preserve the reported object name, key count and value-size evidence. A large payload object and an index with many entries create different problems and should not share an unqualified size diagnosis.

Record the bucket identity, current index configuration and release. The resharding documentation contains behavior changes and historical cleanup qualifications. A procedure copied from another deployment must be checked against the actual single-site or multisite topology.

Follow the state transition

Capture the reshard queue separately from the bucket’s reshard status. During execution, status includes the new bucket-instance identifier and intended shard count. After completion, the reported state returns to not-resharding. A queue entry alone is not proof of execution, and a transient observation cannot establish the final state.

The documentation notes that bucket writes can be blocked briefly during resharding while reads are not blocked by that process. Observe application write errors and retry behavior around the transition instead of interpreting a read-only check as evidence that publication was uninterrupted.

Keep cancellation and cleanup distinct

Pending reshard work can be canceled, but the documented cancellation operation does not cancel work already in progress. Avoid a control loop that repeatedly queues and cancels work based on a single status sample. Preserve the transition history before deciding that a task is stuck.

Historical stale-instance cleanup has its own release and multisite cautions. It is not the final mandatory step of every reshard. Likewise, an old index instance is not evidence that a second complete set of application payloads exists and can safely be deleted.

Acceptance for dataset publication

Accept the change after the intended index transition completes and the application’s object listing, reads and writes behave correctly for a bounded known fixture. Validate key and version semantics, not just a lower latency sample. Preserve any uncertain publication results caused by interrupted writers.

The pagination guide explains how to inspect a namespace without treating one response as a complete listing. The version-identity guide explains why a matching key alone may select different stored contents.

What this does not establish

A completed reshard is not a migration certificate for object payloads, an application transaction, or proof that lifecycle processing is correct on every historical bucket. Verify those concerns independently when relevant. This article proposes no production reshard operation and reports no benchmark; it defines the state and object-level evidence needed to make the maintenance claim precise.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles