[SERVER-36664] Use awaitReplication in read_committed_with_catalog_changes.js instead of getLastError Created: 14/Aug/18  Updated: 29/Oct/23  Resolved: 14/Aug/18

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 3.6.8, 4.0.2, 4.1.3

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

Issue Links:
Backports
Depends
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.0, v3.6
Participants:
Linked BF Score: 13

 Description   

getLastError doesn't actually wait for write concern if the last operation on a client produced an error. We should use ReplSetTest.awaitReplication instead.



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

Author:

{'name': 'William Schultz', 'email': 'william.schultz@mongodb.com', 'username': 'will62794'}

Message: SERVER-36664 Use awaitReplication instead of getLastError in read_committed_with_catalog_changes.js

(cherry picked from commit 1e51304268103077fad1165b3c9bf13a56fda424)
Branch: v3.6
https://github.com/mongodb/mongo/commit/4b0a7be703aa9918895763c41ffc3db20c9c50a3

Comment by Githook User [ 14/Aug/18 ]

Author:

{'name': 'William Schultz', 'email': 'william.schultz@mongodb.com', 'username': 'will62794'}

Message: SERVER-36664 Use awaitReplication instead of getLastError in read_committed_with_catalog_changes.js

(cherry picked from commit 1e51304268103077fad1165b3c9bf13a56fda424)
Branch: v4.0
https://github.com/mongodb/mongo/commit/44b5c1197367d6cda1ad75d2f0860c3d3683b86e

Comment by Githook User [ 14/Aug/18 ]

Author:

{'name': 'William Schultz', 'email': 'william.schultz@mongodb.com', 'username': 'will62794'}

Message: SERVER-36664 Use awaitReplication instead of getLastError in read_committed_with_catalog_changes.js
Branch: master
https://github.com/mongodb/mongo/commit/1e51304268103077fad1165b3c9bf13a56fda424

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