ID 518043 - To Editorial: Publishing a large amount of panels that have duplicated property takes an unnecessary amount of extra time compared to publishing the same number of panels that don't

Follow

Problem summary
Publishing a large amount of duplicated panels is incredibly and unnecessarily slow.
 
Customer reported version
Flix 6.4.1
 
Customer reported platform
macOS 12
 
Steps to reproduce
1) To ensure you reproduce the issue, have a Flix sequence revision with at least 1400 panels, all duplicates of other panels.

2) Publish to editorial without checking the Generate Dialogue File nor the Generate Contact Sheet checkboxes - this is to highlight the issue. 

3) Wait...
 
Expected behaviour
Publish should go through in a timely manner.
 
Actual behaviour
Publish takes an abnormal amount of time (two hours roughly). Removing the duplicated status of panels and publishing on the same environment makes it go through in 2 minutes.
 
Workaround
The workaround involves modifying the database directly. Please contact Foundry Support should you hit this bug so next steps can be defined.
 
Reproduced by support
This bug has been reproduced in:
6.4.1 - macOS 11.6.7 Client - CentOS 7 Server 
 
Unable to reproduce bug in:
6.3.7
 
Earliest version tested
6.3.7 - This issue doesn't appear in this version and has regressed

    We're sorry to hear that

    Please tell us why