You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Petr Odut (JIRA)" <ji...@apache.org> on 2010/10/04 11:19:33 UTC
[jira] Created: (CASSANDRA-1571) Secondary Indexes aren't updated
when removing whole row
Secondary Indexes aren't updated when removing whole row
--------------------------------------------------------
Key: CASSANDRA-1571
URL: https://issues.apache.org/jira/browse/CASSANDRA-1571
Project: Cassandra
Issue Type: Bug
Components: Core
Affects Versions: 0.7 beta 2
Reporter: Petr Odut
When I remove a whole row in a CF
del SomeColumnFamily['row']
SI is not updated and get_indexed_slices still returns the deleted row.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CASSANDRA-1571) Secondary Indexes aren't updated
when removing whole row
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis updated CASSANDRA-1571:
--------------------------------------
Attachment: 1571.txt
> Secondary Indexes aren't updated when removing whole row
> --------------------------------------------------------
>
> Key: CASSANDRA-1571
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1571
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Affects Versions: 0.7 beta 1
> Reporter: Petr Odut
> Fix For: 0.7.0
>
> Attachments: 1571.txt
>
>
> When I remove a whole row in a CF
> del SomeColumnFamily['row']
> SI is not updated and get_indexed_slices still returns the deleted row.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CASSANDRA-1571) Secondary Indexes aren't updated
when removing whole row
Posted by "Stu Hood (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12918077#action_12918077 ]
Stu Hood commented on CASSANDRA-1571:
-------------------------------------
* ColumnFamilyStoreTest uses deletion.value() to confirm that the value was actually removed, but a column that has been deleted and GCd does not contain the original column: the original column contained 'x0000000000000001' and the deletion contains 'x4cab5aad'
* In Table.ignoreObsoleteMutations, is there a way to avoid cloning the CF for each column? Perhaps adding all columns to a single clone, and then collecting them back out?
* Can you add a quickie Javadoc to explain the readCurrent, ignoreObsolete and applyIndex steps?
> Secondary Indexes aren't updated when removing whole row
> --------------------------------------------------------
>
> Key: CASSANDRA-1571
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1571
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Affects Versions: 0.7 beta 1
> Reporter: Petr Odut
> Assignee: Jonathan Ellis
> Fix For: 0.7.0
>
> Attachments: 1571.txt
>
>
> When I remove a whole row in a CF
> del SomeColumnFamily['row']
> SI is not updated and get_indexed_slices still returns the deleted row.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Issue Comment Edited: (CASSANDRA-1571) Secondary Indexes
aren't updated when removing whole row
Posted by "Stu Hood (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12918077#action_12918077 ]
Stu Hood edited comment on CASSANDRA-1571 at 10/5/10 1:07 PM:
--------------------------------------------------------------
* {{EDIT: Ignore this line: noticed that you try it both ways.}} ColumnFamilyStoreTest uses deletion.value() to confirm that the value was actually removed, but a column that has been deleted and GCd does not contain the original column: the original column contained 'x0000000000000001' and the deletion contains 'x4cab5aad'
* In Table.ignoreObsoleteMutations, is there a way to avoid cloning the CF for each column? Perhaps adding all columns to a single clone, and then collecting them back out?
* Can you add a quickie Javadoc to explain the readCurrent, ignoreObsolete and applyIndex steps?
was (Author: stuhood):
* ColumnFamilyStoreTest uses deletion.value() to confirm that the value was actually removed, but a column that has been deleted and GCd does not contain the original column: the original column contained 'x0000000000000001' and the deletion contains 'x4cab5aad'
* In Table.ignoreObsoleteMutations, is there a way to avoid cloning the CF for each column? Perhaps adding all columns to a single clone, and then collecting them back out?
* Can you add a quickie Javadoc to explain the readCurrent, ignoreObsolete and applyIndex steps?
> Secondary Indexes aren't updated when removing whole row
> --------------------------------------------------------
>
> Key: CASSANDRA-1571
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1571
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Affects Versions: 0.7 beta 1
> Reporter: Petr Odut
> Assignee: Jonathan Ellis
> Fix For: 0.7.0
>
> Attachments: 1571.txt
>
>
> When I remove a whole row in a CF
> del SomeColumnFamily['row']
> SI is not updated and get_indexed_slices still returns the deleted row.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.