Skip to content

[Backport 1.x] Avoid logging duplicate deprecation warnings multiple times#2315

Merged
dblock merged 2 commits into1.xfrom
backport/backport-1660-to-1.x
Mar 3, 2022
Merged

[Backport 1.x] Avoid logging duplicate deprecation warnings multiple times#2315
dblock merged 2 commits into1.xfrom
backport/backport-1660-to-1.x

Conversation

@opensearch-trigger-bot
Copy link
Copy Markdown
Contributor

Backport e66ea2c from #1660

* Avoid logging duplicate deprecation warnings multiple times

Signed-off-by: Vacha <vachshah@amazon.com>

* Fixes test failures

Signed-off-by: Vacha <vachshah@amazon.com>

* Adding deprecation logger tests

Signed-off-by: Vacha <vachshah@amazon.com>

* Using ConcurrentHashMap keySet

Signed-off-by: Vacha Shah <vachshah@amazon.com>
(cherry picked from commit e66ea2c)
@opensearch-ci-bot
Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@opensearch-ci-bot
Copy link
Copy Markdown
Collaborator

❌   Gradle Check failure 4ef2a35
Log 2940

Reports 2940

@VachaShah
Copy link
Copy Markdown
Contributor

Failing for 2 tests:

Tests with failures:
 - org.opensearch.rest.action.admin.indices.RestResizeHandlerTests.testSplitCopySettingsDeprecated
 - org.opensearch.rest.action.admin.indices.RestResizeHandlerTests.testShrinkCopySettingsDeprecated

These files were removed from main in PR #1216.

Signed-off-by: Vacha Shah <vachshah@amazon.com>
@opensearch-ci-bot
Copy link
Copy Markdown
Collaborator

✅   Gradle Check success beec85f
Log 2976

Reports 2976

@dblock dblock merged commit 6004f05 into 1.x Mar 3, 2022
@github-actions github-actions bot deleted the backport/backport-1660-to-1.x branch March 3, 2022 19:23
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.

3 participants