MCPcopy Create free account
hub / github.com/baidu/tera / StartRowTransaction

Method StartRowTransaction

src/observer/test/scanner_test.cc:138–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136 return new TestRowReader(this, row_key);
137 }
138 virtual Transaction* StartRowTransaction(const std::string& row_key) {
139 if (row_key == "empty_fail" || row_key == "900_fail") {
140 return new TestTransaction(1, thread_pool_, true);
141 }
142 return new TestTransaction(1, thread_pool_);
143 }
144 virtual RowMutation* NewRowMutation(const std::string& row_key) {
145 return new TestRowMutationImpl(this, row_key);
146 }

Callers 4

OnNotifyTestMethod · 0.45
PrepareNotifyCellMethod · 0.45
AsyncReadAckMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected