MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / purgeCheckpoints

Method purgeCheckpoints

db/active_replicator.go:369–377  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

367}
368
369func (ar *ActiveReplicator) purgeCheckpoints() {
370 if ar.Pull != nil {
371 _ = ar.Pull.reset()
372 }
373
374 if ar.Push != nil {
375 _ = ar.Push.reset()
376 }
377}
378
379// LoadReplicationStatus attempts to load both push and pull replication checkpoints, and constructs the combined status
380func LoadReplicationStatus(ctx context.Context, dbContext *DatabaseContext, replicationID string) (status *ReplicationStatus, err error) {

Callers 1

RefreshReplicationCfgMethod · 0.80

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected