Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
controller: don't count replica count in revision hash calculation (#10)
Previous fix to prevent replica count update causing full regionserver restart has few drawbacks due to the fact that hash calculation is still based on historical statefulset count, which means any time CRD's current replica count is incorrect (i.e. CRD is out of sync, operator crashed and never finished reconciliation run successfully, act of nature...) this still creates a new hash that causes regionservers to erroroneously restart. We're removing replica count altogether from revision hash calculation, and accepting the operational risk that the first time this logic is introduced it will restart all components as revision hash will be different.
- Loading branch information