Operational Defect Database

BugZero found this defect 2535 days ago.

MongoDB | 365364

[SERVER-28349] Process output logs generated by hang_analyzer are missing stderr

Last update date:

12/6/2017

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

3.4.5

3.5.6

Description:

Info

The work done in SERVER-27869 created a log output for each process analyzed in hang_analyzer.py. Log output are saved in a process specific file, i.e., debugger_mongod_1234.log. Any error message sent to stderr are missing from this log and need to be captured as well.

Top User Comments

xgen-internal-githook commented on Fri, 28 Apr 2017 20:36:09 +0000: Author: {u'username': u'elouie99', u'name': u'Eddie Louie', u'email': u'eddie.louie@mongodb.com'} Message: SERVER-28349 Redirect stderr to stdout for process output logs generated by hang_analyzer (cherry picked from commit 7c14dc3bd539bd732f61d24a144f3f3800b8b9a8) Branch: v3.4 https://github.com/mongodb/mongo/commit/2c004a5453f535dd954fe682926f0e0a64c44a9d xgen-internal-githook commented on Mon, 3 Apr 2017 16:31:09 +0000: Author: {u'username': u'elouie99', u'name': u'Eddie Louie', u'email': u'eddie.louie@mongodb.com'} Message: SERVER-28349 Redirect stderr to stdout for process output logs generated by hang_analyzer Branch: master https://github.com/mongodb/mongo/commit/7c14dc3bd539bd732f61d24a144f3f3800b8b9a8 max.hirschhorn@10gen.com commented on Wed, 22 Mar 2017 23:46:57 +0000: It's probably sufficient to redirect the stderr of the process to stdout using subprocess.STDOUT rather than introducing a separate LoggerPipe for stderr.

Additional Resources / Links

Share:

BugZero Risk Score

Coming soon

Status

Closed

Have you been affected by this bug?

cost-cta-background

Do you know how much operational outages are costing you?

Understand the cost to your business and how BugZero can help you reduce those costs.

Discussion

Login to read and write comments.

Have you ever...

had your data corrupted from a

VMware

bug?

Search:

...