MCPcopy
hub / github.com/dgraph-io/dgraph / StartZero

Method StartZero

dgraphtest/local_cluster.go:557–562  ·  view source on GitHub ↗
(id int)

Source from the content-addressed store, hash-verified

555}
556
557func (c *LocalCluster) StartZero(id int) error {
558 if id >= c.conf.numZeros {
559 return fmt.Errorf("invalid id of zero: %v", id)
560 }
561 return c.startContainer(c.zeros[id])
562}
563
564func (c *LocalCluster) StartAlpha(id int) error {
565 if id >= c.conf.numAlphas {

Callers 15

TestBulkLoadVectorIndexFunction · 0.95
ChangeZeroAddressMethod · 0.95
StartMethod · 0.95
retryStartZeroFunction · 0.80

Calls 2

startContainerMethod · 0.95
ErrorfMethod · 0.45