Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

fix: remove unused judgement of FLAGS_enable_latency_tracer in private log #1028

Merged
merged 1 commit into from
Jan 20, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions src/replica/mutation_log.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,7 @@ ::dsn::task_ptr mutation_log_private::append(mutation_ptr &mu,

_plock.lock();

if (dsn_unlikely(utils::FLAGS_enable_latency_tracer)) {
ADD_POINT(mu->_tracer);
}
ADD_POINT(mu->_tracer);

// init pending buffer
if (nullptr == _pending_write) {
Expand Down