Skip to content

HIVE-28988: Handle materialized view commit txn during hive acid repl #5842

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

shivaom02
Copy link

What changes were proposed in this pull request?

  • 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.

Why are the changes needed?

Check HIVE-28988

Does this PR introduce any user-facing change?

No, just fixes a bug

How was this patch tested?

Added itest. Will check CI result.

@@ -128,6 +130,20 @@ private List<WriteEventInfo> getAllWriteEventInfo(Context withinContext) throws
})));
}

private List<WriteEventInfo> getAllWriteEventInfoExceptMV(List<WriteEventInfo> writeEventInfoList) {
Copy link
Member

@deniskuzZ deniskuzZ Jun 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we even need to store the MV write events and do the filter later, as done here?

* 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.
Copy link

sonarqubecloud bot commented Jun 9, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants