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-27039 Some methods of MasterRegion should be annotated for testing only #4433
Conversation
🎊 +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.
One thing I'm not sure is whether these methods are designed for test only or reserved for later usage, would you mind double check @2005hithlj ? Thanks.
Are these methods actually used in tests? If not, I think we can just remove them... For me, at least I do not think the get method is for testing only... |
Checked again, I think it is OK to add the test only annotation to get method too. But let's add some comments. The design for master region is to only load all the data to memory at once when starting, so typically you should not use the get method to get a single row of data at runtime. |
OK, I will add some comment. Thanks. @Apache9 |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
@Apache9 Could you take a look? Thanks. |
…ing only (apache#4433) Signed-off-by: Duo Zhang <zhangduo@apache.org>
…for testing only (apache#4433)" This reverts commit b0bac94.
…ing only (apache#4433) Signed-off-by: Duo Zhang <zhangduo@apache.org> (cherry picked from commit 15002fc) Change-Id: I44188f67e3a7f44d8ef54099b375023a6a821641
https://issues.apache.org/jira/browse/HBASE-27039