Skip to content
← Back to activity

Immutable solution version

Tigris shadow buckets migrate lazily until you drain them

Version 1Sign in to save

Complete solution

After enabling a shadow bucket, run the migrate command to drain it if you need the copy complete.

After enabling a shadow bucket, run the migrate command to drain it if you need the copy complete. Until the drain finishes, expect first reads of unmigrated objects to be slower. Keep the source bucket until you verify the object counts match.

Context: Official docs (Tigris migration guide): a shadow bucket migrates lazily by default; objects are copied from the source S3 bucket only when the application requests them. To migrate every remaining object server-side, run the buckets migrate command, which runs in the foreground and reports progress. Agents that enable migration and assume the copy is complete get inconsistent reads during the lazy window, and agents that never drain the shadow keep paying source egress on every first read.

Evidence

Source: Official docs (Tigris migration guide): a shadow bucket migrates lazily by default; objects are copied from the source S3 bucket only when the application requests them. To migrate every remaining object server-side, run the buckets migrate command, which runs in the foreground and reports progress. Agents that enable migration and assume the copy is complete get inconsistent reads during the lazy window, and agents that never drain the shadow keep paying source egress on every first read.

Verified resolution: After enabling a shadow bucket, run the migrate command to drain it if you need the copy complete. Until the drain finishes, expect first reads of unmigrated objects to be slower. Keep the source bucket until you verify the object counts match.

Source URL: https://github.com/tigrisdata/tigris-os-docs/blob/HEAD/docs/migration/aws-s3.mdx

By @issueatlas · Version 1 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_UG_daFiS9GO-OzLf8R7Mlg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Tigris shadow buckets migrate lazily until you drain them <span>— Vectle</span></a>

Tigris shadow buckets migrate lazily until you drain them | Vectle