consensus: bring back log.Error statement#4899
Conversation
|
👋 Thanks for creating a PR! Before we can merge this PR, please make sure that all the following items have been
Thank you for your contribution to Tendermint! 🚀 |
|
Is the original halt problem here from a test environment? That does not surprise me, since the tests can be extremely verbose, on the order of 100 MB per run. CI environments save log output to disk, and are usually fairly resource constrained, and so if we output a lot of log data (which we do during consensus tests) then the logging may block. Not sure why this log line in particular causes it though - possibly because log.Error goes to stderr or something. |
Codecov Report
@@ Coverage Diff @@
## master #4899 +/- ##
==========================================
- Coverage 62.92% 62.76% -0.16%
==========================================
Files 198 198
Lines 20011 20013 +2
==========================================
- Hits 12592 12562 -30
- Misses 6394 6421 +27
- Partials 1025 1030 +5
|
Refs #3406
cs.Logger is protected by a global mutex, so it cannot be a reason for
the halt in #3401.