MCPcopy Create free account
hub / github.com/couchbase/forestdb / e2e_fdb_commit

Function e2e_fdb_commit

tests/e2e/e2espec.cc:288–302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

286}
287
288void e2e_fdb_commit(fdb_file_handle* fhandle, bool walflush){
289
290 TEST_INIT();
291
292 fdb_status status;
293
294 if(walflush){
295 status = fdb_commit(fhandle, FDB_COMMIT_MANUAL_WAL_FLUSH);
296 } else { // normal
297 status = fdb_commit(fhandle, FDB_COMMIT_NORMAL);
298 }
299
300 TEST_CHK(status == FDB_RESULT_SUCCESS);
301
302}
303
304/*
305 * begin a new transaction and update storage state

Callers 5

verify_dbFunction · 0.85
replayFunction · 0.85
e2e_robust_patternFunction · 0.85
create_checkpointFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected