mirror of
https://github.com/apache/lucene.git
synced 2025-02-20 17:07:09 +00:00
SOLR-4064: When there is an unexpected exception while trying to run the new leader process, the SolrCore will not correctly rejoin the election.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1408398 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b5164f0c5d
commit
6794693f30
@ -171,7 +171,10 @@ Bug Fixes
|
||||
connection on a non-read-only database leak connections. Also expanded the
|
||||
SqlEntityProcessor test to sometimes use Derby as well as HSQLDB (Derby is
|
||||
one db affected by this bug). (Fenlor Sebastia, James Dyer)
|
||||
|
||||
|
||||
* SOLR-4064: When there is an unexpected exception while trying to run the new
|
||||
leader process, the SolrCore will not correctly rejoin the election.
|
||||
(Po Rui Via Mark Miller)
|
||||
|
||||
Other Changes
|
||||
----------------------
|
||||
|
@ -249,7 +249,7 @@ final class ShardLeaderElectionContext extends ShardLeaderElectionContextBase {
|
||||
core.getCoreDescriptor().getCloudDescriptor().isLeader = false;
|
||||
|
||||
// we could not publish ourselves as leader - rejoin election
|
||||
rejoinLeaderElection(coreName, core);
|
||||
rejoinLeaderElection(leaderSeqPath, core);
|
||||
} finally {
|
||||
if (core != null) {
|
||||
core.close();
|
||||
|
Loading…
x
Reference in New Issue
Block a user