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

Method _setInitialSequence

db/change_cache.go:986–989  ·  view source on GitHub ↗

Set the initial sequence. Presumes that change cache is already locked.

(initialSequence uint64)

Source from the content-addressed store, hash-verified

984
985// Set the initial sequence. Presumes that change cache is already locked.
986func (c *changeCache) _setInitialSequence(initialSequence uint64) {
987 c.initialSequence = initialSequence
988 c.nextSequence = initialSequence + 1
989}
990
991// Concurrent-safe get value of nextSequence
992func (c *changeCache) getNextSequence() (nextSequence uint64) {

Callers 1

StartMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected