keith-turner commented on issue #4033:
URL: https://github.com/apache/accumulo/issues/4033#issuecomment-1845558890

   To implement this will need to modify 
[CompactionJobPrioritizer.java](https://github.com/apache/accumulo/blob/3e26064bfde82986798d45c0aa4adc9ca82c476b/core/src/main/java/org/apache/accumulo/core/util/compaction/CompactionJobPrioritizer.java#L32).
  Currently this class creates a 16 bit priority using the first bit for 
compaction type and the remaining 15 bits for the number of files.  Could 
change it to use the 16 bits in the following way.
   
    * First 2 bits are table type, accumulo.root, accumulo.metadata, 
accumulo.*, user table
    * Third bit is compaction type
    * Remaining  13 bits are the files count.  Would need to adjust the max 
checks to 2^13.
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to