[SERVER-2501] stopMongod may return while mongod process is still running Created: 09/Feb/11 Updated: 12/Jul/16 Resolved: 17/Mar/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.9.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Aaron Staple | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL |
| Participants: |
| Description |
|
Quoting myself from some earlier emails - not sure if there have been any code changes since these emails: > I think the implementation is supposed to be synchronous, but it looks like on windows it might not be. Were you seeing async behavior on windows only? ... > Should be easy to fix by checking if the status returned by GetExitCodeProcess is STILL_ACTIVE or not and only returning true in wait_for_pid if it is not. |
| Comments |
| Comment by Eliot Horowitz (Inactive) [ 17/Mar/11 ] |
|
believe my change worked |
| Comment by auto [ 10/Feb/11 ] |
|
Author: {u'login': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}Message: try to fix |
| Comment by auto [ 09/Feb/11 ] |
|
Author: {u'login': u'astaple', u'name': u'Aaron', u'email': u'aaron@10gen.com'}Message: add sleep in dumprestore2 to handle |