[SERVER-47957] Set journaling to writeConcernMajorityJournalDefault when specifying write concern for inserts in rollback_test.js Created: 05/May/20  Updated: 29/Oct/23  Resolved: 11/May/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.7.0

Type: Task Priority: Major - P3
Reporter: Ali Mir Assignee: Ali Mir
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Problem/Incident
Related
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.4, v4.2, v4.0
Sprint: Repl 2020-05-18
Participants:
Linked BF Score: 50

 Description   

In rollback_test.js, when write concern is specified without j=true, restarting nodes will not apply the latest timestamps as they have not been journaled. We should make sure that we set j=true when specifying write concern in rollback_test.js.

 



 Comments   
Comment by Githook User [ 12/May/20 ]

Author:

{'name': 'Ali Mir', 'email': 'ali.mir@mongodb.com', 'username': 'ali-mir'}

Message: SERVER-47957 Set journaling to writeConcernMajorityJournalDefault when specifying write concern for inserts in rollback_test.js

(cherry picked from commit e1df22cefb30e43dd491591c7926e44d33af4119)
Branch: v4.4
https://github.com/mongodb/mongo/commit/25be01b24836c7131957a27545669d27fd9bca11

Comment by Githook User [ 11/May/20 ]

Author:

{'name': 'Ali Mir', 'email': 'ali.mir@mongodb.com', 'username': 'ali-mir'}

Message: SERVER-47957 Set journaling to writeConcernMajorityJournalDefault when specifying write concern for inserts in rollback_test.js
Branch: master
https://github.com/mongodb/mongo/commit/e1df22cefb30e43dd491591c7926e44d33af4119

Comment by Githook User [ 07/May/20 ]

Author:

{'name': 'Ali Mir', 'email': 'ali.mir@mongodb.com', 'username': 'ali-mir'}

Message: Revert "SERVER-47957 Set j=true when specifying write concern for inserts in rollback_test.js"

This reverts commit c89c879373a867d521d64534867df89124bcbb31.
Branch: v4.4
https://github.com/mongodb/mongo/commit/d56f965c475310d115356736ba8599992bdf3ee4

Comment by Githook User [ 07/May/20 ]

Author:

{'name': 'Ali Mir', 'email': 'ali.mir@mongodb.com', 'username': 'ali-mir'}

Message: Revert "SERVER-47957 Set j=true when specifying write concern for inserts in rollback_test.js"

This reverts commit 9481851d9efc69df06527aaf6e846db38188fbc8.
Branch: master
https://github.com/mongodb/mongo/commit/c969984b5f61baa0e045a499cee2c3a75883bf97

Comment by Githook User [ 07/May/20 ]

Author:

{'name': 'Ali Mir', 'email': 'ali.mir@mongodb.com', 'username': 'ali-mir'}

Message: SERVER-47957 Set j=true when specifying write concern for inserts in rollback_test.js

(cherry picked from commit 9481851d9efc69df06527aaf6e846db38188fbc8)
Branch: v4.4
https://github.com/mongodb/mongo/commit/c89c879373a867d521d64534867df89124bcbb31

Comment by Githook User [ 06/May/20 ]

Author:

{'name': 'Ali Mir', 'email': 'ali.mir@mongodb.com', 'username': 'ali-mir'}

Message: SERVER-47957 Set j=true when specifying write concern for inserts in rollback_test.js
Branch: master
https://github.com/mongodb/mongo/commit/9481851d9efc69df06527aaf6e846db38188fbc8

Generated at Thu Feb 08 05:15:43 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.