janhoy opened a new pull request, #930:
URL: https://github.com/apache/solr-operator/pull/930

   🤖 AI Assisted
   
   Fixes https://github.com/apache/solr-operator/issues/922
   
   - `maxShardReplicasUnavailable` counted PULL replicas like NRT/TLOG, so a 
budget of 2+ (or a percentage) could take down every leader-eligible replica of 
a shard in one round.
   - Pod selection now tracks active NRT/TLOG replicas per shard and keeps at 
least one active when the shard has more than one.
   - Unchanged: a shard with a single NRT/TLOG replica (that pod must restart 
at some point), and `maxShardReplicasUnavailable: 0`.
   - Four existing `TestPickPodsToUpgrade` expectations changed: they selected 
the pod holding the last active TLOG replica of a PULL+TLOG+TLOG shard.
   
   Tests:
   - `make prepare`, `make build`: OK, nothing regenerated
   - `make test`: `ok controllers 124.349s`, `ok controllers/util 0.411s`
   - `make lint DOCS_LINT=`, `operator-check-docs`, `make check-git`: OK
   - e2e not run
   
   Upstream compare: 
https://github.com/apache/solr-operator/compare/main...janhoy:solr-operator:gh-922-leader-eligible-replica?expand=1
   
   ⏳ Draft – pending review by the PR author (@janhoy) before it is opened for 
review.
   


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to