You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2019/10/31 21:45:40 UTC

[GitHub] [incubator-pinot] mcvsubbu opened a new pull request #4767: Introduce a mode in the server to disable queries

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org