couchbase / sync_gateway

Manages access and synchronization between Couchbase Lite and Couchbase Server
https://www.couchbase.com/products/sync-gateway
Other
447 stars 138 forks source link

CBG-3026: Use `DatabaseInitManager` in all GSI cases #7121

Closed bbrks closed 3 days ago

bbrks commented 4 weeks ago

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