[SERVER-35919] Ensure all tests that "use transactions" perform collection drops with w:majority Created: 29/Jun/18  Updated: 29/Oct/23  Resolved: 26/Jul/18

Status: Closed
Project: Core Server
Component/s: Replication, Testing Infrastructure
Affects Version/s: None
Fix Version/s: 4.0.2, 4.1.2

Type: Bug Priority: Major - P3
Reporter: Judah Schvimer Assignee: Tess Avitabile (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
related to PHPC-1244 Use majority WC to drop/create collec... Closed
related to PHPLIB-377 Use majority WC to drop/create collec... Closed
is related to SERVER-34349 Wait for drop to be majority committe... Closed
is related to SERVER-35452 Build testing infrastructure to defau... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.0
Sprint: Repl 2018-07-30
Participants:
Linked BF Score: 55

 Description   

They should have to specify explicitly that they want to use a weaker write concern when needed.

kill_transaction_cursors_after_commit.js is an example of a test that needs this.



 Comments   
Comment by Githook User [ 06/Aug/18 ]

Author:

{'username': 'tessavitabile', 'name': 'Tess Avitabile', 'email': 'tess.avitabile@mongodb.com'}

Message: SERVER-35919 Ensure all tests that use transactions perform collection drops with w:majority

(cherry picked from commit 2a2630d2d38f215ab23c18876387f3296d485d2e)
Branch: v4.0
https://github.com/mongodb/mongo/commit/82b5a458341dca7a11e0678bff0917d050637ef7

Comment by Githook User [ 26/Jul/18 ]

Author:

{'name': 'Tess Avitabile', 'email': 'tess.avitabile@mongodb.com', 'username': 'tessavitabile'}

Message: SERVER-35919 Ensure all tests that use transactions perform collection drops with w:majority
Branch: master
https://github.com/mongodb/mongo/commit/2a2630d2d38f215ab23c18876387f3296d485d2e

Comment by Tess Avitabile (Inactive) [ 03/Jul/18 ]

This ticket should fix current tests that use transactions to use majority write concern for drops.

Comment by Judah Schvimer [ 29/Jun/18 ]

SERVER-34349 fixed all of the tests when it was introduced, but it didn't ensure that new tests don't make the same mistake.

Generated at Thu Feb 08 04:41:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.