Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
None
-
0
Description
The RedistributeIndexes value in the indexer settings can't be updated during a reconcile if the value is changing from true -> false.
RedistributeIndexes isn't a pointer, and is a bool with omitempty. When the index settings are encoded, the field is removed from the request because isEmptyValue() returns true when the boolean value is false. A fix should be put in place so the value can be updated.
It's also worth checking this doesn't effect other settings trying to reconcile.
Steps taken
- Create a cluster with redistributeIndexes set to true in the spec
- Edit the cluster and set the field to false
- The reconcile will continually try and update the value but fail to do so