get_slice_from forces iterating all columns and leaks file handlers with
exception
-----------------------------------------------------------------------------------
Key: CASSANDRA-201
URL: https://issues.apache.org/jira/browse/CASSANDRA-201
Project: Cassandra
Issue Type: Bug
Reporter: Jun Rao
Assignee: Jun Rao
There are 2 bugs in the get_slice_from code in CFS.java.
1. The following 2 lines forces all columns to be iterated in each iterator,
which is inefficient.
List<IColumn> L = new ArrayList();
CollectionUtils.addAll(L, collated);
2. If any exception occurs, the opened file handlers are not closed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.