MCPcopy Index your code
hub / github.com/CodisLabs/codis / contextCreateGroup

Function contextCreateGroup

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

Source from the content-addressed store, hash-verified

126}
127
128func contextCreateGroup(t *Topom, g *models.Group) {
129 t.dirtyGroupCache(g.Id)
130 assert.MustNoError(t.storeCreateGroup(g))
131}
132
133func contextRemoveGroup(t *Topom, g *models.Group) {
134 t.dirtyGroupCache(g.Id)

Callers 7

TestGroupRemoveFunction · 0.85
TestSlotActionPreparedFunction · 0.85
TestSlotActionMigratingFunction · 0.85
TestSlotActionFinishedFunction · 0.85
TestSlotsAssignGroupFunction · 0.85
TestSlotsRebalanceFunction · 0.85
TestRedisStatsFunction · 0.85

Calls 2

dirtyGroupCacheMethod · 0.80
storeCreateGroupMethod · 0.80

Tested by

no test coverage detected