-
Type: Improvement
-
Resolution: Duplicate
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Shell
-
None
-
(copied to CRM)
A customer received the following error after running a very long aggregation call:
2019-04-16T17:22:08.856+0200 E - [main] Error saving history file: FileOpenFailed: Unable to open() file : Unknown error 2019-04-16T17:22:08.856+0200 I CONTROL [main] shutting down with code:0
This seems to be from src/mongo/shell/dbshell.cpp
The shell seems to be unable to open the file it uses to save the command history. Can we change the logic to surface the underlying error code the open() syscall is throwing?
- duplicates
-
SERVER-41047 errnoWithDescription always returns "Unknown error" on Linux
- Closed
-
SERVER-31077 do not attempt to save history to a blank filename
- Closed
- is duplicated by
-
TOOLS-2263 Mongo shell should surface errors from open() syscall
- Closed