-
Notifications
You must be signed in to change notification settings - Fork 4.8k
HIVE-28975: [HiveAcidReplication] Remove dangling txns from Target side post incremental replication #5874
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
Conversation
03807bd
to
63d5859
Compare
…de post incremental replication Details: * Currently, if for some reason on the source side if there is any entry missing in notification_log / txn_write_notification_log, then it may lead to dangling open transaction on Target side post replication * Repl created Open transaction can lead to repl_incompatible error once ACIDHouseKeeper thread kills the dangling transaction * Instead of that we can proactively clean the dangling transactions on the Target side preventing replication failure * It is proactive measure to protect replication against future bugs similar to HIVE-27797 Testing: * Tested on Cluster * Added test case
|
+1. LGTM. |
I did not check that, I will check it |
why there are so many gen classes updated when you introduced just 1 method? What version of protoc-gen-grpc-java have you used? |
@harshal-16 then why did you merge. Guys that is a bad practice!! Just check the Hive code report: https://sonarcloud.io/project/issues?impactSeverities=BLOCKER&issueStatuses=OPEN%2CCONFIRMED&id=apache_hive |
Folks, I think the thrift code is generated with some wrong version of thrift. We are on the urge of cutting branch for the 4.1.0 release Lets revert it for now & we can rework it |
@ayushtkn Where can I find this detail? I checked the generated files again, and it also says * Autogenerated by Thrift Compiler (0.16.0) as earlier |
I'll be performing the branch-cut operation in about two hours. If we haven’t reached an agreement yet, we can revert this PR first. Thanks. |
Did the thrift gen validation. I am getting just 1 java file modified (I am not sure why we need rest: cpp, php, py and rb) - ThriftHiveMetastore.java! Had to move the
Diff
@harshal-16, @ayushtkn, @zhangbutao my vote is to revert, update and resubmit. |
Details:
Testing:
What changes were proposed in this pull request?
Why are the changes needed?
Does this PR introduce any user-facing change?
No
How was this patch tested?