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

Method SetFailoverEntries

base/dcp_client_metadata.go:57–57  ·  view source on GitHub ↗

SetFailoverEntries sets the failover history (vbuUUID, seq) for a vbucket

(vbID uint16, entries []gocbcore.FailoverEntry)

Source from the content-addressed store, hash-verified

55
56 // SetFailoverEntries sets the failover history (vbuUUID, seq) for a vbucket
57 SetFailoverEntries(vbID uint16, entries []gocbcore.FailoverEntry)
58
59 // Persist writes the metadata for the specified workerID and vbucket IDs to the backing store
60 Persist(ctx context.Context, workerID int, vbIDs []uint16)

Callers 1

openStreamRequestMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected