[SERVER-75725] Control TaskExecutorCursor's connection-pinning behavior with a server parameter Created: 05/Apr/23  Updated: 29/Oct/23  Resolved: 10/Apr/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.0.0-rc0, 6.0.6

Type: Improvement Priority: Major - P3
Reporter: George Wangensteen Assignee: George Wangensteen
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:
v6.3, v6.0
Sprint: Service Arch 2023-04-17
Participants:

 Description   

Use the server parameter we added for the purpose of controlling TaskexecutorCursor's connection-pinning behavior to actually gate whether or not TaskExecutorCursor pins connections. Additionally add testing to ensure that all the search test run with this parameter enabled. 



 Comments   
Comment by Githook User [ 18/Apr/23 ]

Author:

{'name': 'George Wangensteen', 'email': 'george.wangensteen@mongodb.com', 'username': 'gewa24'}

Message: SERVER-75725 Control TaskExecutorCursor's connection-pinning behavior with a server parameter and add appropriate testing. In this PR, we:

  • Remove the now-obsolete getCallbackHandle interface from TEC.
  • Hook up the TEC default pinConnection-parameter to the relevant server parameter
  • Add a new suite running all search tests with that server parameter enabled
  • Fix a small bug to ensure we use the SSL mode provided by the request in PCTE
  • Fix a small bug to appropriately handle the case where we can't acquire a stream from the transport layer

(cherry picked from commit c6e5701933a98b4fe91c2409c212fcce2d3d34f0)
Branch: v6.0
https://github.com/mongodb/mongo/commit/b5258fe4fa6bd064906d308d9a25dcbbd4fc6f28

Comment by Githook User [ 10/Apr/23 ]

Author:

{'name': 'George Wangensteen', 'email': 'george.wangensteen@mongodb.com', 'username': 'gewa24'}

Message: SERVER-75725 Control TaskExecutorCursor's connection-pinning behavior with a server parameter and add appropriate testing. In this PR, we:

  • Remove the now-obsolete getCallbackHandle interface from TEC.
  • Hook up the TEC default pinConnection-parameter to the relevant server parameter
  • Add a new suite running all search tests with that server parameter enabled
  • Fix a small bug to ensure we use the SSL mode provided by the request in PCTE
  • Fix a small bug to appropriately handle the case where we can't acquire a stream from the transport layer
    Branch: master
    https://github.com/mongodb/mongo/commit/c6e5701933a98b4fe91c2409c212fcce2d3d34f0
Generated at Thu Feb 08 06:30:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.