If nModified cannot be returned, like with a legacy write using GLE, then it should be excluded to indicate it is not valid. This is true in both the shell, and server (including mongos).
- is duplicated by
-
SERVER-13093 mongos update command implementation should omit nModified if forced to down-convert
- Closed
- is related to
-
DRIVERS-144 nModified should be null from legacy writes
- Closed
-
DRIVERS-145 Don't include the nModified field in Bulk API results if talking to a legacy server via mongos
- Closed
- related to
-
SERVER-13210 nModified should be 0 when a write error occurs.
- Closed