Commit d6b2425
Fix TranslogDeletionPolicy when assertions are disabled (elastic#116654) (elastic#116714)
Current code causes a NPE when assertions are disabled: the
openTranslogRef is only non-null when assertions are enabled.
Co-authored-by: Elastic Machine <[email protected]>1 parent c441ada commit d6b2425
File tree
1 file changed
+1
-1
lines changed- server/src/main/java/org/elasticsearch/index/translog
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
0 commit comments