[SERVER-5358] After an upgrade, --shutdown fails to shutdown the old version of mongod Created: 22/Mar/12 Updated: 11/Jul/16 Resolved: 10/Apr/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Shell, Usability |
| Affects Version/s: | 2.0.3 |
| Fix Version/s: | 2.0.5, 2.1.1 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Thomas Dziedzic | Assignee: | Mathias Stearn |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
64bit archlinux |
||
| Attachments: |
|
| Backwards Compatibility: | Fully Compatible |
| Operating System: | Linux |
| Participants: |
| Description |
|
1. have mongodb 2.0.3 installed. It prints FAIL and in /var/log/mongodb/mongod.log I get: The problem here is the line at: Note, the daemon is using the mongod --shutdown flag to stop the daemon. |
| Comments |
| Comment by auto [ 19/Apr/12 ] |
|
Author: {u'login': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}Message: Don't check /proc/pid/exe in --shutdown It didn't mix well with updates. When the mongod binary is updated the |
| Comment by Thomas Dziedzic [ 11/Apr/12 ] |
|
@Mathias: Thanks for the the tip, I backported the fix to ensure proper handling of --logpath w/ shutdown and the fix for this bug report. Cheers! edit: forgot to mention I attached both the commits to this bug report for reference. |
| Comment by Mathias Stearn [ 10/Apr/12 ] |
|
@Thomas: if you backport that for the archlinux packages, you should also grab https://github.com/mongodb/mongo/commit/fa2e2ef95c5c934eef63fff4b98d5eb060c56539 to ensure proper handling of --logpath with --shutdown |
| Comment by auto [ 10/Apr/12 ] |
|
Author: {u'login': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}Message: Don't check /proc/pid/exe in --shutdown It didn't mix well with updates. When the mongod binary is updated the |