-
Notifications
You must be signed in to change notification settings - Fork 4.8k
HIVE-28976 : Enhance Commit message in notification_log to correctly filter events during incremental replication #5841
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
base: master
Are you sure you want to change the base?
Conversation
@harshal-16, please fill out all the details in the PR summary |
* Details: * Commit txn of alter mv command was getting populated by write event infos. * This was causing a repl failure on load. * This is now fixed. * Testing: * Added itest.
to correctly filter events during incremental replication Details: * Added write ID, database name into commit & abort message * Updated filter in CommitTxnHandler to utilise it during replication dump process Testing: * Added test cases * Tested on live cluster
|
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.
+1. Looks good to me.
|
||
Assert.assertEquals(999L, commitTxnMsg.getTxnId().longValue()); | ||
} | ||
|
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.
Could you remove the blank lines?
Details:
Testing:
What changes were proposed in this pull request?
Why are the changes needed?
Does this PR introduce any user-facing change?
How was this patch tested?