-
Notifications
You must be signed in to change notification settings - Fork 24.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use current term in initial leases in engine test #38285
Conversation
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 etention-leases never gets updated.
Pinging @elastic/es-distributed |
@dnhatn can we mute the test while this PR is not merged? I saw this happening again on 6.7 today: https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+6.7+corretto-periodic/ES_BUILD_JAVA=java11,label=amazon/4/console |
Other occurances: Since its also failing on master I assume that 7.x and 7.0 are also affected. Will open a mute-PR against master, please let me know if you are okay muting this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
@cbuescher @jasontedor thanks. |
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.
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.
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.
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.
CI: https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+master+matrix-java-periodic/ES_BUILD_JAVA=openjdk12,ES_RUNTIME_JAVA=zulu8,nodes=immutable&&linux&&docker/220/console