MCPcopy Create free account
hub / github.com/apple/foundationdb / resetHeadReader

Method resetHeadReader

fdbserver/VersionedBTree.actor.cpp:1179–1182  ·  view source on GitHub ↗

Reset the head reader (this is used only for extent based remap queue after recovering the remap queue contents via fastpath extent reads)

Source from the content-addressed store, hash-verified

1177 // Reset the head reader (this is used only for extent based remap queue after recovering the remap
1178 // queue contents via fastpath extent reads)
1179 void resetHeadReader() {
1180 headReader.resetRead();
1181 debug_printf("FIFOQueue(%s) read cursor reset\n", name.c_str());
1182 }
1183
1184 // Fast path extent peekAll (this zooms through the queue reading extents at a time)
1185 // Output interface is a promise stream and one vector of results per extent found is sent to the promise stream

Callers 2

recoverFunction · 0.80

Calls 2

resetReadMethod · 0.80
c_strMethod · 0.45

Tested by

no test coverage detected