Changes to InitSyncInfo to return requires migration if the collection needs it (if sync info is missing altogether or is metaVersion is not equal to 4.0)
Stores collections that require migration on the db context
Initiates a new Attachment migration manager upon db startup, will trigger this job based upon existence of collections that require migrating
Changes as purging of dcp checkpoints weren't happening as expected
Changed to way we build collection IDs for dcp client. Changes will mean we only run dcp feeds against collections wee need for migration. This will make less overhead for updating a db to include a new collection when the other collection(s) have already been migrated.
CBG-4212
InitSyncInfo
to return requires migration if the collection needs it (if sync info is missing altogether or ismetaVersion
is not equal to 4.0)Pre-review checklist
fmt.Print
,log.Print
, ...)base.UD(docID)
,base.MD(dbName)
)docs/api
Integration Tests
GSI=true,xattrs=true
https://jenkins.sgwdev.com/job/SyncGateway-Integration/2752/