[SERVER-20604] CSRS with protocol version 1 is slow when doing reads from secondaries Created: 24/Sep/15 Updated: 19/May/17 Resolved: 06/Oct/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication, Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 3.1.9 |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | Spencer Brody (Inactive) | Assignee: | Eric Milkie |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||||||||||
| Sprint: | RPL A (10/09/15) | ||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||
| Comments |
| Comment by Githook User [ 08/Oct/15 ] |
|
Author: {u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}Message: |
| Comment by Githook User [ 06/Oct/15 ] |
|
Author: {u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}Message: |
| Comment by Eric Milkie [ 02/Oct/15 ] |
|
Also, we need to send up the current known commit level, so that we can return immediately from getMore and not block, if the commit level has already advanced. Otherwise, we will block waiting for the AwaitData timeout and won't update the commit level in a timely manner. |
| Comment by Eric Milkie [ 02/Oct/15 ] |
|
This is partly due to AwaitData delaying the propagation of the commit level down to the secondaries from the primary. If we can signal the AwaitData to return immediately when the commit level changes, this should go a long way to speeding up reads from secondaries. |
| Comment by Spencer Brody (Inactive) [ 24/Sep/15 ] |
|
We should revert this line once this has been fixed |