Skip to content

Commit

Permalink
Use Trace's own way to substitute strings for the probe stats
Browse files Browse the repository at this point in the history
Hopefully this fixes a regression to MRS inserts.

Change-Id: I970f4a3b75f181180bcf74f195edaeb579588f7c
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/5030
Tested-by: Todd Lipcon <[email protected]>
Reviewed-by: Todd Lipcon <[email protected]>
  • Loading branch information
Jean-Daniel Cryans authored and toddlipcon committed Oct 30, 2014
1 parent e477f0e commit e280f6b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/kudu/tablet/tablet_metrics.cc
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,10 @@ void TabletMetrics::AddProbeStats(const ProbeStats& stats) {
keys_consulted_per_op->Increment(stats.keys_consulted);
deltas_consulted_per_op->Increment(stats.deltas_consulted);

TRACE(Substitute("ProbeStats: blooms_consulted=$0,keys_consulted=$1,"
"deltas_consulted=$2,mrs_consulted=$3",
stats.blooms_consulted, stats.keys_consulted,
stats.deltas_consulted, stats.mrs_consulted));
TRACE("ProbeStats: blooms_consulted=$0,keys_consulted=$1,"
"deltas_consulted=$2,mrs_consulted=$3",
stats.blooms_consulted, stats.keys_consulted,
stats.deltas_consulted, stats.mrs_consulted);
}

} // namespace tablet
Expand Down

0 comments on commit e280f6b

Please sign in to comment.