-
Notifications
You must be signed in to change notification settings - Fork 25k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CcrRepositoryIT#testFollowerMappingIsUpdated can fail with assertion error #37887
Labels
:Distributed Indexing/CCR
Issues around the Cross Cluster State Replication features
>test-failure
Triaged test failures from CI
Comments
jtibshirani
added
>test-failure
Triaged test failures from CI
:Distributed Indexing/CCR
Issues around the Cross Cluster State Replication features
labels
Jan 25, 2019
Pinging @elastic/es-distributed |
I muted the test in 7c130d2, since it failed a few times. |
I opened #38071. |
dnhatn
added a commit
that referenced
this issue
Feb 4, 2019
There are two issues regarding the way that we sync mapping from leader to follower when a ccr restore is completed: 1. The returned mapping from a cluster service might not be up to date as the mapping of the restored index commit. 2. We should not compare the mapping version of the follower and the leader. They are not related to one another. Moreover, I think we should only ensure that once the restore is done, the mapping on the follower should be at least the mapping of the copied index commit. We don't have to sync the mapping which is updated after we have opened a session. Relates #36879 Closes #37887
Tim-Brooks
pushed a commit
to Tim-Brooks/elasticsearch
that referenced
this issue
Feb 5, 2019
There are two issues regarding the way that we sync mapping from leader to follower when a ccr restore is completed: 1. The returned mapping from a cluster service might not be up to date as the mapping of the restored index commit. 2. We should not compare the mapping version of the follower and the leader. They are not related to one another. Moreover, I think we should only ensure that once the restore is done, the mapping on the follower should be at least the mapping of the copied index commit. We don't have to sync the mapping which is updated after we have opened a session. Relates elastic#36879 Closes elastic#37887
Tim-Brooks
added a commit
that referenced
this issue
Feb 6, 2019
There are two issues regarding the way that we sync mapping from leader to follower when a ccr restore is completed: 1. The returned mapping from a cluster service might not be up to date as the mapping of the restored index commit. 2. We should not compare the mapping version of the follower and the leader. They are not related to one another. Moreover, I think we should only ensure that once the restore is done, the mapping on the follower should be at least the mapping of the copied index commit. We don't have to sync the mapping which is updated after we have opened a session. Relates #36879 Closes #37887 * Change
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
:Distributed Indexing/CCR
Issues around the Cross Cluster State Replication features
>test-failure
Triaged test failures from CI
Unfortunately the failure doesn't reproduce for me locally.
Link to the build: https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+6.x+multijob-unix-compatibility/os=oraclelinux/202
Command to reproduce:
Relevant excerpt from the logs:
The text was updated successfully, but these errors were encountered: