You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Server-side retry for conflicting rename operations #4729
When two rename operations happen at the same time, Polaris currently returns HTTP 503 (TARGET_ENTITY_CONCURRENTLY_MODIFIED). While this works, 503 usually means the server is unavailable and may cause clients or proxies to apply unnecessary backoff.
A better approach would be to retry conflicting rename operations on the server side so that temporary conflicts can be resolved automatically instead of returning an error to the client.
Hi @vigneshio, I’d like to work on this if it’s still available.
Approach: In LocalIcebergCatalog.renameTableLike, retry on TARGET_ENTITY_CONCURRENTLY_MODIFIED with bounded attempts, refresh the source via loadEntity between tries, and use Iceberg Tasks + backoff (as suggested on #4733). Add something like RENAME_RETRY_MAX_ATTEMPTS.
If retries are exhausted, keep current 503 + Retry-After and don’t retry resolution / already-exists cases.
6. Hi @vigneshio, I’d like to work on this if it’s still available. Approach: In LocalIcebergCatalog.renameTableLike, retry on TARGET_ENTITY_CONCURRENTLY_MODIFIED with bounded attempts, refresh the source via loadEntity between tries, and use Iceberg Tasks + backoff (as suggested on #4733). Add something like RENAME_RETRY_MAX_ATTEMPTS.
If retries are exhausted, keep current 503 + Retry-After and don’t retry resolution / already-exists cases.
Open to feedback on defaults or scope. Thanks!
Activity
github-actions commentedon Jul 13, 2026
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment if you think it's still relevant.
ArnabKarmakar1108 commentedon Oct 26, 2026
Hi @vigneshio, I’d like to work on this if it’s still available.
Approach: In
LocalIcebergCatalog.renameTableLike, retry onTARGET_ENTITY_CONCURRENTLY_MODIFIEDwith bounded attempts, refresh the source vialoadEntitybetween tries, and use Iceberg Tasks + backoff (as suggested on #4733). Add something likeRENAME_RETRY_MAX_ATTEMPTS.If retries are exhausted, keep current 503 + Retry-After and don’t retry resolution / already-exists cases.
Open to feedback on defaults or scope. Thanks!
vigneshio commentedon Oct 26, 2026
Hi @ArnabKarmakar1108, thanks for offering to help! @Sasilekha already has #4733 open for this, and it just got reopened..
ArnabKarmakar1108 commentedon Oct 27, 2026
Sure, I can take another look if the bot closes the PR again in case the owner is short on bandwidth to get to this.