[CSHARP-737] Improve behavior of GridFS when using a ReadPreference other than Primay Created: 30/Apr/13 Updated: 20/Mar/14 Resolved: 03/May/13 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | None |
| Affects Version/s: | 1.8.1 |
| Fix Version/s: | 1.8.2 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Robert Stam | Assignee: | Robert Stam |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Currently when connected to a replica set and using MongoGridFSFileInfo or MongoGridFSStream with a ReadPreference other than Primary the reads can be distributed over different secondaries, possibly leading to inconsistent results if the different secondaries have different replication lags. Instead, MongoGridFSFileInfo and MongoGridFSStream should be bound to a specific secondary, so that all operations performed within the scope of the object go to the same secondary. |
| Comments |
| Comment by auto [ 03/May/13 ] |
|
Author: {u'date': u'2013-04-30T21:34:16Z', u'name': u'rstam', u'email': u'robert@10gen.com'}Message: |