[SERVER-34160] Mongo client run buffered command when terminated. Created: 28/Mar/18 Updated: 29/Oct/23 Resolved: 26/Jun/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Shell |
| Affects Version/s: | 3.4.10 |
| Fix Version/s: | 3.4.17, 3.6.7, 4.0.1, 4.1.1 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | 아나 하리 | Assignee: | Jonathan Reams |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
|||||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | |||||||||||||||||||||||||||||||
| Operating System: | ALL | |||||||||||||||||||||||||||||||
| Backport Requested: |
v4.0, v3.6, v3.4
|
|||||||||||||||||||||||||||||||
| Steps To Reproduce: |
|
|||||||||||||||||||||||||||||||
| Sprint: | Platforms 2018-07-02 | |||||||||||||||||||||||||||||||
| Participants: | ||||||||||||||||||||||||||||||||
| Description |
|
When mongo client(mongo shell) is running within linux shell, I don't know this is mongo shell issue or linux terminal. This is relatively critical issue what command user typed on mongo client shell. |
| Comments |
| Comment by Githook User [ 10/Jul/18 ] | ||||||||||||||||||||||
|
Author: {'username': 'jbreams', 'name': 'Jonathan Reams', 'email': 'jbreams@mongodb.com'}Message: (cherry picked from commit 43695048b2359962549dc11ce7d075375b7fb3cf) | ||||||||||||||||||||||
| Comment by Githook User [ 10/Jul/18 ] | ||||||||||||||||||||||
|
Author: {'username': 'jbreams', 'name': 'Jonathan Reams', 'email': 'jbreams@mongodb.com'}Message: (cherry picked from commit 43695048b2359962549dc11ce7d075375b7fb3cf) | ||||||||||||||||||||||
| Comment by Githook User [ 10/Jul/18 ] | ||||||||||||||||||||||
|
Author: {'username': 'jbreams', 'name': 'Jonathan Reams', 'email': 'jbreams@mongodb.com'}Message: (cherry picked from commit 43695048b2359962549dc11ce7d075375b7fb3cf) | ||||||||||||||||||||||
| Comment by Githook User [ 26/Jun/18 ] | ||||||||||||||||||||||
|
Author: {'username': 'jbreams', 'name': 'Jonathan Reams', 'email': 'jbreams@mongodb.com'}Message: | ||||||||||||||||||||||
| Comment by Nick Brewer [ 18/Jun/18 ] | ||||||||||||||||||||||
|
Thanks for clarifying - I was able to reproduce this behavior in my testing. We'll keep this issue updated as we look into this further. Nick | ||||||||||||||||||||||
| Comment by 아나 하리 [ 15/Jun/18 ] | ||||||||||||||||||||||
|
Hi Nick.
For just checking in, I have killed linux shell process not mongo client shell process. Did you kill linux shell process during your test ?
The Linux distribution and version ( the output of cat /etc/os-release should contain everything, but it varies across distributions)
The specific terminal application you're using (Konsole, Terminator, xfce4-terminal, etc)
The shell (bash, zsh, etc), and shell version - the output of $SHELL --version should be enough
Logs from the time when you kill the mongo shell and the buffered command is run ==> Nothing in mongod.log and there's only "session terminating message" on /var/log/message.
| ||||||||||||||||||||||
| Comment by Nick Brewer [ 14/Jun/18 ] | ||||||||||||||||||||||
|
Hi matt.lee We've had some trouble recreating this on our end - just to confirm, are you able to reproduce this behavior? If so, I'd like to get some additional information about the environment you're using when you encounter this, specifically:
Thanks, |