-
Notifications
You must be signed in to change notification settings - Fork 3.4k
HBASE-22335 do add hfile ref only when replication_scope is 1 #6955
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
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
| // additional wait to make sure no extra bulk load happens | ||
| Thread.sleep(400); | ||
| assertEquals(1, BULK_LOADS_COUNT.get()); | ||
| ZKWatcher zkw = UTIL1.getZooKeeperWatcher(); |
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.
Please use ReplicationQueueStorage to get hfile refs, since on master we use a hbase table to track the replication queue, not zookeeper.
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.
ok, i will update it.
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.
PR is updated with the fix, pls review
|
Any updates here? |
75292b5 to
8fcfef5
Compare
Apache9
left a comment
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.
Please open an PR against branch-2, since on branch-2 the method for getting replication queue storage is different I believe.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
ok |
8fcfef5 to
29bc490
Compare
#7115 for branch-2 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
@chandrasekhar-188k Please fix the checkstyle issue? |
963aa9f to
c0de21b
Compare
I have pushed the fixes for checkstyle issue and UT issue. |
|
🎊 +1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
Co-authored-by: chenxu14 <[email protected]> Signed-off-by: Duo Zhang <[email protected]> (cherry picked from commit e3aacaf)
No description provided.