MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / strChildType

Function strChildType

src/server.cpp:1715–1723  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1713}
1714
1715const char *strChildType(int type) {
1716 switch(type) {
1717 case CHILD_TYPE_RDB: return "RDB";
1718 case CHILD_TYPE_AOF: return "AOF";
1719 case CHILD_TYPE_LDB: return "LDB";
1720 case CHILD_TYPE_MODULE: return "MODULE";
1721 default: return "Unknown";
1722 }
1723}
1724
1725/* Return true if there are active children processes doing RDB saving,
1726 * AOF rewriting, or some side process spawned by a loaded module. */

Callers 1

checkChildrenDoneFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected