cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Kjellman (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-5116) upgradesstables does not upgrade all sstables on a node
Date Sun, 06 Jan 2013 08:24:12 GMT

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

Michael Kjellman commented on CASSANDRA-5116:
---------------------------------------------

during a repair -pr operation on a node that had a cleanup and upgrade i just saw an interesting
log line

{code}
 INFO [CompactionExecutor:71] 2013-01-06 00:18:36,503 CompactionTask.java (line 116) Compacting
[SSTableReader(path='/data/cassandra/brts/domain_metadata/brts-domain_metadata-ia-1105-Data.db'),
SSTableReader(path='/data/cassandra/brts/domain_metadata/brts-domain_metadata-ia-1108-Data.db'),
SSTableReader(path='/data/cassandra/brts/domain_metadata/brts-domain_metadata-hf-693-Data.db'),
SSTableReader(path='/data/cassandra/brts/domain_metadata/brts-domain_metadata-hf-694-Data.db'),
SSTableReader(path='/data/cassandra/brts/domain_metadata/brts-domain_metadata-ia-1110-Data.db'),
SSTableReader(path='/data/cassandra/brts/domain_metadata/brts-domain_metadata-hf-1024-Data.db'),
SSTableReader(path='/data/cassandra/brts/domain_metadata/brts-domain_metadata-ia-1106-Data.db'),
SSTableReader(path='/data/cassandra/brts/domain_metadata/brts-domain_metadata-ia-1104-Data.db'),
SSTableReader(path='/data/cassandra/brts/domain_metadata/brts-domain_metadata-ia-1109-Data.db'),
SSTableReader(path='/data/cassandra/brts/domain_metadata/brts-domain_metadata-ia-1107-Data.db'),
SSTableReader(path='/data/cassandra/brts/domain_metadata/brts-domain_metadata-hf-1025-Data.db')]
{code}

as you can see "hf" is the 1.1.6 format and "ia" is the 1.2.0 format. A nodetool repair -pr
has triggered a compaction of both formats.

So repair -pr somehow triggers a compaction on the non "active" sstables but standard cleanup
and upgradesstables operations do not.
                
> upgradesstables does not upgrade all sstables on a node
> -------------------------------------------------------
>
>                 Key: CASSANDRA-5116
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5116
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.2.0
>         Environment: Ubuntu 12.04
>            Reporter: Michael Kjellman
>            Assignee: Yuki Morishita
>
> upgradesstables appears to be skipping sstables randomly.
> finding a sstable with an mtime < the upgrade time and grepping through the logs for
a corresponding compaction log line, i find nothing. I have reproduced this on all of my nodes
across the cluster.
> is performAllSSTableOperation somehow skipping sstables?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message