[SERVER-41465] fassert when applying operations for transactions on secondaries Created: 03/Jun/19  Updated: 29/Oct/23  Resolved: 03/Jun/19

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 4.2.1, 4.3.1

Type: Improvement Priority: Major - P3
Reporter: Jason Chan Assignee: Jason Chan
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.2
Participants:

 Description   

Since _applyOperationsForTransaction should never fail on secondaries, we should fassert the status instead of returning the status if it fails. This will help with diagnosing BFs like BF-13078.



 Comments   
Comment by Githook User [ 14/Aug/19 ]

Author:

{'username': 'jasonjhchan', 'email': 'jason.chan@10gen.com', 'name': 'Jason Chan'}

Message: SERVER-41465 fassert when applying operations for transactions on secondaries

(cherry picked from commit 5e527a2b4771af491d1b7b8365f6e8e77c377bc6)
Branch: v4.2
https://github.com/mongodb/mongo/commit/574397e5c6cfdf9074d2863a7ad72500b262ba26

Comment by Githook User [ 04/Jun/19 ]

Author:

{'name': 'Jason Chan', 'email': 'jason.chan@10gen.com', 'username': 'jasonjhchan'}

Message: SERVER-41465 Update fassert to assert the status rather than status.isOK()
Branch: master
https://github.com/mongodb/mongo/commit/310408e0b938d66586e0c2aa4ff6c3d823aa07cc

Comment by Githook User [ 03/Jun/19 ]

Author:

{'name': 'Jason Chan', 'email': 'jason.chan@10gen.com', 'username': 'jasonjhchan'}

Message: SERVER-41465 fassert when applying operations for transactions on secondaries
Branch: master
https://github.com/mongodb/mongo/commit/5e527a2b4771af491d1b7b8365f6e8e77c377bc6

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