hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhou_shuaifeng@sina.com" <zhou_shuaif...@sina.com>
Subject A compact bug?
Date Tue, 21 Apr 2015 13:10:35 GMT
Hi all,

In compactsplitthread.java, the requestCompactionInternal method is like this:

  private synchronized CompactionRequest requestCompactionInternal(final HRegion r, final
Store s,

    ThreadPoolExecutor pool = (!selectNow && s.throttleCompaction(size))
      ? largeCompactions : smallCompactions;


this will cause all compactions with selectNow =true go to the small compaction queue, even
the size is large enough, is it reasonable?

I checked the commit history, this comes from HBASE-8665, is there any reason or a bug?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message