hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Liang Xie (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-8869) incorrect javadoc for CompactionRequest.compareTo()
Date Thu, 04 Jul 2013 11:43:47 GMT

     [ https://issues.apache.org/jira/browse/HBASE-8869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Liang Xie updated HBASE-8869:
-----------------------------

    Description: 
{code}
   * <p>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.
{code}

but in real code, the granularity is ns, not ms: this.timeInNanos = System.nanoTime();
    
> incorrect javadoc for CompactionRequest.compareTo()
> ---------------------------------------------------
>
>                 Key: HBASE-8869
>                 URL: https://issues.apache.org/jira/browse/HBASE-8869
>             Project: HBase
>          Issue Type: Bug
>          Components: Compaction, documentation
>    Affects Versions: 0.95.1
>            Reporter: Liang Xie
>            Assignee: Liang Xie
>            Priority: Trivial
>
> {code}
>    * <p>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.
> {code}
> but in real code, the granularity is ns, not ms: this.timeInNanos = System.nanoTime();

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message