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

Add Logging to Mock Repo API Server #49409

Merged
merged 1 commit into from
Nov 21, 2019

Conversation

original-brownbear
Copy link
Member

While we log exception in the handler, we may still miss exceptions
hgiher up the execution chain. This adds logging of exceptions to all
operations on the IO loop including connection establishment.

Relates #49401

While we log exception in the handler, we may still miss exceptions
hgiher up the execution chain. This adds logging of exceptions to all
operations on the IO loop including connection establishment.
@original-brownbear original-brownbear added >test Issues or PRs that are addressing/adding tests :Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs v8.0.0 v7.6.0 v7.5.1 labels Nov 20, 2019
@elasticmachine
Copy link
Collaborator

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

@original-brownbear
Copy link
Member Author

@tlrx my best guess is that we have some exception further up the stack (above the handler that has all the logging now) that's killing connections here (any exception on the IO loop causes a connection close right now).

Copy link
Member

@tlrx tlrx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks Armin

@tlrx tlrx merged commit d539769 into elastic:master Nov 21, 2019
tlrx pushed a commit that referenced this pull request Nov 21, 2019
While we log exception in the handler, we may still miss exceptions
hgiher up the execution chain. This adds logging of exceptions to all
operations on the IO loop including connection establishment.

Relates #49401
tlrx pushed a commit that referenced this pull request Nov 21, 2019
While we log exception in the handler, we may still miss exceptions
hgiher up the execution chain. This adds logging of exceptions to all
operations on the IO loop including connection establishment.

Relates #49401
@tlrx
Copy link
Member

tlrx commented Nov 21, 2019

I merged this and backported it to 7.x and 7.5 so that we have this change on CI asap :)

@original-brownbear original-brownbear deleted the log-io-errors-mock-http branch November 21, 2019 12:42
@original-brownbear
Copy link
Member Author

Thanks Tanguy!

@original-brownbear original-brownbear restored the log-io-errors-mock-http branch January 6, 2021 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs >test Issues or PRs that are addressing/adding tests v7.5.1 v7.6.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants