MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / bdb_queue_dump

Function bdb_queue_dump

bdb/queue.c:1224–1236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1222}
1223
1224int bdb_queue_dump(bdb_state_type *bdb_state, FILE *out, int *bdberr)
1225{
1226 int rc;
1227
1228 BDB_READLOCK("bdb_queue_dump");
1229 if (bdb_state->bdbtype == BDBTYPE_QUEUEDB)
1230 rc = bdb_queuedb_dump(bdb_state, out, bdberr);
1231 else
1232 rc = bdb_queue_dump_int(bdb_state, out, bdberr);
1233 BDB_RELLOCK();
1234
1235 return rc;
1236}
1237
1238/* There's stuff in the queue that we don't have an active
1239 * consumer for. We will alarm on this as such items can lead

Callers 1

dbq_dumpFunction · 0.85

Calls 2

bdb_queuedb_dumpFunction · 0.85
bdb_queue_dump_intFunction · 0.85

Tested by

no test coverage detected