Skip to content

SOLR-18155: Abort shard leader election if container shutdown has started#4224

Merged
psalagnac merged 2 commits intoapache:mainfrom
psalagnac:solr-18155-election-leak
Mar 18, 2026
Merged

SOLR-18155: Abort shard leader election if container shutdown has started#4224
psalagnac merged 2 commits intoapache:mainfrom
psalagnac:solr-18155-election-leak

Conversation

@psalagnac
Copy link
Contributor

https://issues.apache.org/jira/browse/SOLR-18155

Abort shard leader election if container shutdown has started.
This is mostly for tests. It makes sure a replica cannot be elected leader for a very short time while all nodes are shutting down.

…rted.

This is mostly for tests. It makes sure a replica cannot be elected leader for a very short time while all nodes are shutting down.
@psalagnac psalagnac merged commit 8873cf1 into apache:main Mar 18, 2026
5 checks passed
@psalagnac psalagnac deleted the solr-18155-election-leak branch March 18, 2026 09:28
psalagnac added a commit that referenced this pull request Mar 18, 2026
…rted (#4224)

This is mostly for tests. It makes sure a replica cannot be elected leader for a very short time while all nodes are shutting down.

(cherry picked from commit 8873cf1)
psalagnac added a commit that referenced this pull request Mar 18, 2026
…rted (#4224)

This is mostly for tests. It makes sure a replica cannot be elected leader for a very short time while all nodes are shutting down.

(cherry picked from commit 8873cf1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants