MCPcopy Create free account
hub / github.com/baidu/braft / install_thread

Function install_thread

test/test_snapshot_executor.cpp:262–268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260};
261
262void* install_thread(void* arg) {
263 InstallArg* ia = (InstallArg*)arg;
264 ia->e->install_snapshot(
265 &ia->cntl, &ia->request, &ia->response, &ia->done);
266 ia->done.wait();
267 return NULL;
268}
269
270TEST_F(SnapshotExecutorTest, retry_request) {
271 MockFSMCaller fsm_caller;

Callers

nothing calls this directly

Calls 2

install_snapshotMethod · 0.45
waitMethod · 0.45

Tested by

no test coverage detected