Rework database initialization code to reuse DatabaseInitManager in all GSI cases (including persistent config) to centralize and de-duplicate index creation code.\
Pre-req for CBG-2838 to rearrange per-collection/system:indexes iteration logic to minimise collection overhead when building/waiting for indexes.
CBG-3026
Rework database initialization code to reuse
DatabaseInitManager
in all GSI cases (including persistent config) to centralize and de-duplicate index creation code.\Pre-req for CBG-2838 to rearrange per-collection/system:indexes iteration logic to minimise collection overhead when building/waiting for indexes.
Depends on
Integration Tests
GSI=true,xattrs=true
https://jenkins.sgwdev.com/job/SyncGateway-Integration/2751