You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Norman Maurer (JIRA)" <ji...@apache.org> on 2011/07/31 20:47:09 UTC

[jira] [Created] (CASSANDRA-2979) Skip system table when repair

Skip system table when repair
-----------------------------

                 Key: CASSANDRA-2979
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2979
             Project: Cassandra
          Issue Type: Improvement
          Components: Core
    Affects Versions: 0.8.2
            Reporter: Norman Maurer


>From ml:

When I run nodetool repair on a node on my 3-node cluster, I see 3 messages like the following:

 INFO [manual-repair-6d9a617f-c496-4744-9002-a56909b83d5b] 2011-07-30 18:50:28,464 AntiEntropyService.java (line 636) No neighbors to repair with for system on (0,56713727820156410577229101238628035242]: manual-repair-6d9a617f-c496-4744-9002-a56909b83d5b completed.

Granted, there's no data on these machines yet.  Is this normal?


And the answer:
You can discard those. This is saying it cannot repair the system keyspace
(table used internally). It turns those aren't replicated and thus don't need
to be repaired. We should probably update the code to skip trying to
repair the system table but in the meantime this is harmless.

--
Sylvain

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

        

[jira] [Updated] (CASSANDRA-2979) Skip system table when repair

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-2979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis updated CASSANDRA-2979:
--------------------------------------

             Reviewer: slebresne
    Affects Version/s:     (was: 0.8.2)
             Assignee: Norman Maurer

I could have sworn we already skip system table on repair.  Maybe that is only in trunk?

> Skip system table when repair
> -----------------------------
>
>                 Key: CASSANDRA-2979
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2979
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Norman Maurer
>            Assignee: Norman Maurer
>             Fix For: 0.8.3
>
>         Attachments: CASSANDRA-2979
>
>
> From ml:
> When I run nodetool repair on a node on my 3-node cluster, I see 3 messages like the following:
>  INFO [manual-repair-6d9a617f-c496-4744-9002-a56909b83d5b] 2011-07-30 18:50:28,464 AntiEntropyService.java (line 636) No neighbors to repair with for system on (0,56713727820156410577229101238628035242]: manual-repair-6d9a617f-c496-4744-9002-a56909b83d5b completed.
> Granted, there's no data on these machines yet.  Is this normal?
> And the answer:
> You can discard those. This is saying it cannot repair the system keyspace
> (table used internally). It turns those aren't replicated and thus don't need
> to be repaired. We should probably update the code to skip trying to
> repair the system table but in the meantime this is harmless.
> --
> Sylvain

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

        

[jira] [Updated] (CASSANDRA-2979) Skip system table when repair

Posted by "Norman Maurer (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-2979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Norman Maurer updated CASSANDRA-2979:
-------------------------------------

    Attachment: CASSANDRA-2979

> Skip system table when repair
> -----------------------------
>
>                 Key: CASSANDRA-2979
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2979
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.8.2
>            Reporter: Norman Maurer
>             Fix For: 0.8.3
>
>         Attachments: CASSANDRA-2979
>
>
> From ml:
> When I run nodetool repair on a node on my 3-node cluster, I see 3 messages like the following:
>  INFO [manual-repair-6d9a617f-c496-4744-9002-a56909b83d5b] 2011-07-30 18:50:28,464 AntiEntropyService.java (line 636) No neighbors to repair with for system on (0,56713727820156410577229101238628035242]: manual-repair-6d9a617f-c496-4744-9002-a56909b83d5b completed.
> Granted, there's no data on these machines yet.  Is this normal?
> And the answer:
> You can discard those. This is saying it cannot repair the system keyspace
> (table used internally). It turns those aren't replicated and thus don't need
> to be repaired. We should probably update the code to skip trying to
> repair the system table but in the meantime this is harmless.
> --
> Sylvain

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

        

[jira] [Commented] (CASSANDRA-2979) Skip system table when repair

Posted by "Norman Maurer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-2979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13073607#comment-13073607 ] 

Norman Maurer commented on CASSANDRA-2979:
------------------------------------------

I just had a quick look again and it seems like it also tries to repair the system table in 0.8.x. Maybe I just miss something here so it will never try todo so...

About the patch.. I was not sure if the right place is StorageService or NodeProbe to handle this here. So I'm open for suggestions and to provide another patch if necessary..

> Skip system table when repair
> -----------------------------
>
>                 Key: CASSANDRA-2979
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2979
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Norman Maurer
>            Assignee: Norman Maurer
>             Fix For: 0.8.3
>
>         Attachments: CASSANDRA-2979
>
>
> From ml:
> When I run nodetool repair on a node on my 3-node cluster, I see 3 messages like the following:
>  INFO [manual-repair-6d9a617f-c496-4744-9002-a56909b83d5b] 2011-07-30 18:50:28,464 AntiEntropyService.java (line 636) No neighbors to repair with for system on (0,56713727820156410577229101238628035242]: manual-repair-6d9a617f-c496-4744-9002-a56909b83d5b completed.
> Granted, there's no data on these machines yet.  Is this normal?
> And the answer:
> You can discard those. This is saying it cannot repair the system keyspace
> (table used internally). It turns those aren't replicated and thus don't need
> to be repaired. We should probably update the code to skip trying to
> repair the system table but in the meantime this is harmless.
> --
> Sylvain

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

        

[jira] [Commented] (CASSANDRA-2979) Skip system table when repair

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-2979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13073641#comment-13073641 ] 

Hudson commented on CASSANDRA-2979:
-----------------------------------

Integrated in Cassandra-0.8 #249 (See [https://builds.apache.org/job/Cassandra-0.8/249/])
    Ignore system tables during repair
patch by norman; reviewed by slebresne for CASSANDRA-2979

slebresne : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1152870
Files : 
* /cassandra/branches/cassandra-0.8/CHANGES.txt
* /cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/service/StorageService.java


> Skip system table when repair
> -----------------------------
>
>                 Key: CASSANDRA-2979
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2979
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Norman Maurer
>            Assignee: Norman Maurer
>             Fix For: 0.8.3
>
>         Attachments: CASSANDRA-2979
>
>
> From ml:
> When I run nodetool repair on a node on my 3-node cluster, I see 3 messages like the following:
>  INFO [manual-repair-6d9a617f-c496-4744-9002-a56909b83d5b] 2011-07-30 18:50:28,464 AntiEntropyService.java (line 636) No neighbors to repair with for system on (0,56713727820156410577229101238628035242]: manual-repair-6d9a617f-c496-4744-9002-a56909b83d5b completed.
> Granted, there's no data on these machines yet.  Is this normal?
> And the answer:
> You can discard those. This is saying it cannot repair the system keyspace
> (table used internally). It turns those aren't replicated and thus don't need
> to be repaired. We should probably update the code to skip trying to
> repair the system table but in the meantime this is harmless.
> --
> Sylvain

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