[SERVER-12995] Updating docs with bulk API does not affect nModified Created: 03/Mar/14 Updated: 10/Dec/14 Resolved: 03/Mar/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Shell, Write Ops |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Andreas Nilsson | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | 26qa | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Steps To Reproduce: |
returns
|
||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
Inserting and updating documents to an empty collection does not update the nModified return value. |
| Comments |
| Comment by Andreas Nilsson [ 03/Mar/14 ] | |
|
The issue was that I was using smoke.py which by default does not use write commands. Providing the --use-write-commands flag to smoke.py or using
to the shell will make it operate with write commands. However I find it rather confusing that nModified means different things depending on the mode the server and shell operates in. This should probably be documented in the shell bulk API section. |