[SERVER-13286] 'ok' property never set in Bulk api Created: 19/Mar/14  Updated: 12/Dec/23

Status: Backlog
Project: Core Server
Component/s: Shell
Affects Version/s: 2.6.0-rc1
Fix Version/s: None

Type: Bug Priority: Trivial - P5
Reporter: Randolph Tan Assignee: Backlog - Cluster Scalability
Resolution: Unresolved Votes: 0
Labels: RachitaD
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Cluster Scalability
Operating System: ALL
Participants:

 Description   

The shell never seem to set this value. We should remove it if it's not relevant.

Code in question:
https://github.com/mongodb/mongo/blob/r3.1.2/src/mongo/shell/bulk_api.js#L113
https://github.com/mongodb/mongo/blob/r3.1.2/src/mongo/shell/bulk_api.js#L220



 Comments   
Comment by Randolph Tan [ 16/Nov/15 ]

Note: WriteResult/BulkWriteResult are the result objects the shell returns when using the bulk api. The ok field is returned as part of the result, but the value it used to set it was never initialized or set. So I propose we get rid of it to avoid confusion.

Generated at Thu Feb 08 03:31:14 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.