Skip to content

Commit 6e1305f

Browse files
Merge pull request #311084 from jainanmolmsft/docs-editor/object-replication-configure-1769716806
Update object-replication-configure.md
2 parents 6efcd5c + 5b94127 commit 6e1305f

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

articles/storage/blobs/object-replication-configure.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,11 +472,33 @@ az storage account or-policy delete \
472472

473473
N/A
474474

475+
## Behavior when re-creating an object replication policy
476+
477+
478+
When an object replication policy is deleted and re‑created on the same source and destination container pair, Azure treats the new policy as an entirely separate replication relationship. The following behavior applies: 
479+
480+
- A new policy ID is generated for the re‑created policy. 
481+
482+
- Any replication tasks associated with the previous policy are terminated. 
483+
484+
- The destination container is assigned a new replication lock tied to the new policy ID. 
485+
486+
- Replication state from the previous policy is not reused. 
487+
488+
## Replication behavior after re‑creating an object replication policy 
489+
490+
After the policy is re‑created, Azure attempts replication again for eligible blobs, and the outcome depends on the availability of blob version history on the source account: 
491+
492+
- **If a source blob has no previous versions available on the destination:** Azure determines that the blob has already been copied under a prior policy. Re‑replication of that blob does not succeed. Only new blob writes (or new versions created after the policy is re‑created) replicate successfully. 
493+
494+
- **If a source blob has previous versions available on the destination:** Azure is able to re‑replicate the blob. The blob is copied again to the destination as a new version. This enables successful re‑replication of existing blobs without data inconsistency. 
495+
475496
---
476497

477498
## Next steps
478499

479500
- [Object replication for block blobs](object-replication-overview.md)
480501
- [Prevent object replication across Microsoft Entra tenants](object-replication-prevent-cross-tenant-policies.md)
481502
- [Enable and manage blob versioning](versioning-enable.md)
503+
482504
- [Process change feed in Azure Blob storage](storage-blob-change-feed-how-to.md)

0 commit comments

Comments
 (0)