[SERVER-42910] Oplog query with higher timestamp but lower term than the sync source shouldn't time out due to afterClusterTime Created: 20/Aug/19 Updated: 29/Oct/23 Resolved: 21/Aug/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 4.0.13, 4.2.1, 4.3.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Siyuan Zhou | Assignee: | Siyuan Zhou |
| Resolution: | Fixed | 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 | ||||||||||||||||||||
| Backport Requested: |
v4.2, v4.0
|
||||||||||||||||||||
| Sprint: | Repl 2019-08-26 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Description |
|
|
| Comments |
| Comment by Githook User [ 26/Sep/19 ] |
|
Author: {'username': 'visualzhou', 'email': 'siyuan.zhou@mongodb.com', 'name': 'Siyuan Zhou'}Message: (cherry picked from commit f54709196711c63a429b71f47c584661286d675f) |
| Comment by Githook User [ 05/Sep/19 ] |
|
Author: {'username': 'visualzhou', 'email': 'siyuan.zhou@mongodb.com', 'name': 'Siyuan Zhou'}Message: (cherry picked from commit f54709196711c63a429b71f47c584661286d675f) |
| Comment by Siyuan Zhou [ 23/Aug/19 ] |
|
We need to backport this to 4.2 since |
| Comment by Githook User [ 21/Aug/19 ] |
|
Author: {'name': 'Siyuan Zhou', 'email': 'siyuan.zhou@mongodb.com', 'username': 'visualzhou'}Message: |
| Comment by Siyuan Zhou [ 20/Aug/19 ] |
|
Good point! Agreed that we don't need to backport this liveness fix. |
| Comment by Eric Milkie [ 20/Aug/19 ] |
|
I'm not sure it's necessary? I thought the effect of this problem was simply that choosing a sync source for just the old primary might be delayed until a write happens, and for such nodes that experience this delay, they are destined to roll back anyway. |
| Comment by Siyuan Zhou [ 20/Aug/19 ] |
|
milkie, I think we should backport this everywhere |
| Comment by Eric Milkie [ 20/Aug/19 ] |
|
Definitely possible; the old primary can continue to accept writes in the old term for quite a while before it finally notices the term has changed. |
| Comment by Suganthi Mani [ 20/Aug/19 ] |
Is this even possible ? Or it's possible during primary drain mode? |