Skip to content

Add graceful shutdown timeout#4701

Closed
niketh wants to merge 1 commit intoapache:masterfrom
niketh:add-shutdown-timeout
Closed

Add graceful shutdown timeout#4701
niketh wants to merge 1 commit intoapache:masterfrom
niketh:add-shutdown-timeout

Conversation

@niketh
Copy link
Copy Markdown
Contributor

@niketh niketh commented Aug 18, 2017

We see queries failing while realtime handoff is happening mainly because Jetty is not being shutdown gracefully. Here is the error
Failure getting results from[http://host:port/druid/v2/] because of [org.jboss.netty.channel.ChannelException: Channel disconnected

The solution is to a graceful shutdown in the jetty server. This will also reduce failed queries on shutdown on the broker and historical also.

@niketh niketh closed this Aug 18, 2017
@niketh niketh reopened this Aug 18, 2017
@niketh niketh closed this Aug 18, 2017
@niketh niketh reopened this Aug 18, 2017
@b-slim
Copy link
Copy Markdown
Contributor

b-slim commented Aug 18, 2017

👍

@niketh niketh closed this Aug 18, 2017
@drcrallen
Copy link
Copy Markdown
Contributor

@niketh is this still an issue that is solved by this PR?

@niketh
Copy link
Copy Markdown
Contributor Author

niketh commented Aug 24, 2017

@b-slim @drcrallen I realized that we already that the JettyServerModule already had a handle to the hum of open connections. In this PR I take advantage of that variable to have better handling on shutdown #4716 . Can you review ?

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