Skip to content

Improve Stability of GCS Mock API (#49592)#49597

Merged
original-brownbear merged 1 commit intoelastic:7.xfrom
original-brownbear:49592-7.x
Nov 26, 2019
Merged

Improve Stability of GCS Mock API (#49592)#49597
original-brownbear merged 1 commit intoelastic:7.xfrom
original-brownbear:49592-7.x

Conversation

@original-brownbear
Copy link
Copy Markdown
Contributor

Same as #49518 pretty much but for GCS.
Fixing a few more spots where input stream can get closed
without being fully drained and adding assertions to make sure
it's always drained.
Moved the no-close stream wrapper to production code utilities since
there's a number of spots in production code where it's also useful
(will reuse it there in a follow-up).

backport of #49592

Same as #49518 pretty much but for GCS.
Fixing a few more spots where input stream can get closed
without being fully drained and adding assertions to make sure
it's always drained.
Moved the no-close stream wrapper to production code utilities since
there's a number of spots in production code where it's also useful
(will reuse it there in a follow-up).
@original-brownbear original-brownbear added :Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs backport labels Nov 26, 2019
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-distributed (:Distributed/Snapshot/Restore)

@original-brownbear original-brownbear merged commit 495b543 into elastic:7.x Nov 26, 2019
@original-brownbear original-brownbear deleted the 49592-7.x branch November 26, 2019 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport :Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants