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

Fix testRestoreIncreasesPrimaryTerms on 6.x #38314

Merged
merged 2 commits into from
Feb 4, 2019
Merged

Conversation

tlrx
Copy link
Member

@tlrx tlrx commented Feb 4, 2019

In 6.x the open index request does not wait for shards to be active and
returns immediately. In this specific test, we want to capture the
values of the primary terms before the snapshot and restore and if it
does not wait for shard to be active the captured values might not be
up to date.

Closes #38223

In 6.x the open index request does not wait for shards to be active and
returns immediately. In this specific test, we want to capture the
values of the primary terms before the snapshot and restore and if it
does not wait for shard to be active the captured values might not be
up to date.

Closes elastic#38223
@tlrx tlrx added >test Issues or PRs that are addressing/adding tests :Distributed Indexing/Distributed A catch all label for anything in the Distributed Area. Please avoid if you can. v6.7.0 labels Feb 4, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed

@tlrx tlrx requested a review from ywelsch February 4, 2019 12:13
@tlrx tlrx merged commit 956c5cd into elastic:6.x Feb 4, 2019
@tlrx
Copy link
Member Author

tlrx commented Feb 4, 2019

Thanks @ywelsch

@tlrx tlrx deleted the fix-38223 branch February 4, 2019 14:56
jasontedor added a commit to jasontedor/elasticsearch that referenced this pull request Feb 4, 2019
…round-sync-6.x

* elastic/6.x:
  Fix testRestoreIncreasesPrimaryTerms on 6.x (elastic#38314)
  SQL: Remove exceptions from Analyzer (elastic#38260) (elastic#38287)
  SQL: Move metrics tracking inside PlanExecutor (elastic#38259) (elastic#38288)
  Backport of elastic#38311: Move TokenService to seqno powered cas
  Handle scheduler exceptions (elastic#38183)
  Mute MlMigrationFullClusterRestartIT#testMigration (elastic#38316)
  6.x Backport of elastic#38278: Move ML Optimistic Concurrency Control to Seq No
  Cleanup construction of interceptors (elastic#38296)
  Throw if two inner_hits have the same name (elastic#37645) (elastic#38194)
  AsyncTwoPhaseIndexerTests race condition fixed elastic#38195 Backport#37830
  Enable SSL in reindex with security QA tests (elastic#38293)
  Ensure ILM policies run safely on leader indices  (elastic#38140)
  Introduce ssl settings to reindex from remote (elastic#38292)
  Fix ordering problem in add or renew lease test (elastic#38281)
  Mute ReplicationTrackerRetentionLeaseTests#testAddOrRenewRetentionLease (elastic#38276)
  Fix NPE in Logfile Audit Filter (elastic#38120) (elastic#38271)
  Enable trace log in FollowerFailOverIT (elastic#38148)
  SQL: Generate relevant error message when grouping functions are not used in GROUP BY (elastic#38017)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Distributed Indexing/Distributed A catch all label for anything in the Distributed Area. Please avoid if you can. >test Issues or PRs that are addressing/adding tests v6.7.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants