We are upgrading from Confluence DC 7.11.2 to 8.5.4 and from SQl 2016 to SQL 2019 .
source 4 nodes running on 7.11.2 and destination 5 nodes to 8.5.4.
We will be restoring Db from 2016 to 2019 with compatibility mode set to 2016. On the destination we will be running 7.11.2 and after DB restore and NAS Sync we will do an upgrade to 8.5.4(by changing the symbolic link of install) followed by re-index.
My question is do shall we do a re-index when we restore onto 7.11.2 or directly perform a re-index after upgrade ?