Commit 96f68c8
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 6fab813 commit 96f68c8
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 | |
|---|---|---|---|
| |||
5319 | 5319 | | |
5320 | 5320 | | |
5321 | 5321 | | |
5322 | | - | |
5323 | 5322 | | |
5324 | 5323 | | |
5325 | 5324 | | |
| |||
5331 | 5330 | | |
5332 | 5331 | | |
5333 | 5332 | | |
5334 | | - | |
| 5333 | + | |
| 5334 | + | |
5335 | 5335 | | |
5336 | 5336 | | |
5337 | 5337 | | |
| |||
0 commit comments