Skip to content
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

HIVE-24450: DbNotificationListener Request Notification IDs in Batches #1718

Closed
wants to merge 1 commit into from

Conversation

belugabehr
Copy link
Contributor

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?

@pvargacl
Copy link
Contributor

@belugabehr Although I am not very familiar with this area, but what happens if multiple HMS are running in HA? Wouldn't this solution mean, that potentially the order of the notification events will change? Two HMS are running HMS 1 gets id range 1-10, HMS 2 gets 11-20. Then openTxn notification goes to HMS 2 and allocateWriteId notification goes to HMS1. The sequence of the ids will not represent the sequence of the events. Wouldn't this mess up acid table replication?

@aasha
Copy link
Contributor

aasha commented Dec 2, 2020

In HA case how will the ordering of events be maintained? Acid Replication relies on the event sequence. So the ordering needs to be maintained.

@belugabehr
Copy link
Contributor Author

Thank you all for the feedback. Please review my notes:

https://issues.apache.org/jira/browse/HIVE-24450

@belugabehr belugabehr closed this Dec 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants