Richa Kumari
11/11/2026, 7:35 PMRicha Kumari
11/11/2026, 7:48 PMMayank
Richa Kumari
11/11/2026, 8:20 PMMayank
Richa Kumari
11/11/2026, 9:09 PMXiang Fu
terminationGracePeriodSeconds to 10 mins. Then broker should graceful shutdown within this timeRicha Kumari
11/12/2026, 5:35 AMRicha Kumari
11/12/2026, 5:36 AMRicha Kumari
11/12/2026, 5:37 AMGonzalo Ortiz
11/12/2026, 12:47 PMnoQueryThresholdMs, which defaults to the 15s query timeout. That’s exactly the 15s you measured. On 1.4 you can raise pinot.server.shutdown.noQueryThresholdMs (for example to 60s), and it acts as a fixed delay after the server flags itself as shutting down. Keep terminationGracePeriodSeconds comfortably above that. enableResourceCheck won’t help, because it runs after the query ports are already closed.
Second, the startup side is most likely not the external view. In 1.4 a restarting server stays flagged as shutting down until the service status check passes, and only then does it open the MSE port. So brokers shouldn’t route to it early, unless that check is disabled or timed out (look for “Service status has not turned GOOD” in the server log). What does match your symptom is that the broker’s gRPC channel to the restarted server stays in exponential reconnect backoff for up to a couple of minutes and fails fast with UNAVAILABLE. That was fixed in 1.5 by apache/pinot#17466. 1.5 also made broker routing updates much more parallel, which matters during a long node roll.
Third, on Kubernetes, a readinessProbe won’t change Pinot routing, because brokers use Helix and not service endpoints. But it does pace the drain. Without it, a restarted server pod is Ready immediately, so the next node gets drained while the previous server is still loading segments, and both replicas of a segment can be down at the same time. That alone can give you empty results with replication 2. I’d add a readinessProbe on GET :8097/health/readiness (it returns 503 during startup and shutdown) and a PodDisruptionBudget with maxUnavailable: 1 on the servers.
MSE doesn’t retry a query on another replica. You can set pinot.broker.failure.detector.type=CONNECTION so a broker stops routing to a server after the first failed dispatch, which limits the damage to a few queries. apache/pinot#18268 in 1.6 makes that more complete. So upgrading is still the real fix, but the probe, the PDB and the shutdown delay should get you most of the way on 1.4.Richa Kumari
11/16/2026, 3:33 PM