reduce log printing in sync_log_succ
This commit is contained in:
parent
c1ff5dd3aa
commit
8d51281eb2
@ -670,7 +670,10 @@ int ObMemtableCtx::sync_log_succ(const int64_t log_ts, const ObCallbackScope &ca
|
||||
TRANS_LOG(WARN, "sync log failed", K(ret));
|
||||
}
|
||||
} else {
|
||||
TRANS_LOG(INFO, "No memtable callbacks because of trans_end", K(end_code_), KPC(ctx_));
|
||||
if (!callbacks.is_empty()) {
|
||||
TRANS_LOG(INFO, "No memtable callbacks because of trans_end", K(end_code_), K(log_ts),
|
||||
KPC(ctx_));
|
||||
}
|
||||
}
|
||||
|
||||
return ret;
|
||||
@ -684,7 +687,9 @@ void ObMemtableCtx::sync_log_fail(const ObCallbackScope &callbacks)
|
||||
if (is_partial_rollbacked_() || OB_SUCCESS == ATOMIC_LOAD(&end_code_)) {
|
||||
log_gen_.sync_log_fail(callbacks);
|
||||
} else {
|
||||
TRANS_LOG(INFO, "No memtable callbacks because of trans_end", K(end_code_), KPC(ctx_));
|
||||
if (!callbacks.is_empty()) {
|
||||
TRANS_LOG(INFO, "No memtable callbacks because of trans_end", K(end_code_), KPC(ctx_));
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user