mcvsubbu opened a new pull request #4767: Introduce a mode in the server to 
disable queries
URL: https://github.com/apache/incubator-pinot/pull/4767
 
 
   When we have problems with pinot servers in production, and need to isolate 
the
   server by not sending queries to it, we use the shutdownInProgress field in 
the
   instance config. This does not work if the server is restarted (due to 
deployment
   or by other automated systems) because the upon restart, the server 
automatically
   sets shutdownInProgress to "false". We would still like to isolate the 
server to
   find out what the real issue may be.
   
   This commit introduces another field called "queriesDisabled" in the 
instance config
   that the admin can set.  The broker pays attention to this field and 
excludes the
   server from routing table computations (thus not routing queries to it).
   
   This behavior continues until such time as the value of this field is set to 
false.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to