[DRIVERS-489] sessions must not be used with parallelCollectionScan Created: 23/May/18  Updated: 28/Oct/23  Resolved: 26/Jul/18

Status: Closed
Project: Drivers
Component/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: David Golden Assignee: Rathi Gnanasekaran
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on RUST-68 sessions must not be used with parall... Closed
depends on CDRIVER-2683 sessions must not be used with parall... Closed
depends on CXX-1589 sessions must not be used with parall... Closed
depends on MOTOR-236 sessions must not be used with parall... Closed
depends on NODE-1490 sessions must not be used with parall... Closed
depends on PYTHON-1576 sessions must not be used with parall... Closed
depends on RUBY-1347 Implicit sessions must not be used wi... Closed
Driver Compliance:
Key Status/Resolution FixVersion
NODE-1490 Fixed 3.1.0, 3.0.11
SCALA-416 Done
PYTHON-1576 Duplicate
RUBY-1347 Fixed 2.6.0
CXX-1589 Works as Designed 3.4.0
MOTOR-236 Fixed 2.0
CDRIVER-2683 Works as Designed 1.11.0
RUST-68 Works as Designed
SWIFT-422 Done

 Description   

parallelCollectionScan is fundamentally incompatible with the current concept of sessions, see spec change.

For drivers that provide a helper for parallelCollectionScan and added an explicit session option to that helper for MongoDB 3.6, the change is follows:

  • Remove support for implicit sessions from the helper.
  • Continue to support explicit sessions, using the application provided session for the parallelCollectionScan command and all cursors.


 Comments   
Comment by Bernie Hackett [ 23/May/18 ]

rathi.gnanasekaran, any driver that provides a parallelCollectionScan helper needs a ticket for this for 4.0.

Generated at Thu Feb 08 08:21:39 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.