AdobeDocs / experience-manager-cloud-manager.en

This is the repository for Adobe Experience Manager Cloud Manager documentation. Your contributions to the documentation are welcome.
https://experienceleague.adobe.com/en/docs/experience-manager-cloud-manager/content/introduction
Other
12 stars 31 forks source link

Content Downsync can cause Oak Conflict #70

Open pat-lego opened 4 months ago

pat-lego commented 4 months ago

The Content Downsync tool can cause an Oak conflict originating from here [1]. This occurs if the content was copied from source to target one time, and then the same content is copied from the same source to the same target but in a different location.

Of course there is a small probabilistic chance that there is a UUID collision, even if the use of the content copy tool was not executed. This is due to the fact that two of the exact same random UUID's can exist on two distinct systems causing a collision.

This should be disclosed to customers in the case that the content sync fails, one of the possible reasons is due to the fact that there was an oak conflict due to the unique constraint enforced by the UUID property index.

This information should be reflected in the Limitations section of the documentation.

[1] https://github.com/apache/jackrabbit-oak/blob/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/property/PropertyIndexEditor.java#L319-L340

aheim0 commented 4 months ago

Thanks for raising this - we will investigate.

aheim0 commented 4 months ago

@adobe export issue to Jira project CQDOC

github-jira-sync-bot commented 4 months ago

:white_check_mark: Jira issue CQDOC-21710 is successfully created for this GitHub issue.

aheim0 commented 4 months ago

@pat-lego

Can you please confirm which page of the documentation you are requesting be updated (the page with the Limitations section)?

Thanks.

pat-lego commented 4 months ago

This is for the following documentation https://experienceleague.adobe.com/en/docs/experience-manager-cloud-manager/content/using/content-copy

The Limitations section is omitting the fact that an Oak Conflict exception occurs when the following scenarios described in comment occurs.

aheim0 commented 4 months ago

@pat-lego Thanks for the additional information.