MCPcopy
hub / github.com/CodisLabs/codis / contextUpdateGroup

Function contextUpdateGroup

pkg/topom/topom_cache_test.go:138–141  ·  view source on GitHub ↗
(t *Topom, g *models.Group)

Source from the content-addressed store, hash-verified

136}
137
138func contextUpdateGroup(t *Topom, g *models.Group) {
139 t.dirtyGroupCache(g.Id)
140 assert.MustNoError(t.storeUpdateGroup(g))
141}
142
143func contextCreateProxy(t *Topom, p *models.Proxy) {
144 t.dirtyProxyCache(p.Token)

Callers 9

TestSlotActionFunction · 0.85
TestSyncActionFunction · 0.85
TestGroupRemoveFunction · 0.85
TestGroupAddServerFunction · 0.85
TestGroupDelServerFunction · 0.85
TestGroupPromoteFunction · 0.85
TestSlotStateFunction · 0.85
TestSlotCreateActionFunction · 0.85
TestRedisStatsFunction · 0.85

Calls 2

dirtyGroupCacheMethod · 0.80
storeUpdateGroupMethod · 0.80

Tested by

no test coverage detected