Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/CodisLabs/codis
/ dirtySentinelCache
Method
dirtySentinelCache
pkg/topom/topom_cache.go:36–40 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
34
}
35
36
func
(s *Topom) dirtySentinelCache() {
37
s.cache.hooks.PushBack(
func
() {
38
s.cache.sentinel = nil
39
})
40
}
41
42
func
(s *Topom) dirtyCacheAll() {
43
s.cache.hooks.PushBack(
func
() {
Callers
6
GroupAddServer
Method · 0.95
GroupDelServer
Method · 0.95
GroupPromoteServer
Method · 0.95
AddSentinel
Method · 0.95
DelSentinel
Method · 0.95
ResyncSentinels
Method · 0.95
Calls
1
PushBack
Method · 0.45
Tested by
no test coverage detected