Skip to content

Commit

Permalink
Merge pull request #797 from Expensify/master
Browse files Browse the repository at this point in the history
Update expensify_prod branch
  • Loading branch information
rafecolton committed May 18, 2020
2 parents 12fc3aa + cc18db7 commit e077d74
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions sqlitecluster/SQLiteNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2259,11 +2259,6 @@ void SQLiteNode::handleBeginTransaction(Peer* peer, const SData& message) {
commandIt->second->transaction = message;
}

// calculate and log replication timers
if (leaderSentTimestamp > followerDequeueTimestamp) {
SWARN("Leader replication timestamp is " << (leaderSentTimestamp - followerDequeueTimestamp) << " usecs newer than our timestamp. Possible clock synchronization issue.");
leaderSentTimestamp = followerDequeueTimestamp;
}
uint64_t transitTimeUS = followerDequeueTimestamp - leaderSentTimestamp;
uint64_t applyTimeUS = STimeNow() - followerDequeueTimestamp;
float transitTimeMS = (float)transitTimeUS / 1000.0;
Expand Down

0 comments on commit e077d74

Please sign in to comment.