Index: hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/compactions/CompactionRequest.java =================================================================== --- hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/compactions/CompactionRequest.java (revision 1499622) +++ hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/compactions/CompactionRequest.java (working copy) @@ -108,10 +108,9 @@ * priorities are the same it will first compare priority then date * to maintain a FIFO functionality. * - *

Note: The date is only accurate to the millisecond which means it is - * possible that two requests were inserted into the queue within a - * millisecond. When that is the case this function will break the tie - * arbitrarily. + *

Note: The enqueue timestamp is accurate to the nanosecond. if two + * requests have same timestamp then this function will break the tie + * arbitrarily with hashCode() comparing. */ @Override public int compareTo(CompactionRequest request) {