forked from apache/druid
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SQL: More forgiving Avatica server. (apache#4368)
* SQL: More forgiving Avatica server. - Automatically close statements that are fully iterated or that have errors, to prevent dangling statements from causing clients to hit open statement limits. - Empower client auto-reconnects by throwing NoSuchConnectionException when appropriate. - Try to close empty connections when we hit the open connection limit, rather than failing the newly opened connection. Client auto-reconnections mean this shouldn't cause problems in practice. - Improve concurrency of the server by making "connections" a concurrent map. - Lower default connection timeout to PT5M from PT30M. * Fix DruidStatement test.
- Loading branch information
Showing
6 changed files
with
337 additions
and
152 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.