-
Type: Bug
-
Resolution: Done
-
Priority: Critical - P2
-
Affects Version/s: 1.4
-
Component/s: None
-
Labels:
-
Environment:Ubuntu 12.04.4 LTS, MongoDB 2.4.7, replica set with 2 members
-
Empty show more show less
Note: this issue does not refer to concurrent writes on the same file and it is not related to NODE-157. This is a problem introduced with version 1.4.0, reproducible in 1.4.1 as well. Not reproducible with version 1.3.23.
Writing two or more different files concurrently from different node processes using the GridStore.writeFile command results in some files not being correctly written (ending up with a number of corrupt files in the gridstore). Ending up with corrupt files even with all writeFile calls being successfull and no indication of error. writeFile occasionally fails with error "chunks out of order", but this happens very rarely (something like 1 failed writeFile for 100 corrupt files or more).