[SERVER-85842] Create collection in batch_write_command_w0.js explicitly Created: 29/Jan/24  Updated: 02/Feb/24  Resolved: 02/Feb/24

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 8.0.0-rc0

Type: Bug Priority: Major - P3
Reporter: Adi Zaimi Assignee: Adi Zaimi
Resolution: Fixed Votes: 0
Labels: auto-reverted
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Fix
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:
Linked BF Score: 14

 Description   

Test fails when fcv is upgraded and downgraded because the implicit collection creation from an insert cmd is done with w:0 and thus error code is not propagated back to client which would in turn retry. Solution here is to simply create the collection explicitly.



 Comments   
Comment by Githook User [ 02/Feb/24 ]

Author:

{'name': 'Adi Zaimi', 'email': 'adizaimi@yahoo.com', 'username': 'adizaimi'}

Message: SERVER-85842: Create collection in batch_write_command_w0.js explicitly (#18541)

GitOrigin-RevId: 768a221253b16751167ad8e23e23867a5696db8c
Branch: master
https://github.com/mongodb/mongo/commit/c659a6c6106c779a3b2b562746d923bd7e32eba9

Comment by Githook User [ 30/Jan/24 ]

Author:

{'name': 'auto-revert-processor', 'email': 'dev-prod-dag@mongodb.com', 'username': ''}

Message: Revert "SERVER-85842: Create collection in batch_write_command_w0.js explicitly (#18464)"

This reverts commit 6caa450ffaa15464840547937ef0718dac2e3618.

GitOrigin-RevId: 289c23f780787bd3ad0b3610adcc9fbcb347aea0
Branch: master
https://github.com/mongodb/mongo/commit/68ff154aa91aed42109e653192efe840319e16fd

Comment by Githook User [ 30/Jan/24 ]

Author:

{'name': 'Adi Zaimi', 'email': 'adizaimi@yahoo.com', 'username': 'adizaimi'}

Message: SERVER-85842: Create collection in batch_write_command_w0.js explicitly (#18464)

GitOrigin-RevId: 6caa450ffaa15464840547937ef0718dac2e3618
Branch: master
https://github.com/mongodb/mongo/commit/e361fa9b809aac51f0195451cad278884aafc5b4

Generated at Thu Feb 08 06:58:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.