-
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-26249 Ameliorate compaction made by bul… #3831
HBASE-26249 Ameliorate compaction made by bul… #3831
Conversation
🎊 +1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
ff85540
to
91cfa19
Compare
🎊 +1 overall
This message was automatically generated. |
🎊 +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.
In general I think the approach is good.
But on the API design, do we really need to expose isUnderCompaction method? What about just add a flag to indicate whether to still request compaction if the store is already under compaction? As the name of the interface is CompactionRequester...
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
Outdated
Show resolved
Hide resolved
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/Store.java
Outdated
Show resolved
Hide resolved
This is a good idea, I will add a flag to replace the isUnderCompaction method, thanks @Apache9 |
07732b6
to
f9696e5
Compare
...rver/src/main/java/org/apache/hadoop/hbase/regionserver/compactions/CompactionRequester.java
Outdated
Show resolved
Hide resolved
💔 -1 overall
This message was automatically generated. |
f9696e5
to
04af6c5
Compare
🎊 +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. |
Signed-off-by: Duo Zhang <zhangduo@apache.org>
…apache#3831) Signed-off-by: Duo Zhang <zhangduo@apache.org>
…3874) Signed-off-by: Duo Zhang <zhangduo@apache.org>
…k-loading files
HBASE-25213 introduced the idea of trigger compaction after bulk load.
This issue makes two changes of the idea,