[CSHARP-508] VerifyState in MongoServer throws an exception if the replica set has added or removed members Created: 20/Jun/12 Updated: 02/Apr/15 Resolved: 01/Jul/12 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | None |
| Affects Version/s: | 1.4.2 |
| Fix Version/s: | 1.5 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Robert Stam | Assignee: | Robert Stam |
| Resolution: | Done | Votes: | 3 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Description |
|
VerifyState throws an exception if as a result of verifying an instance state a member is added or removed from the replica set, because that changes the collection while it is in the middle of enumerating over it. It should make a copy of the collection and enumerate over the copy. |
| Comments |
| Comment by auto [ 30/Jun/12 ] |
|
Author: {u'date': u'2012-06-29T15:32:00-07:00', u'email': u'robert@10gen.com', u'name': u'rstam'}Message: |