Skip to content
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

[CCR] ShardChangesIT#testFollowIndex fails on the master branch #30227

Closed
dnhatn opened this issue Apr 28, 2018 · 4 comments
Closed

[CCR] ShardChangesIT#testFollowIndex fails on the master branch #30227

dnhatn opened this issue Apr 28, 2018 · 4 comments
Assignees
Labels
:Distributed Indexing/CCR Issues around the Cross Cluster State Replication features >test Issues or PRs that are addressing/adding tests

Comments

@dnhatn
Copy link
Member

dnhatn commented Apr 28, 2018

This failure happened on my CI but I have not figured out the reason. I opened this to make sure that we will have a look at it.

I can reproduce this locally.

./gradlew :x-pack:plugin:ccr:internalClusterTest \
-Dtests.seed=73E17BC6D8FB4F03 \
-Dtests.class=org.elasticsearch.xpack.ccr.ShardChangesIT \
-Dtests.method="testFollowIndex" \
-Dtests.security.manager=true \
-Dtests.locale=nmg -Dtests.timezone=Asia/Tbilisi

Assertion error:

> Throwable #1: java.lang.AssertionError
   >    at __randomizedtesting.SeedInfo.seed([73E17BC6D8FB4F03:908DB4F4E1437689]:0)
   >    at org.elasticsearch.xpack.ccr.ShardChangesIT.lambda$assertExpectedDocumentRunnable$5(ShardChangesIT.java:266)
   >    at org.elasticsearch.test.ESTestCase.assertBusy(ESTestCase.java:754)
   >    at org.elasticsearch.test.ESTestCase.assertBusy(ESTestCase.java:728)
   >    at org.elasticsearch.xpack.ccr.ShardChangesIT.testFollowIndex(ShardChangesIT.java:174)
   >    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   >    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   >    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   >    at java.base/java.lang.reflect.Method.invoke(Method.java:564)
   >    at java.base/java.lang.Thread.run(Thread.java:844)
   >    Suppressed: java.lang.AssertionError
   >            at org.elasticsearch.xpack.ccr.ShardChangesIT.lambda$assertExpectedDocumentRunnable$5(ShardChangesIT.java:266)
   >            at org.elasticsearch.test.ESTestCase.assertBusy(ESTestCase.java:742)
   >            ... 38 more

@dnhatn dnhatn added >test Issues or PRs that are addressing/adding tests :Distributed Indexing/CCR Issues around the Cross Cluster State Replication features labels Apr 28, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed

@dnhatn
Copy link
Member Author

dnhatn commented Apr 28, 2018

/cc @jasontedor

@martijnvg
Copy link
Member

Thanks @dnhatn, I've opened #30238 to fix this.

martijnvg added a commit to martijnvg/elasticsearch that referenced this issue Apr 30, 2018
Prior to this change a -1 seqno would be normalized earlier, which
caused a leader shard containing a single operation to be ignored.

Closes elastic#30227
martijnvg added a commit that referenced this issue May 1, 2018
Prior to this change a -1 seqno would be normalized earlier, which
caused a leader shard containing a single operation to be ignored.

Closes #30227
martijnvg added a commit that referenced this issue May 1, 2018
Prior to this change a -1 seqno would be normalized earlier, which
caused a leader shard containing a single operation to be ignored.

Closes #30227
@martijnvg
Copy link
Member

This is fixed by #30238

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 Issues or PRs that are addressing/adding tests
Projects
None yet
Development

No branches or pull requests

3 participants