[JAVA-275] with default write concern (no getLastError), if master changes in repl set, small edge case where writes will fail undetected Created: 17/Feb/11 Updated: 17/Mar/11 Resolved: 17/Feb/11 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.5 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Antoine Girbal | Assignee: | Antoine Girbal |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
In case or reads, we always get an answer back from db and if it's an error saying "not master", we do a force check master. |
| Comments |
| Comment by Antoine Girbal [ 25/Feb/11 ] |
|
so only the former primary will drop all its connections?
|
| Comment by Dwight Merriman [ 25/Feb/11 ] |
|
the mongod server drops its priamry state, it will force a close of all sockets for this very reason. because of that, doesn't require special handling. |
| Comment by auto [ 17/Feb/11 ] |
|
Author: {u'login': u'agirbal', u'name': u'agirbal', u'email': u'antoine@10gen.com'}Message: |
| Comment by auto [ 17/Feb/11 ] |
|
Author: {u'login': u'agirbal', u'name': u'agirbal', u'email': u'antoine@10gen.com'}Message: |
| Comment by Antoine Girbal [ 17/Feb/11 ] |
|
this may not have been picked up earlier since as soon as you do a read() it will get error and force checkMaster. |