-
Notifications
You must be signed in to change notification settings - Fork 25k
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
Adjust translog operation assertions for synthetic source #119330
Conversation
50240da
to
8206042
Compare
8206042
to
b521d7d
Compare
Pinging @elastic/es-storage-engine (Team:StorageEngine) |
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 from my side. I think distributed team should review this as well.
server/src/main/java/org/elasticsearch/index/engine/TranslogOperationAsserter.java
Show resolved
Hide resolved
server/src/main/java/org/elasticsearch/index/engine/TranslogOperationAsserter.java
Outdated
Show resolved
Hide resolved
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.
server/src/main/java/org/elasticsearch/index/engine/TranslogOperationAsserter.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/elasticsearch/index/engine/TranslogOperationAsserter.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/elasticsearch/index/engine/TranslogOperationAsserter.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/elasticsearch/index/engine/TranslogOperationAsserter.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/elasticsearch/index/engine/TranslogOperationAsserter.java
Show resolved
Hide resolved
server/src/main/java/org/elasticsearch/index/translog/TranslogWriter.java
Outdated
Show resolved
Hide resolved
@martijnvg @henningandersen Thanks for reviewing! |
💔 Backport failed
You can use sqren/backport to manually backport by running |
…9330) When synthetic sources are used in peer recoveries, the translog operations via peer recoveries may differ from those created through replication. This change relaxes the translog operation assertion to account for synthetic source, allowing these operations to be considered equivalent. Closes elastic#119191
…119559) When synthetic sources are used in peer recoveries, the translog operations via peer recoveries may differ from those created through replication. This change relaxes the translog operation assertion to account for synthetic source, allowing these operations to be considered equivalent. Closes #119191
When synthetic sources are used in peer recoveries, the translog operations via peer recoveries may differ from those created through replication. This change relaxes the translog operation assertion to account for synthetic source, allowing these operations to be considered equivalent.
Closes #119191