Skip to content

Commit 2b491ef

Browse files
committed
Merge remote-tracking branch 'origin/main' into masttf
2 parents 52ea549 + 29be291 commit 2b491ef

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/rmdb.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,8 @@ void *client_handler(void *sock_fd) {
207207
data_send[6] = '\0';
208208
offset = 6;
209209

210+
std::this_thread::sleep_for(std::chrono::milliseconds(3));
211+
210212
// 回滚事务
211213
txn_manager.abort(context.get());
212214
// if (txn_manager->should_perform_gc()) {

0 commit comments

Comments
 (0)