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

Method RemoveCVOnly

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

RemoveCVOnly removes the specified key from the HLV lookup map in the cache

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

Source from the content-addressed store, hash-verified

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)
64
65 // UpdateDelta stores the given toDelta value in the given rev if cached
66 UpdateDelta(ctx context.Context, docID, revID string, collectionID uint32, toDelta RevisionDelta)

Callers 3

DocChangedMethod · 0.65
RemoveCVOnlyMethod · 0.65
RemoveCVOnlyMethod · 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