-
Type: Improvement
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: 4.4.5
-
Component/s: None
-
Fully Compatible
-
v5.0, v4.4
-
Execution Team 2021-05-31
Currently we print this error in the log:
{"t":{"$date":"2021-04-23T20:15:36.232+00:00"},"s":"E", "c":"-", "id":23077, "ctx":"IndexBuildsCoordinatorMongod-1214","msg":"Assertion","attr":{"error":"Location16821: error writing to file \"/srv/mongodb/redacted_host_name/_tmp/extsort-index.1227\": errno:28 No space left on device","file":"src/mongo/db/sorter/sorter.cpp","line":1039}} {"t":{"$date":"2021-04-23T20:15:36.239+00:00"},"s":"I", "c":"STORAGE", "id":20649, "ctx":"IndexBuildsCoordinatorMongod-1214","msg":"Index build failed","attr":{"buildUUID":{"uuid":{"$uuid":"c75a6c95-84ea-4b92-9932-1431e4c4795c"}},"namespace":"redacted_namespace","uuid":{"uuid":{"$uuid":"c37b027a-3026-41ce-ade7-0113bf5dc57d"}},"error":{"code":16821,"codeName":"Location16821","errmsg":"error writing to file \"/srv/mongodb/redacted_host_name/_tmp/extsort-index.1227\": errno:28 No space left on device"}}} {"t":{"$date":"2021-04-23T20:15:36.239+00:00"},"s":"F", "c":"-", "id":23081, "ctx":"IndexBuildsCoordinatorMongod-1214","msg":"Invariant failure","attr":{"expr":"status.isA<ErrorCategory::Interruption>() || status.isA<ErrorCategory::ShutdownError>()","msg":"Unnexpected error code during index build cleanup: Locat
But if we know that the cause was "No space left on device", can we replace the "Unnexpected error code during index build cleanup: Locat" with "No space left on device"?
- is related to
-
SERVER-9411 Minimal implementation that can replace BSONObjExtSorter and build indexes
- Closed
-
SERVER-35112 Remove MMAPv1 code
- Closed
-
SERVER-8412 repairDatabase: no Cloner, and use multi index builder
- Closed
- links to