Details
- 
    Bug 
- 
    Status: Open
- 
     Medium Medium
- 
    Resolution: Unresolved
- 
    Xray Cloud 6.10.0
- 
    None
- 
    None
- 
    Cloud 
Description
When both Xray Standard and Xray Enterprise are installed, the data residency migration may fail or behave inconsistently.
This happens because both apps attempt to run the data residency migration simultaneously, resulting in overlapping operations on the same data. Depending on timing and execution order, this can cause conflicts such as duplicate key errors.
Example error:
E11000 duplicate key error collection: <tenant>.templates.files index: _id_ dup key
Â
Expected behavior: When both apps are installed, only one migration should handle the shared data to avoid conflicts.