You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jianwei Zhang (JIRA)" <ji...@apache.org> on 2014/05/04 08:11:14 UTC

[jira] [Updated] (CASSANDRA-7149) SimpleCondition await bug

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

Jianwei Zhang updated CASSANDRA-7149:
-------------------------------------

    Attachment: cassandra-1.2-7149.txt

patch for 1.2

> SimpleCondition await bug
> -------------------------
>
>                 Key: CASSANDRA-7149
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7149
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Jianwei Zhang
>            Priority: Minor
>         Attachments: cassandra-1.2-7149.txt
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> SimpleCondition await
> There is a bug when converting other time unit to missisecond .
> now:
> long end = System.currentTimeMillis() + unit.convert(time, TimeUnit.MILLISECONDS);
> should be:
> long end = System.currentTimeMillis() + TimeUnit.MILLISECONDS.convert(time, unit);



--
This message was sent by Atlassian JIRA
(v6.2#6252)