Commit 514c0d7
authored
Replace FailedToCommitClusterStateException with NotMasterException (#136083)
Replaces the `FailedToCommitClusterStateException` inside
`MasterService .BatchingTaskQueue.submitTask` with a
`NotMasterException`. Since this exception is thrown when the
node is shutting down and closing its threadpools, it can no longer
be the current master.
Relates to: ES-130611 parent b1492f7 commit 514c0d7
File tree
2 files changed
+2
-8
lines changed- server/src
- main/java/org/elasticsearch/cluster/service
- test/java/org/elasticsearch/cluster/service
2 files changed
+2
-8
lines changedLines changed: 1 addition & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1607 | 1607 | | |
1608 | 1608 | | |
1609 | 1609 | | |
1610 | | - | |
1611 | | - | |
1612 | | - | |
1613 | | - | |
1614 | | - | |
1615 | | - | |
1616 | | - | |
| 1610 | + | |
1617 | 1611 | | |
1618 | 1612 | | |
1619 | 1613 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2249 | 2249 | | |
2250 | 2250 | | |
2251 | 2251 | | |
2252 | | - | |
| 2252 | + | |
2253 | 2253 | | |
2254 | 2254 | | |
2255 | 2255 | | |
| |||
0 commit comments