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

Struct bypassChannelCache

db/channel_cache_single.go:834–837  ·  view source on GitHub ↗

A bypassChannelCache serves GetChanges requests directly via query

Source from the content-addressed store, hash-verified

832
833// A bypassChannelCache serves GetChanges requests directly via query
834type bypassChannelCache struct {
835 channel channels.ID
836 queryHandler ChannelQueryHandler
837}
838
839// Get Changes uses high sequence value (math.MaxUint64) as the upper bound. Relies on changes processing
840// to apply HighCachedSequence filtering - same approach used by singleChannelCacheImpl.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected