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

Method RemoveRevOnly

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

RemoveRevOnly removes the specified key from the revID lookup map in the cache

(ctx context.Context, docID, revID string, collectionID uint32)

Source from the content-addressed store, hash-verified

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)
61
62 // RemoveCVOnly removes the specified key from the HLV lookup map in the cache
63 RemoveCVOnly(ctx context.Context, docID string, cv *Version, collectionID uint32)

Callers 4

DocChangedMethod · 0.65
RemoveRevOnlyMethod · 0.65
RemoveRevOnlyMethod · 0.65
updateAndReturnDocMethod · 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

Tested by

no test coverage detected