Commit da9df3d
committed
Make connection errors display backwards compatible
Only show connection errors in the per-second progress output
when there are actual errors. This ensures the output format
remains backwards compatible with existing scripts and tools
that parse memtier output.
Before:
[RUN #1 50%, 10 secs] 4 threads 20 conns 0 conn errors: 1000 ops...
After (no errors):
[RUN #1 50%, 10 secs] 4 threads 20 conns: 1000 ops...
After (with errors):
[RUN #1 50%, 10 secs] 4 threads 20 conns 5 conn errors: 1000 ops...
Also added ThreadSanitizer suppressions for connection error
tracking functions to match existing suppressions for other
stats counters.1 parent 45469b5 commit da9df3d
1 file changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1520 | 1520 | | |
1521 | 1521 | | |
1522 | 1522 | | |
1523 | | - | |
1524 | | - | |
| 1523 | + | |
| 1524 | + | |
| 1525 | + | |
| 1526 | + | |
| 1527 | + | |
| 1528 | + | |
| 1529 | + | |
| 1530 | + | |
1525 | 1531 | | |
1526 | 1532 | | |
1527 | 1533 | | |
| |||
0 commit comments