github-actions[bot] commented on code in PR #59782:
URL: https://github.com/apache/doris/pull/59782#discussion_r3129886041
##########
fe/fe-core/src/main/java/org/apache/doris/httpv2/HttpServer.java:
##########
@@ -157,12 +157,12 @@ public void start() {
properties.put("server.servlet.encoding.enabled", true);
properties.put("server.servlet.encoding.force", true);
// enable jetty config
- properties.put("server.jetty.acceptors", this.acceptors);
- properties.put("server.jetty.max-http-post-size",
this.maxHttpPostSize);
- properties.put("server.jetty.selectors", this.selectors);
- properties.put("server.jetty.threadPool.maxThreads", this.maxThreads);
- properties.put("server.jetty.threadPool.minThreads", this.minThreads);
- properties.put("server.max-http-header-size", this.maxHttpHeaderSize);
+ properties.put("server.jetty.max-http-form-post-size",
this.maxHttpPostSize);
+ properties.put("server.jetty.threads.acceptors", this.acceptors);
+ properties.put("server.jetty.threads.max", this.maxThreads);
+ properties.put("server.jetty.threads.min", this.minThreads);
+ properties.put("server.jetty.threads.selectors", this.selectors);
+ properties.put("server.max-http-request-header-size",
this.maxHttpHeaderSize);
// Worker thread pool is not set by default, set according to your
needs
if (this.workers > 0) {
properties.put("server.jetty.workers", this.workers);
Review Comment:
This migration still leaves one FE Jetty knob ineffective. Spring Boot 3.5's
Jetty server properties expose `server.jetty.threads.*`,
`server.jetty.max-http-form-post-size`, etc., but there is no
`server.jetty.workers` binding anymore. Since `DorisFE` still feeds
`Config.jetty_server_workers` into this key, FE will continue to ignore that
config after this PR, so the stated goal of "make FE jetty configs work" is not
fully met yet.
If `jetty_server_workers` still needs to be supported, it should be remapped
to the current Spring Boot 3.5 thread-pool model or customized explicitly.
Otherwise the Doris config should be removed/updated, and the new test should
cover that path so this does not regress again.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]