jihoonson commented on a change in pull request #9224: Create new dynamic 
config to pause coordinator helpers when needed
URL: https://github.com/apache/druid/pull/9224#discussion_r375120533
 
 

 ##########
 File path: docs/configuration/index.md
 ##########
 @@ -763,6 +764,8 @@ Issuing a GET request at the same URL will return the spec 
that is currently in
 |`maxSegmentsInNodeLoadingQueue`|The maximum number of segments that could be 
queued for loading to any given server. This parameter could be used to speed 
up segments loading process, especially if there are "slow" nodes in the 
cluster (with low loading speed) or if too much segments scheduled to be 
replicated to some particular node (faster loading could be preferred to better 
segments distribution). Desired value depends on segments loading speed, 
acceptable replication time and number of nodes. Value 1000 could be a start 
point for a rather big cluster. Default value is 0 (loading queue is unbounded) 
|0|
 |`decommissioningNodes`| List of historical servers to 'decommission'. 
Coordinator will not assign new segments to 'decommissioning' servers,  and 
segments will be moved away from them to be placed on non-decommissioning 
servers at the maximum rate specified by 
`decommissioningMaxPercentOfMaxSegmentsToMove`.|none|
 |`decommissioningMaxPercentOfMaxSegmentsToMove`|  The maximum number of 
segments that may be moved away from 'decommissioning' servers to 
non-decommissioning (that is, active) servers during one Coordinator run. This 
value is relative to the total maximum segment movements allowed during one run 
which is determined by `maxSegmentsToMove`. If 
`decommissioningMaxPercentOfMaxSegmentsToMove` is 0, segments will neither be 
moved from _or to_ 'decommissioning' servers, effectively putting them in a 
sort of "maintenance" mode that will not participate in balancing or assignment 
by load rules. Decommissioning can also become stalled if there are no 
available active servers to place the segments. By leveraging the maximum 
percent of decommissioning segment movements, an operator can prevent active 
servers from overload by prioritizing balancing, or decrease decommissioning 
time instead. The value should be between 0 and 100.|70|
+|`pauseCoordinator`| Boolean flag for whether or not the coordinator should 
execute its various jobs of coordinating the cluster. Setting this to true 
essentially pauses all coordination work while allowing the API to remain up. 
An example of when an admin may want to pause coordination would be if they are 
doing deep store maintenance on HDFS Name Nodes with downtime and don't want 
the coordinator to be directing Historical Nodes to hit the Name Node with API 
requests until maintenance is done and the deep store is declared healthy for 
use again. |false|
 
 Review comment:
   I think it's worth to document the exact list of jobs that will stop when 
this is set to true. Can you add it here?

----------------------------------------------------------------
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