MCPcopy
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
36func (s *Topom) dirtySentinelCache() {
37 s.cache.hooks.PushBack(func() {
38 s.cache.sentinel = nil
39 })
40}
41
42func (s *Topom) dirtyCacheAll() {
43 s.cache.hooks.PushBack(func() {

Callers 6

GroupAddServerMethod · 0.95
GroupDelServerMethod · 0.95
GroupPromoteServerMethod · 0.95
AddSentinelMethod · 0.95
DelSentinelMethod · 0.95
ResyncSentinelsMethod · 0.95

Calls 1

PushBackMethod · 0.45

Tested by

no test coverage detected