Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Delete and close failing during snapshot in progress #172

Merged

Conversation

dbbaughe
Copy link
Contributor

@dbbaughe dbbaughe commented Apr 3, 2020

Issue #, if available:

Description of changes:
Currently DeleteAction and CloseAction will treat a SnapshotInProgressException as a failure that will consume action retries or fail if none.

These should be treated as noops instead and allowed to retry automatically.

Checked here to see where this exception can come from and only found Delete and Close.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@dbbaughe dbbaughe changed the title Delete snapshot Delete and close failing during snapshot in progress Apr 3, 2020
@dbbaughe dbbaughe merged commit 5ec003b into opendistro-for-elasticsearch:master Apr 6, 2020
dbbaughe added a commit to dbbaughe/index-management that referenced this pull request Apr 6, 2020
…elasticsearch#172)

* Fixes AttemptDeleteStep failing from a SnapshotInProgressException

* Fixes close action failing on snapshot in progress exception, fixes imports

* Fixes styling
@dbbaughe dbbaughe mentioned this pull request Apr 6, 2020
dbbaughe added a commit to dbbaughe/index-management that referenced this pull request Apr 6, 2020
…elasticsearch#172)

* Fixes AttemptDeleteStep failing from a SnapshotInProgressException

* Fixes close action failing on snapshot in progress exception, fixes imports

* Fixes styling
@dbbaughe dbbaughe mentioned this pull request Apr 6, 2020
dbbaughe added a commit that referenced this pull request Apr 6, 2020
* Adds logs, fix for index creation date -1L, nullable checks (#170)

* Index creation_date of -1L should evaluate to false, adds extra logs

* Adds kotlin compiler check and fixes nullable values

* Adds log

* Delete and close failing during snapshot in progress (#172)

* Fixes AttemptDeleteStep failing from a SnapshotInProgressException

* Fixes close action failing on snapshot in progress exception, fixes imports

* Fixes styling
dbbaughe added a commit that referenced this pull request Apr 6, 2020
* Adds logs, fix for index creation date -1L, nullable checks (#170)

* Index creation_date of -1L should evaluate to false, adds extra logs

* Adds kotlin compiler check and fixes nullable values

* Adds log

* Delete and close failing during snapshot in progress (#172)

* Fixes AttemptDeleteStep failing from a SnapshotInProgressException

* Fixes close action failing on snapshot in progress exception, fixes imports

* Fixes styling
dbbaughe added a commit to dbbaughe/index-management that referenced this pull request Apr 6, 2020
…elasticsearch#172)

* Fixes AttemptDeleteStep failing from a SnapshotInProgressException

* Fixes close action failing on snapshot in progress exception, fixes imports

* Fixes styling
dbbaughe added a commit to dbbaughe/index-management that referenced this pull request Apr 6, 2020
…elasticsearch#172)

* Fixes AttemptDeleteStep failing from a SnapshotInProgressException

* Fixes close action failing on snapshot in progress exception, fixes imports

* Fixes styling
dbbaughe added a commit to dbbaughe/index-management that referenced this pull request Apr 6, 2020
…elasticsearch#172)

* Fixes AttemptDeleteStep failing from a SnapshotInProgressException

* Fixes close action failing on snapshot in progress exception, fixes imports

* Fixes styling
dbbaughe added a commit to dbbaughe/index-management that referenced this pull request Apr 6, 2020
…elasticsearch#172)

* Fixes AttemptDeleteStep failing from a SnapshotInProgressException

* Fixes close action failing on snapshot in progress exception, fixes imports

* Fixes styling
dbbaughe added a commit to dbbaughe/index-management that referenced this pull request Apr 6, 2020
…elasticsearch#172)

* Fixes AttemptDeleteStep failing from a SnapshotInProgressException

* Fixes close action failing on snapshot in progress exception, fixes imports

* Fixes styling
dbbaughe added a commit that referenced this pull request Apr 7, 2020
* Adds logs, fix for index creation date -1L, nullable checks (#170)

* Index creation_date of -1L should evaluate to false, adds extra logs

* Adds kotlin compiler check and fixes nullable values

* Adds log

* Delete and close failing during snapshot in progress (#172)

* Fixes AttemptDeleteStep failing from a SnapshotInProgressException

* Fixes close action failing on snapshot in progress exception, fixes imports

* Fixes styling

* Fixes CloseIndexResponse init

* Fixes test to use Ack response

* Fixes ack value
dbbaughe added a commit that referenced this pull request Apr 7, 2020
* Adds logs, fix for index creation date -1L, nullable checks (#170)

* Index creation_date of -1L should evaluate to false, adds extra logs

* Adds kotlin compiler check and fixes nullable values

* Adds log

* Delete and close failing during snapshot in progress (#172)

* Fixes AttemptDeleteStep failing from a SnapshotInProgressException

* Fixes close action failing on snapshot in progress exception, fixes imports

* Fixes styling

* Fixes CloseIndexResponse init

* Fixes missed merge conflict

* Fixes tests
dbbaughe added a commit that referenced this pull request Apr 7, 2020
* Adds logs, fix for index creation date -1L, nullable checks (#170)

* Index creation_date of -1L should evaluate to false, adds extra logs

* Adds kotlin compiler check and fixes nullable values

* Adds log

* Delete and close failing during snapshot in progress (#172)

* Fixes AttemptDeleteStep failing from a SnapshotInProgressException

* Fixes close action failing on snapshot in progress exception, fixes imports

* Fixes styling

* Fixes CloseIndexResponse init

* Fixes missed merge conflict

* Fixes tests
dbbaughe added a commit that referenced this pull request Apr 7, 2020
* Adds logs, fix for index creation date -1L, nullable checks (#170)

* Index creation_date of -1L should evaluate to false, adds extra logs

* Adds kotlin compiler check and fixes nullable values

* Adds log

* Delete and close failing during snapshot in progress (#172)

* Fixes AttemptDeleteStep failing from a SnapshotInProgressException

* Fixes close action failing on snapshot in progress exception, fixes imports

* Fixes styling

* Fix CloseIndexResponse init
dbbaughe added a commit that referenced this pull request Apr 7, 2020
* Adds logs, fix for index creation date -1L, nullable checks (#170)

* Index creation_date of -1L should evaluate to false, adds extra logs

* Adds kotlin compiler check and fixes nullable values

* Adds log

* Delete and close failing during snapshot in progress (#172)

* Fixes AttemptDeleteStep failing from a SnapshotInProgressException

* Fixes close action failing on snapshot in progress exception, fixes imports

* Fixes styling
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants