incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: Get_count method error?
Date Tue, 15 Dec 2009 17:44:23 GMT
... oh, and what version are you running against?

On Tue, Dec 15, 2009 at 11:04 AM, Jonathan Ellis <jbellis@gmail.com> wrote:
> there is similar logic already in multigetInternal, so it's not
> immediately clear what the bug is.
>
> can you supply a test case against the example CF definitions
> illustrating the problem?
>
> On Tue, Dec 15, 2009 at 4:03 AM, JKnight JKnight <beuknight@gmail.com> wrote:
>> Dear Mr Jonathan,
>>
>> I have changed a litle in multigetColumns method in CassandraServer.java
>> file to solve this error.
>>
>>             if (columns != null && columns.size() != 0)
>>             {
>>                 Iterator<IColumn> columnItr = columns.iterator();
>>                 IColumn column;
>>                 while (columnItr.hasNext()) {
>>                     column = (IColumn) columnItr.next();
>>                     if(column.isMarkedForDelete()){
>>                         columns.remove(column);
>>                     }
>>                 }
>>                 columnFamiliesMap.put(command.key, columns);
>>             }
>>
>> On Mon, Dec 14, 2009 at 8:33 AM, Jonathan Ellis <jbellis@gmail.com> wrote:
>>>
>>> yes, that would be a bug
>>>
>>> On 12/14/09, JKnight JKnight <beuknight@gmail.com> wrote:
>>> > Dear all, I found method get_count still count "deleted" column. Is this
>>> > an
>>> > error?
>>> >
>>> > get_count
>>> >
>>> >    -
>>> >
>>> >    i32 get_count(keyspace, key, column_parent, consistency_level)
>>> >
>>> > Counts the columns present in column_parent.
>>> >
>>> > --
>>> > Best regards,
>>> > JKnight
>>> >
>>
>>
>>
>> --
>> Best regards,
>> JKnight
>>
>

Mime
View raw message