Skip to content

Commit

Permalink
fix dual read data match log (#942)
Browse files Browse the repository at this point in the history
  • Loading branch information
bohhyang authored Oct 11, 2023
1 parent 5e63519 commit 9c59a4d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public void reportData(String propertyName, T property, String propertyVersion,
if (!isEqual(entry, newEntry))
{
_rateLimitedLogger.warn("Received mismatched properties from dual read. Old LB: {}, New LB: {}",
entry, newEntry);
fromNewLb ? entry : newEntry, fromNewLb ? newEntry : entry);
incrementEntryOutOfSyncCount(); // increment the out-of-sync count for the entry received later
}
else
Expand Down

0 comments on commit 9c59a4d

Please sign in to comment.