-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
HBASE-28683 Only allow one TableProcedureInterface for a single table… #6046
Conversation
Let's see if it could pass all the UTs. If so, let me see how to add some UTs for it. @virajjasani FYI. |
🎊 +1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
@virajjasani PTAL. This is for addressing the problem for HBASE-28522, where we need to make sure that even if we release the exclusive lock after a step in DisableTableProcedure, no other table procedure can acquire the lock and cause trouble. Thanks. |
The failed hadoop 3.4.0 hadoop check will be fixed by HBASE-28714. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
@virajjasani I think the patch is good to go, there are already plenty of tests to verify the concurrent execution of table related procedures. Could you please take a look at this? Thanks. |
* MasterProcedureScheduler's tableQueue. See HBASE-28683 for more details | ||
*/ | ||
@InterfaceAudience.Private | ||
class TableProcedureWaitingQueue { |
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.
Nice, this looks promising, let me take detailed look tomorrow
...-server/src/main/java/org/apache/hadoop/hbase/master/procedure/MasterProcedureScheduler.java
Outdated
Show resolved
Hide resolved
...erver/src/main/java/org/apache/hadoop/hbase/master/procedure/TableProcedureWaitingQueue.java
Outdated
Show resolved
Hide resolved
… to run at the same time for some special procedure types
@virajjasani Any other concerns? Thanks. |
🎊 +1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
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.
Pending checkstyle fix, +1 otherwise
Spotless just formats the code like this, I have no way to fix it... Maybe we could try to update the checkstyle issue to eliminate the warnings... |
Got it, no worries. It's upto you :) |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
… to run at the same time for some special procedure types (apache#6046) Signed-off-by: Viraj Jasani <vjasani@apache.org> (cherry picked from commit 50a495f)
… to run at the same time for some special procedure types