...
BugZero found this defect 345 days ago.
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.
uladzimir.makouski commented on Wed, 31 Jul 2024 11:38:31 +0000: Reoccurred on v7.3 branch: BFG-2502976 xgen-internal-githook commented on Fri, 2 Feb 2024 02:24:11 +0000: 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 xgen-internal-githook commented on Tue, 30 Jan 2024 14:02:16 +0000: 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 xgen-internal-githook commented on Tue, 30 Jan 2024 02:10:01 +0000: 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