You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2011/09/08 23:00:09 UTC

[jira] [Created] (CASSANDRA-3164) GCInspector still not avoiding divide by zero

GCInspector still not avoiding divide by zero
---------------------------------------------

                 Key: CASSANDRA-3164
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3164
             Project: Cassandra
          Issue Type: Bug
            Reporter: Jonathan Ellis
            Priority: Minor


This is because Long objects need to be compared with .equals, not ==.

CASSANDRA-3076 is the original issue but we should use a new ticket for this since 0.7.9 and 0.8.5 are both released already.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CASSANDRA-3164) GCInspector still not avoiding divide by zero

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

Jonathan Ellis updated CASSANDRA-3164:
--------------------------------------

    Affects Version/s: 0.7.9
        Fix Version/s: 0.8.6
                       0.7.10
             Assignee: Jonathan Ellis

> GCInspector still not avoiding divide by zero
> ---------------------------------------------
>
>                 Key: CASSANDRA-3164
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3164
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 0.7.9
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 0.7.10, 0.8.6
>
>
> This is because Long objects need to be compared with .equals, not ==.
> CASSANDRA-3076 is the original issue but we should use a new ticket for this since 0.7.9 and 0.8.5 are both released already.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CASSANDRA-3164) GCInspector still not avoiding divide by zero

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

Jonathan Ellis updated CASSANDRA-3164:
--------------------------------------

    Attachment: 3164.txt

obvious patch is obvious

> GCInspector still not avoiding divide by zero
> ---------------------------------------------
>
>                 Key: CASSANDRA-3164
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3164
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 0.7.9
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>            Priority: Minor
>              Labels: thistimeforsure
>             Fix For: 0.7.10, 0.8.6
>
>         Attachments: 3164.txt
>
>
> This is because Long objects need to be compared with .equals, not ==.
> CASSANDRA-3076 is the original issue but we should use a new ticket for this since 0.7.9 and 0.8.5 are both released already.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3164) GCInspector still not avoiding divide by zero

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

Hudson commented on CASSANDRA-3164:
-----------------------------------

Integrated in Cassandra-0.7 #552 (See [https://builds.apache.org/job/Cassandra-0.7/552/])
    Fix divide by zero error in GCInspector
patch by jbellis; reviewed by slebresne for CASSANDRA-3164

jbellis : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1170308
Files : 
* /cassandra/branches/cassandra-0.7/src/java/org/apache/cassandra/service/GCInspector.java


> GCInspector still not avoiding divide by zero
> ---------------------------------------------
>
>                 Key: CASSANDRA-3164
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3164
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 0.7.9
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>            Priority: Minor
>              Labels: thistimeforsure
>             Fix For: 0.7.10, 0.8.6
>
>         Attachments: 3164.txt
>
>
> This is because Long objects need to be compared with .equals, not ==.
> CASSANDRA-3076 is the original issue but we should use a new ticket for this since 0.7.9 and 0.8.5 are both released already.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3164) GCInspector still not avoiding divide by zero

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

T Jake Luciani commented on CASSANDRA-3164:
-------------------------------------------

curse you autoboxing!

> GCInspector still not avoiding divide by zero
> ---------------------------------------------
>
>                 Key: CASSANDRA-3164
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3164
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Jonathan Ellis
>            Priority: Minor
>
> This is because Long objects need to be compared with .equals, not ==.
> CASSANDRA-3076 is the original issue but we should use a new ticket for this since 0.7.9 and 0.8.5 are both released already.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-3164) GCInspector still not avoiding divide by zero

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

Sylvain Lebresne commented on CASSANDRA-3164:
---------------------------------------------

+1

> GCInspector still not avoiding divide by zero
> ---------------------------------------------
>
>                 Key: CASSANDRA-3164
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3164
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 0.7.9
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>            Priority: Minor
>              Labels: thistimeforsure
>             Fix For: 0.7.10, 0.8.6
>
>         Attachments: 3164.txt
>
>
> This is because Long objects need to be compared with .equals, not ==.
> CASSANDRA-3076 is the original issue but we should use a new ticket for this since 0.7.9 and 0.8.5 are both released already.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira