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

[Backport 1.x] Fix for bug showing incorrect awareness attributes count in AwarenessAllocationDecider #3581

Merged
merged 1 commit into from
Jun 15, 2022

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 2f9f8e1 from #3428

…AllocationDecider (#3428)

* Fix for bug showing incorrect awareness attributes count in AwarenessAllocationDecider

Signed-off-by: Anshu Agarwal <anshukag@amazon.com>
(cherry picked from commit 2f9f8e1)
@opensearch-ci-bot
Copy link
Collaborator

❌   Gradle Check failure eabe788
Log 5980

Reports 5980

@tlfeng
Copy link
Collaborator

tlfeng commented Jun 14, 2022

In log 5980:

> Task :qa:translog-policy:v1.3.4#Step1OldClusterTest


org.opensearch.upgrades.TranslogPolicyIT > testRecoverReplica FAILED
    org.opensearch.client.WarningFailureException: method [PUT], host [http://127.0.0.1:45771], URI [/testrecoverreplica], status line [HTTP/1.1 200 OK]
    {"acknowledged":true,"shards_acknowledged":true,"index":"testrecoverreplica"}
        at __randomizedtesting.SeedInfo.seed([43F9D35B7433B59E:B9601CFF81EA7493]:0)
        at org.opensearch.client.RestClient.convertResponse(RestClient.java:340)
        at org.opensearch.client.RestClient.performRequest(RestClient.java:314)
        at org.opensearch.client.RestClient.performRequest(RestClient.java:289)
        at org.opensearch.test.rest.OpenSearchRestTestCase.createIndex(OpenSearchRestTestCase.java:978)
        at org.opensearch.test.rest.OpenSearchRestTestCase.createIndex(OpenSearchRestTestCase.java:958)
        at org.opensearch.test.rest.OpenSearchRestTestCase.createIndex(OpenSearchRestTestCase.java:954)
        at org.opensearch.upgrades.TranslogPolicyIT.testRecoverReplica(TranslogPolicyIT.java:133)
REPRODUCE WITH: ./gradlew ':qa:translog-policy:v1.3.4#Step1OldClusterTest' --tests "org.opensearch.upgrades.TranslogPolicyIT.testRecoverReplica" -Dtests.seed=43F9D35B7433B59E -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=es-VE -Dtests.timezone=Etc/GMT-10 -Druntime.java=11

@reta
Copy link
Collaborator

reta commented Jun 15, 2022

In log 5980:

> Task :qa:translog-policy:v1.3.4#Step1OldClusterTest


org.opensearch.upgrades.TranslogPolicyIT > testRecoverReplica FAILED
    org.opensearch.client.WarningFailureException: method [PUT], host [http://127.0.0.1:45771], URI [/testrecoverreplica], status line [HTTP/1.1 200 OK]
    {"acknowledged":true,"shards_acknowledged":true,"index":"testrecoverreplica"}
        at __randomizedtesting.SeedInfo.seed([43F9D35B7433B59E:B9601CFF81EA7493]:0)
        at org.opensearch.client.RestClient.convertResponse(RestClient.java:340)
        at org.opensearch.client.RestClient.performRequest(RestClient.java:314)
        at org.opensearch.client.RestClient.performRequest(RestClient.java:289)
        at org.opensearch.test.rest.OpenSearchRestTestCase.createIndex(OpenSearchRestTestCase.java:978)
        at org.opensearch.test.rest.OpenSearchRestTestCase.createIndex(OpenSearchRestTestCase.java:958)
        at org.opensearch.test.rest.OpenSearchRestTestCase.createIndex(OpenSearchRestTestCase.java:954)
        at org.opensearch.upgrades.TranslogPolicyIT.testRecoverReplica(TranslogPolicyIT.java:133)
REPRODUCE WITH: ./gradlew ':qa:translog-policy:v1.3.4#Step1OldClusterTest' --tests "org.opensearch.upgrades.TranslogPolicyIT.testRecoverReplica" -Dtests.seed=43F9D35B7433B59E -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=es-VE -Dtests.timezone=Etc/GMT-10 -Druntime.java=11

Is #2334 back?

@reta
Copy link
Collaborator

reta commented Jun 15, 2022

start gradle check

@opensearch-ci-bot
Copy link
Collaborator

✅   Gradle Check success eabe788
Log 6018

Reports 6018

@reta reta merged commit 42e392e into 1.x Jun 15, 2022
@github-actions github-actions bot deleted the backport/backport-3428-to-1.x branch June 15, 2022 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants