[SERVER-35689] futurize the RSM API Created: 19/Jun/18  Updated: 29/Oct/23  Resolved: 20/Sep/18

Status: Closed
Project: Core Server
Component/s: Internal Code, Replication
Affects Version/s: None
Fix Version/s: 4.1.4

Type: New Feature Priority: Major - P3
Reporter: Mira Carey Assignee: Mathias Stearn
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-20902 Make RemoteCommandTargeter (and Repli... Closed
Backwards Compatibility: Fully Compatible
Sprint: Platforms 2018-09-24
Participants:

 Description   

At every current caller, call oldMethod().get().



 Comments   
Comment by Githook User [ 01/Oct/18 ]

Author:

{'name': 'Jason Carey', 'email': 'jcarey@argv.me', 'username': 'hanumantmk'}

Message: SERVER-37358 dont early return from ARS

As part of SERVER-35689, Replica set targeting was made async (but with
blocking in the ARS). But when we block on the returned future, we do
so via an opctx which isn't marked uninterruptible.

This means that opctx killing, or timing out, during scheduling leaves
dangling references to the ARS and the baton in the ARS destructor.
This in turn causes the invariant inside the baton to trigger.

The fix for now is to make that an uninterruptible wait
Branch: master
https://github.com/mongodb/mongo/commit/b757d87fc622d44b16013e2722832a655d7ca052

Comment by Githook User [ 20/Sep/18 ]

Author:

{'name': 'Mathias Stearn', 'email': 'mathias@10gen.com', 'username': 'RedBeard0531'}

Message: SERVER-35689 Futurize RSM API with temporary detached-thread implementation
Branch: master
https://github.com/mongodb/mongo/commit/a276b7b1d0cc1d8d1e35bc0a222d2b2cce64bf43

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