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

[jira] Created: (CASSANDRA-1362) AsynchResult does not respect TimeUnit in get()

AsynchResult does not respect TimeUnit in get()
-----------------------------------------------

                 Key: CASSANDRA-1362
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1362
             Project: Cassandra
          Issue Type: Bug
          Components: Core
    Affects Versions: 0.6.4
            Reporter: Martin Hentschel
            Priority: Minor
             Fix For: 0.6.4


When waiting for a blocking get in AsynchResult, the parameter {{TimeUnit tu}} is ignored. The passed parameter {{long timeout}} is assumed to be milliseconds. Attached you will find my quick fix to convert {{timeout}} to milliseconds with respect to {{tu}}.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CASSANDRA-1362) AsynchResult does not respect TimeUnit in get()

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-1362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12896359#action_12896359 ] 

Hudson commented on CASSANDRA-1362:
-----------------------------------

Integrated in Cassandra #510 (See [http://hudson.zones.apache.org/hudson/job/Cassandra/510/])
    add TimeUnit.convert call to AsyncResult.  patch by Martin Hentschel; reviewed by jbellis for CASSANDRA-1362


> AsynchResult does not respect TimeUnit in get()
> -----------------------------------------------
>
>                 Key: CASSANDRA-1362
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1362
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Martin Hentschel
>            Assignee: Martin Hentschel
>            Priority: Trivial
>             Fix For: 0.7 beta 1
>
>         Attachments: trunk-982452.txt
>
>
> When waiting for a blocking get in AsynchResult, the parameter {{TimeUnit tu}} is ignored. The passed parameter {{long timeout}} is assumed to be milliseconds. Attached you will find my quick fix to convert {{timeout}} to milliseconds with respect to {{tu}}.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CASSANDRA-1362) AsynchResult does not respect TimeUnit in get()

Posted by "Martin Hentschel (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-1362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Hentschel updated CASSANDRA-1362:
----------------------------------------

    Comment: was deleted

(was: Patch to convert {{timeout}} parameter to milliseconds. )

> AsynchResult does not respect TimeUnit in get()
> -----------------------------------------------
>
>                 Key: CASSANDRA-1362
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1362
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.6.4
>            Reporter: Martin Hentschel
>            Priority: Minor
>             Fix For: 0.6.4
>
>         Attachments: trunk-982452.txt
>
>
> When waiting for a blocking get in AsynchResult, the parameter {{TimeUnit tu}} is ignored. The passed parameter {{long timeout}} is assumed to be milliseconds. Attached you will find my quick fix to convert {{timeout}} to milliseconds with respect to {{tu}}.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CASSANDRA-1362) AsynchResult does not respect TimeUnit in get()

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-1362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis updated CASSANDRA-1362:
--------------------------------------

             Assignee: Martin Hentschel
        Fix Version/s: 0.7 beta 1
                           (was: 0.6.4)
    Affects Version/s:     (was: 0.6.4)
             Priority: Trivial  (was: Minor)

> AsynchResult does not respect TimeUnit in get()
> -----------------------------------------------
>
>                 Key: CASSANDRA-1362
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1362
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Martin Hentschel
>            Assignee: Martin Hentschel
>            Priority: Trivial
>             Fix For: 0.7 beta 1
>
>         Attachments: trunk-982452.txt
>
>
> When waiting for a blocking get in AsynchResult, the parameter {{TimeUnit tu}} is ignored. The passed parameter {{long timeout}} is assumed to be milliseconds. Attached you will find my quick fix to convert {{timeout}} to milliseconds with respect to {{tu}}.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CASSANDRA-1362) AsynchResult does not respect TimeUnit in get()

Posted by "Martin Hentschel (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-1362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Hentschel updated CASSANDRA-1362:
----------------------------------------

    Attachment: trunk-982452.txt

Patch to convert {{timeout}} parameter to milliseconds. 

> AsynchResult does not respect TimeUnit in get()
> -----------------------------------------------
>
>                 Key: CASSANDRA-1362
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1362
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.6.4
>            Reporter: Martin Hentschel
>            Priority: Minor
>             Fix For: 0.6.4
>
>         Attachments: trunk-982452.txt
>
>
> When waiting for a blocking get in AsynchResult, the parameter {{TimeUnit tu}} is ignored. The passed parameter {{long timeout}} is assumed to be milliseconds. Attached you will find my quick fix to convert {{timeout}} to milliseconds with respect to {{tu}}.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.