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

Method RemoveWithCV

db/revision_cache_interface.go:57–57  ·  view source on GitHub ↗

RemoveWithCV evicts a revision from the cache using its current version.

(ctx context.Context, docID string, cv *Version, collectionID uint32)

Source from the content-addressed store, hash-verified

55
56 // RemoveWithCV evicts a revision from the cache using its current version.
57 RemoveWithCV(ctx context.Context, docID string, cv *Version, collectionID uint32)
58
59 // RemoveRevOnly removes the specified key from the revID lookup map in the cache
60 RemoveRevOnly(ctx context.Context, docID, revID string, collectionID uint32)

Callers 6

TestGetActiveFunction · 0.65
RemoveWithCVMethod · 0.65
RemoveWithCVMethod · 0.65
resolveLocalWinsHLVMethod · 0.65

Implementers 4

collectionRevisionCachedb/revision_cache_interface.go
BypassRevisionCachedb/revision_cache_bypass.go
ShardedLRURevisionCachedb/revision_cache_lru.go
LRURevisionCachedb/revision_cache_lru.go

Calls

no outgoing calls