Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-57297

Support OP_MSG exhaust cursors on mongos

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Sharding NYC
    • Minor Change
    • Sharding NYC 2023-07-10, Sharding NYC 2023-07-24, Sharding NYC 2023-08-07

      SERVER-36105 added support for OP_MSG exhaust cursors for both mongod and mongos in 4.2. Later in SERVER-44517 support for exhaust on mongos was removed in 4.4 (for the good reason that the mongos code path was untested). This ticket request that OP_MSG exhaust cursors be officially supported on mongos.

      DRIVERS-535 depends on this feature since we don't want to add a feature to drivers which doesn't work in sharded clusters. The motivation is that exhaust cursors can provide better query performance.

      Another potential improvement is for Load Balanced clusters. When the driver is connected through a load balancer it automatically pins the connection to the cursor. Since the connection is already pinned, it would be possible to automatically use exhaust cursors to (potentially) improve performance.

            Assignee:
            israel.hsu@mongodb.com Israel Hsu
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: