[SERVER-21988] Rollback does not wait for applier to finish before starting Created: 22/Dec/15 Updated: 15/Nov/21 Resolved: 08/Jan/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | 3.2.1 |
| Fix Version/s: | 3.2.3, 3.3.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Scott Hernandez (Inactive) | Assignee: | Scott Hernandez (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | code-and-test | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||||||||||||||
| Backport Completed: | |||||||||||||||||||||||||||||||||
| Sprint: | Repl E (01/08/16) | ||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||
| Linked BF Score: | 0 | ||||||||||||||||||||||||||||||||
| Description |
|
This error message is a bit mislead as well. The error is due to trying to re-apply the last/current oplog entry again.
After looking a bit more into this, I have found this sequence which caused the problem:
Under these conditions it is race where this error occurs when the rollback happens during/before all the buffered oplog entries are applied. |
| Comments |
| Comment by Ramon Fernandez Marina [ 26/Aug/16 ] | ||
|
zyd_com, I'm wondering whether your're seeing the same symptom triggered by a different bug. Will you please open a new ticket and provide full logs for the affected node? Thanks, | ||
| Comment by Zhang Youdong [ 25/Aug/16 ] | ||
I encounter this problem when using mongodb-3.2.3,I am not sure if it's the same question? I want to know the detailed case for this problem,anybody can help me ? | ||
| Comment by Githook User [ 19/Jan/16 ] | ||
|
Author: {u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}Message: (cherry picked from commit 4846585c6a7f09a18ac8c313ca7b0cee405ad29c) | ||
| Comment by Githook User [ 08/Jan/16 ] | ||
|
Author: {u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}Message: | ||
| Comment by Githook User [ 05/Jan/16 ] | ||
|
Author: {u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}Message: | ||
| Comment by Githook User [ 22/Dec/15 ] | ||
|
Author: {u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}Message: |