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

Method Reload

pkg/topom/topom.go:412–421  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

410}
411
412func (s *Topom) Reload() error {
413 s.mu.Lock()
414 defer s.mu.Unlock()
415 _, err := s.newContext()
416 if err != nil {
417 return err
418 }
419 defer s.dirtyCacheAll()
420 return nil
421}
422
423func (s *Topom) serveAdmin() {
424 if s.IsClosed() {

Callers

nothing calls this directly

Calls 2

newContextMethod · 0.95
dirtyCacheAllMethod · 0.95

Tested by

no test coverage detected