You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@helix.apache.org by GitBox <gi...@apache.org> on 2021/03/12 21:35:29 UTC

[GitHub] [helix] jeff-blaisdell edited a comment on issue #1670: IdealState does not appear to be written

jeff-blaisdell edited a comment on issue #1670:
URL: https://github.com/apache/helix/issues/1670#issuecomment-797766084


   I've been doing some debugging / digging on this issue..  While studying the Helix internals I discovered reference to a config option `PERSIST_BEST_POSSIBLE_ASSIGNMENT`.  I can confirm that by setting it to true, the IdealState is properly written and the `DifferenceWithIdealStateGauge` correctly reports 0.  
   
   ```
   helix-admin.sh --zkSvr localhost:2181 --setConfig CLUSTER default-cluster PERSIST_BEST_POSSIBLE_ASSIGNMENT=true
   ```
   
   However, when the flag value is `false` the `DifferenceWithIdealStateGauge` in 1.0.1 will always equal the total number of partitions defined in cluster.  
   
   I haven't been able to find any documentation around the considerations of using that option, or why the default is 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



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@helix.apache.org
For additional commands, e-mail: reviews-help@helix.apache.org