Commit 64ca26a
committed
Maybe die before failing engine (#28973)
Today we check for a few cases where we should maybe die before failing
the engine (e.g., when a merge fails). However, there are still other
cases where a fatal error can be hidden from us (for example, a failed
index writer commit). This commit modifies the mechanism for failing the
engine to always check for a fatal error before failing the engine.1 parent c433c4e commit 64ca26a
File tree
3 files changed
+24
-323
lines changed- core/src/main/java/org/elasticsearch/index/engine
- server/src/main/java/org/elasticsearch
3 files changed
+24
-323
lines changedLines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
890 | 890 | | |
891 | 891 | | |
892 | 892 | | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
893 | 914 | | |
894 | 915 | | |
895 | 916 | | |
896 | 917 | | |
897 | 918 | | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
898 | 922 | | |
899 | 923 | | |
900 | 924 | | |
| |||
Lines changed: 0 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1701 | 1701 | | |
1702 | 1702 | | |
1703 | 1703 | | |
1704 | | - | |
1705 | 1704 | | |
1706 | 1705 | | |
1707 | 1706 | | |
| |||
2037 | 2036 | | |
2038 | 2037 | | |
2039 | 2038 | | |
2040 | | - | |
2041 | | - | |
2042 | 2039 | | |
2043 | 2040 | | |
2044 | 2041 | | |
2045 | 2042 | | |
2046 | 2043 | | |
2047 | 2044 | | |
2048 | | - | |
2049 | | - | |
2050 | | - | |
2051 | | - | |
2052 | | - | |
2053 | | - | |
2054 | | - | |
2055 | | - | |
2056 | | - | |
2057 | | - | |
2058 | | - | |
2059 | | - | |
2060 | | - | |
2061 | | - | |
2062 | | - | |
2063 | | - | |
2064 | | - | |
2065 | | - | |
2066 | | - | |
2067 | | - | |
2068 | 2045 | | |
2069 | 2046 | | |
2070 | 2047 | | |
| |||
Lines changed: 0 additions & 300 deletions
This file was deleted.
0 commit comments