-
Notifications
You must be signed in to change notification settings - Fork 80
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
Migrate Jetty Proxy to Airlift #382
Conversation
ac47167
to
9ef8f23
Compare
fa7dcaf
to
4a3df12
Compare
4a3df12
to
8db5c82
Compare
I merged #317 now. Once you rebase here you might be able to address my comment about the config here. I think we should end up with the same config as in Trino ideally. So jvm.config If we leave the http config in this PR in the YAML file for now I am good with that but maybe we can already have all of them under one config node or so |
8db5c82
to
36be5c4
Compare
|
36be5c4
to
709f609
Compare
Yeah.. we can do that later .. ideally NOT with a python requirement.
Agreed
Probably not in this PR. We will work with the airlift team to figure out how to proceed in terms of supporting yaml or toml or whatever to do next.
Given the scope is way larger than just configuring HTTP I would hope we can come up with a better name.. just |
How about |
Thats good with me. @vishalya @willmostly @Chaho12 ? |
sounds good as it replaces Btw why is historySize and requestBufferSize removed? does gateway now read all data from history? |
For The equivalent for |
b80bc13
to
712e349
Compare
712e349
to
14fc65c
Compare
@mosabua Let's merge it and improve in follow ups |
We decided in team sync today that we will merge early next week to give @vishalya and others a chance to look. |
@mosabua sure, I'd prefer to merge it now and improve it right away but I'm fine with delaying that |
Monday ;-) |
@mosabua ages :P |
The changes look good. I was able to run it locally with the instructions provided on the PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright .. lets ship this. Anybody .. please send any follow up fixes as new PRs.
Also .. @vishalya .. please also approve the PR. |
Here you go @wendigo and @oneonestar .. it hit earlier than Monday after all ;-) |
Hi guys, the current version of does not handle proxy for DELETE method, so that client can not cancel query on Trino backend, it causes queries submitted from airflow will be failed |
Description
Second part of Airlift migration #41. Depends on #317.
This PR migrate Jetty Proxy (ie.
ProxyHandler
andProxyServletImpl
) to Airlift.Motivation
requestRouter
,applicationConnectors
andadminConnectors
ports into one single port managed by Airlift. The TLS issues caused by routing between these ports will be gone.TODO
Release notes
( ) Release notes are required, with the following suggested text: