[jira] [Reopened] (CASSANDRA-3604) Bad code in org.apache.cassandra.cql.QueryProcessor

2011-12-09 Thread Zoltan Farkas (Reopened) (JIRA)

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

Zoltan Farkas reopened CASSANDRA-3604:
--


see my comment

 Bad code in org.apache.cassandra.cql.QueryProcessor
 ---

 Key: CASSANDRA-3604
 URL: https://issues.apache.org/jira/browse/CASSANDRA-3604
 Project: Cassandra
  Issue Type: Bug
Affects Versions: 1.0.5
 Environment: all
Reporter: Zoltan Farkas
   Original Estimate: 5m
  Remaining Estimate: 5m

 line 206:
 if (rows.get(0).key.key.equals(startKey))
 rows.remove(0);
 the equals will always return false because object of different types are 
 compared

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Reopened] (CASSANDRA-3606) Resource Leaks in code

2011-12-09 Thread Zoltan Farkas (Reopened) (JIRA)

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

Zoltan Farkas reopened CASSANDRA-3606:
--


See my comment

 Resource Leaks in code
 --

 Key: CASSANDRA-3606
 URL: https://issues.apache.org/jira/browse/CASSANDRA-3606
 Project: Cassandra
  Issue Type: Bug
Affects Versions: 1.0.5
Reporter: Zoltan Farkas
   Original Estimate: 1h
  Remaining Estimate: 1h

 at the following locations:
 At SSLFactory:[line 87]
 At SSTableExportTest:[line 83]
 At CommitLogTest:[line 191]
 At KeyGenerator:[line 108]
 At Ec2Snitch.java:[line 74]
 At SSTableExportTest.java:[line 83]
 At CassandraServer.java:[line 1164]
 At CommitLogTest.java:[line 191]
 At ByteBufferUtilTest.java:[line 194]
 At LazilyCompactedRowTest.java:[line 108]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Reopened] (CASSANDRA-3604) Bad code in org.apache.cassandra.cql.QueryProcessor

2011-12-09 Thread Zoltan Farkas (Reopened) (JIRA)

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

Zoltan Farkas reopened CASSANDRA-3604:
--


re-opened it agains release 1.1, I see this issue in trunk, se revision detail 
in my previous comment.

 Bad code in org.apache.cassandra.cql.QueryProcessor
 ---

 Key: CASSANDRA-3604
 URL: https://issues.apache.org/jira/browse/CASSANDRA-3604
 Project: Cassandra
  Issue Type: Bug
Affects Versions: 1.1
 Environment: all
Reporter: Zoltan Farkas
   Original Estimate: 5m
  Remaining Estimate: 5m

 line 206:
 if (rows.get(0).key.key.equals(startKey))
 rows.remove(0);
 the equals will always return false because object of different types are 
 compared

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira