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

Function rdbCheckInfo

src/redis-check-rdb.cpp:132–143  ·  view source on GitHub ↗

Print informations during RDB checking. */

Source from the content-addressed store, hash-verified

130
131/* Print informations during RDB checking. */
132void rdbCheckInfo(const char *fmt, ...) {
133 char msg[1024];
134 va_list ap;
135
136 va_start(ap, fmt);
137 vsnprintf(msg, sizeof(msg), fmt, ap);
138 va_end(ap);
139
140 printf("[offset %llu] %s\n",
141 (unsigned long long) (rdbstate.rio ?
142 rdbstate.rio->processed_bytes : 0), msg);
143}
144
145/* Used inside rdb.c in order to log specific errors happening inside
146 * the RDB loading internals. */

Callers 2

redis_check_rdbFunction · 0.85
redis_check_rdb_mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected