[CSHARP-580] Commands from Collection helper methods don't obey MongoCollection ReadPreference. Created: 26/Sep/12  Updated: 01/Oct/12  Resolved: 01/Oct/12

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: 1.6
Fix Version/s: 1.6.1

Type: Bug Priority: Major - P3
Reporter: Craig Wilson Assignee: Robert Stam
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends

 Description   

Commands that come from Collection helper methods like Count do not use the ReadPreference of the collection, but rather use the ReadPreference from the database.



 Comments   
Comment by auto [ 01/Oct/12 ]

Author:

{u'date': u'2012-10-01T13:40:12-07:00', u'email': u'robert@10gen.com', u'name': u'rstam'}

Message: CSHARP-580: alternative implementation that doesn't involve MongoCollection creating a new instance of MongoDatabase.
Branch: x2.0
https://github.com/mongodb/mongo-csharp-driver/commit/f51fc8fa1bb69313f6e3aa6b6cd33082068617c5

Comment by auto [ 01/Oct/12 ]

Author:

{u'date': u'2012-10-01T12:18:35-07:00', u'email': u'robert@10gen.com', u'name': u'rstam'}

Message: CSHARP-580: command based helper methods in MongoCollection should use the collection's ReadPreference.
Branch: x2.0
https://github.com/mongodb/mongo-csharp-driver/commit/7d9b8348dd29d3cab3ee31ad52c8439322d9b599

Comment by auto [ 01/Oct/12 ]

Author:

{u'date': u'2012-10-01T13:40:12-07:00', u'email': u'robert@10gen.com', u'name': u'rstam'}

Message: CSHARP-580: alternative implementation that doesn't involve MongoCollection creating a new instance of MongoDatabase.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/6be0e771804e575ab3161dbe1b4f690d4e2ee792

Comment by auto [ 01/Oct/12 ]

Author:

{u'date': u'2012-10-01T12:18:35-07:00', u'email': u'robert@10gen.com', u'name': u'rstam'}

Message: CSHARP-580: command based helper methods in MongoCollection should use the collection's ReadPreference.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/a6eafbd3dc6b798a0a71fc446590cfbac8ed662d

Generated at Wed Feb 07 21:37:15 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.