cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Williams (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-2244) repair doesn't handle secondary indexes
Date Tue, 01 Mar 2011 23:34:36 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-2244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13001183#comment-13001183
] 

Brandon Williams commented on CASSANDRA-2244:
---------------------------------------------

I added some logging, it does do something after streaming:

{noformat}
 INFO 23:27:32,050 Opening /var/lib/cassandra/data/Keyspace1/Standard1-f-1
 INFO 23:27:34,843 Opening /var/lib/cassandra/data/Keyspace1/Standard1-f-2
 INFO 23:27:35,232 Opening /var/lib/cassandra/data/Keyspace1/Standard1-f-3
 INFO 23:27:35,246 Building index for ColumnFamilyStore(table='Keyspace1', columnFamily='Standard1')
[SSTableReader(path='/var/lib/cassandra/data/Keyspace1/Standard1-f-1-Data.db'), SSTableReader(path='/var/lib/cassandra/data/Keyspace1/Standard1-f-2-Data.db'),
SSTableReader(path='/var/lib/cassandra/data/Keyspace1/Standard1-f-3-Data.db')] [java.nio.HeapByteBuffer[pos=0
lim=2 cap=2]]
 INFO 23:29:53,448 Finished streaming session 19283352579402862 from /10.179.65.102
{noformat}

During the ~2.5 minutes between the last 2 lines it appeared to generate the index, however
flushing afterwards shows no index was generated:

{noformat}
 INFO 23:32:06,591 switching in a fresh Memtable for LocationInfo at CommitLogContext(file='/var/lib/cassandra/commitlog/CommitLog-1299022015229.log',
position=12763)
 INFO 23:32:06,592 Enqueuing flush of Memtable-LocationInfo@1459852990(35 bytes, 1 operations)
 INFO 23:32:06,593 Writing Memtable-LocationInfo@1459852990(35 bytes, 1 operations)
 INFO 23:32:06,623 Completed flushing /var/lib/cassandra/data/system/LocationInfo-f-3-Data.db
(89 bytes)
{noformat}




> repair doesn't handle secondary indexes
> ---------------------------------------
>
>                 Key: CASSANDRA-2244
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2244
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7.0
>            Reporter: Brandon Williams
>            Assignee: Jonathan Ellis
>             Fix For: 0.7.4
>
>
> The repaired node neither receives indexes from the replicas, nor does it generate them
afterwards.

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

        

Mime
View raw message