-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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-25393: Prevent concurrent compaction and DDL operations #2503
Conversation
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.
Just checking – the goal of this change is to prevent concurrent compaction and DDL operations?
As discussed offline, verifyTableOrPartitionIdHasNotChanged might not be needed because if the table (or partition) was dropped, then the compaction has been removed from the queue and can't be marked failed, right? Or is it needed after all?
it's started as HIVE-24235 , but once we introduced read locks that's no longer needed. I'll remove it, however, that would require some tests changes that mocked that method. |
I think if it's not useful we should remove it. Keeping it would cause confusion for future maintainers. |
3305d0d
to
ac0316b
Compare
done |
…uzmenko, reviewed by Karen Coppage) Closes (apache#2503)
…uzmenko, reviewed by Karen Coppage) Closes (apache#2503)
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?