Skip to content

Make MSE QueryServer's gRPC permit keep-alive settings configurable#18354

Open
yashmayya wants to merge 1 commit intoapache:masterfrom
yashmayya:mse-server-permit-keepalive-config
Open

Make MSE QueryServer's gRPC permit keep-alive settings configurable#18354
yashmayya wants to merge 1 commit intoapache:masterfrom
yashmayya:mse-server-permit-keepalive-config

Conversation

@yashmayya
Copy link
Copy Markdown
Contributor

Follow-up to #18268, which added gRPC keep-alive on the broker MSE dispatch channels but left the matching server-side enforcement at Netty's defaults (permitKeepAliveTime=5min, permitKeepAliveWithoutCalls=false). Operators tuning client keepAliveTime below 5 minutes (or enabling keepAliveWithoutCalls) for faster silent-peer detection get their dispatch channels torn down with GOAWAY(ENHANCE_YOUR_CALM) once the server's bad-ping threshold is hit.

This change exposes the corresponding server-side knobs on the MSE QueryServer:

  • pinot.query.multistage.query.server.permit.keep.alive.time.ms (default 300_000, matches Netty)
  • pinot.query.multistage.query.server.permit.keep.alive.without.calls (default false, matches Netty)

Defaults preserve existing behavior, so this is a transparent upgrade.

@yashmayya yashmayya added configuration Config changes (addition/deletion/change in behavior) multi-stage Related to the multi-stage query engine labels Apr 27, 2026
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 27, 2026

Codecov Report

❌ Patch coverage is 75.00000% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 63.40%. Comparing base (45bf2a7) to head (113ca2c).

Files with missing lines Patch % Lines
...apache/pinot/query/service/server/QueryServer.java 75.00% 1 Missing and 2 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master   #18354      +/-   ##
============================================
- Coverage     63.41%   63.40%   -0.01%     
  Complexity     1679     1679              
============================================
  Files          3253     3253              
  Lines        198788   198796       +8     
  Branches      30793    30794       +1     
============================================
- Hits         126064   126051      -13     
- Misses        62651    62668      +17     
- Partials      10073    10077       +4     
Flag Coverage Δ
custom-integration1 100.00% <ø> (ø)
integration 100.00% <ø> (ø)
integration1 100.00% <ø> (ø)
integration2 0.00% <ø> (ø)
java-21 63.40% <75.00%> (-0.01%) ⬇️
temurin 63.40% <75.00%> (-0.01%) ⬇️
unittests 63.40% <75.00%> (-0.01%) ⬇️
unittests1 55.35% <75.00%> (-0.02%) ⬇️
unittests2 34.94% <0.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

configuration Config changes (addition/deletion/change in behavior) multi-stage Related to the multi-stage query engine

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants