[SERVER-5207] possible for writes/updates miss config change without SCE during auto-update of versions in _check Created: 05/Mar/12 Updated: 15/Aug/12 Resolved: 02/May/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | 2.1.1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Greg Studer | Assignee: | Greg Studer |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
Before we return a sharded connection we check that the version is up-to-date on all connections to that namespace. This check does not throw a stale config exception, and prevents further stale config exceptions. In write operations, we first find a chunk for the update with given config data then assume we'll get a stale config exception if this config data changes before we use it. Since the config data changes without throwing this exception and the config data is also up-to-date, we don't get an exception or a writeback. Could be other complications. |