MCPcopy Create free account
hub / github.com/antirez/disque / clusterLoadConfig

Function clusterLoadConfig

src/cluster.c:84–207  ·  view source on GitHub ↗

Load the cluster config from 'filename'. * * If the file does not exist or is zero-length (this may happen because * when we lock the nodes.conf file, we create a zero-length one for the * sake of locking if it does not already exist), C_ERR is returned. * If the configuration was loaded from the file, C_OK is returned. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

clusterInitFunction · 0.85

Calls 9

serverLogFunction · 0.85
zmallocFunction · 0.85
clusterLookupNodeFunction · 0.85
createClusterNodeFunction · 0.85
clusterAddNodeFunction · 0.85
zfreeFunction · 0.85
sdssplitargsFunction · 0.70
sdsfreesplitresFunction · 0.70
mstimeFunction · 0.70

Tested by

no test coverage detected