Commit df49426
committed
Use current term in initial leases in engine test (#38285)
We need to use the current primary term instead of 1L for the initial
retention leases; otherwise, the primary term of the committed
retention leases won't match the current primary term if the
retention leases never gets updated.1 parent eb511eb commit df49426
File tree
1 file changed
+2
-2
lines changed- server/src/test/java/org/elasticsearch/index/engine
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5296 | 5296 | | |
5297 | 5297 | | |
5298 | 5298 | | |
5299 | | - | |
5300 | 5299 | | |
5301 | 5300 | | |
5302 | 5301 | | |
| |||
5308 | 5307 | | |
5309 | 5308 | | |
5310 | 5309 | | |
5311 | | - | |
| 5310 | + | |
| 5311 | + | |
5312 | 5312 | | |
5313 | 5313 | | |
5314 | 5314 | | |
| |||
0 commit comments