[SERVER-21930] Restart oplog query if oplog entries are not monotonically increasing Created: 17/Dec/15 Updated: 04/Apr/17 Resolved: 17/Dec/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | 3.2.0 |
| Fix Version/s: | 3.2.1, 3.3.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Scott Hernandez (Inactive) | Assignee: | Scott Hernandez (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | code-only | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Backport Completed: | |||||||||||||
| Participants: | |||||||||||||
| Description |
|
If the upstream server incorrectly returns documents from an oplog tailing query which are not in the correct order, monotonically increase by the "ts" field (time basically), then the client (replica) should treat that as a query error and issue a new query. Getting idempotent oplog entries out of order is incorrect behavior from the sync source (upstream server). |
| Comments |
| Comment by Githook User [ 17/Dec/15 ] |
|
Author: {u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}Message: (cherry picked from commit 06ff25a41c6ac560c5b9d2fc6a32c13b1346c48d) |
| Comment by Githook User [ 17/Dec/15 ] |
|
Author: {u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}Message: (cherry picked from commit 06ff25a41c6ac560c5b9d2fc6a32c13b1346c48d) |
| Comment by Githook User [ 17/Dec/15 ] |
|
Author: {u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}Message: Revert " This reverts commit 06ff25a41c6ac560c5b9d2fc6a32c13b1346c48d. |
| Comment by Githook User [ 17/Dec/15 ] |
|
Author: {u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}Message: Revert " This reverts commit 06ff25a41c6ac560c5b9d2fc6a32c13b1346c48d. (cherry picked from commit 9ef32d72f37319fabf49296671b6fd1c23ecb46c) |
| Comment by Githook User [ 17/Dec/15 ] |
|
Author: {u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}Message: |
| Comment by Githook User [ 17/Dec/15 ] |
|
Author: {u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}Message: (cherry picked from commit 06ff25a41c6ac560c5b9d2fc6a32c13b1346c48d) |