[jira] [Updated] (CASSANDRA-2758) nodetool repair never finishes. Loops forever through merkle trees?
[ https://issues.apache.org/jira/browse/CASSANDRA-2758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sylvain Lebresne updated CASSANDRA-2758: Attachment: 0001-Fix-MerkleTree.init-to-not-create-non-sensical-trees.patch MerkleTree.init(), which is used to create the merkle tree in case there is no data, was creating a nonsensical tree by stopping it's iteration too late. Attached patch to fix (and dumping priority to minor because it has very little chance to hit anyone in any real-life situation). nodetool repair never finishes. Loops forever through merkle trees? --- Key: CASSANDRA-2758 URL: https://issues.apache.org/jira/browse/CASSANDRA-2758 Project: Cassandra Issue Type: Bug Components: Core Affects Versions: 0.8.0 Reporter: Terje Marthinussen Assignee: Sylvain Lebresne Fix For: 0.8.1 Attachments: 0001-Fix-MerkleTree.init-to-not-create-non-sensical-trees.patch I am not sure all steps here is needed, but as part of testing something else, I set up node1: initial_token: 1 node2: initial_token: 5 Then: {noformat} create keyspace myks with placement_strategy = 'org.apache.cassandra.locator.SimpleStrategy' with strategy_options = [{ replication_factor:2 }]; use myks; create column family test with comparator = AsciiType and column_metadata=[ {column_name: 'up_', validation_class: LongType, index_type: 0}, {column_name: 'del_', validation_class: LongType, index_type: 0} ] and keys_cached = 10 and rows_cached = 1 and min_compaction_threshold = 2; quit; {noformat} Doing nodetool repair after this gets both nodes busy looping forever. A quick look at one node in eclipse makes me guess its having fun spinning through merkle trees, but I have to admit I have not look at it for a long time. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-2758) nodetool repair never finishes. Loops forever through merkle trees?
[ https://issues.apache.org/jira/browse/CASSANDRA-2758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sylvain Lebresne updated CASSANDRA-2758: Priority: Minor (was: Major) nodetool repair never finishes. Loops forever through merkle trees? --- Key: CASSANDRA-2758 URL: https://issues.apache.org/jira/browse/CASSANDRA-2758 Project: Cassandra Issue Type: Bug Components: Core Affects Versions: 0.8.0 Reporter: Terje Marthinussen Assignee: Sylvain Lebresne Priority: Minor Fix For: 0.8.1 Attachments: 0001-Fix-MerkleTree.init-to-not-create-non-sensical-trees.patch I am not sure all steps here is needed, but as part of testing something else, I set up node1: initial_token: 1 node2: initial_token: 5 Then: {noformat} create keyspace myks with placement_strategy = 'org.apache.cassandra.locator.SimpleStrategy' with strategy_options = [{ replication_factor:2 }]; use myks; create column family test with comparator = AsciiType and column_metadata=[ {column_name: 'up_', validation_class: LongType, index_type: 0}, {column_name: 'del_', validation_class: LongType, index_type: 0} ] and keys_cached = 10 and rows_cached = 1 and min_compaction_threshold = 2; quit; {noformat} Doing nodetool repair after this gets both nodes busy looping forever. A quick look at one node in eclipse makes me guess its having fun spinning through merkle trees, but I have to admit I have not look at it for a long time. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-2758) nodetool repair never finishes. Loops forever through merkle trees?
[ https://issues.apache.org/jira/browse/CASSANDRA-2758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis updated CASSANDRA-2758: -- Reviewer: stuhood nodetool repair never finishes. Loops forever through merkle trees? --- Key: CASSANDRA-2758 URL: https://issues.apache.org/jira/browse/CASSANDRA-2758 Project: Cassandra Issue Type: Bug Components: Core Affects Versions: 0.8.0 Reporter: Terje Marthinussen Assignee: Sylvain Lebresne Priority: Minor Fix For: 0.8.1 Attachments: 0001-Fix-MerkleTree.init-to-not-create-non-sensical-trees.patch I am not sure all steps here is needed, but as part of testing something else, I set up node1: initial_token: 1 node2: initial_token: 5 Then: {noformat} create keyspace myks with placement_strategy = 'org.apache.cassandra.locator.SimpleStrategy' with strategy_options = [{ replication_factor:2 }]; use myks; create column family test with comparator = AsciiType and column_metadata=[ {column_name: 'up_', validation_class: LongType, index_type: 0}, {column_name: 'del_', validation_class: LongType, index_type: 0} ] and keys_cached = 10 and rows_cached = 1 and min_compaction_threshold = 2; quit; {noformat} Doing nodetool repair after this gets both nodes busy looping forever. A quick look at one node in eclipse makes me guess its having fun spinning through merkle trees, but I have to admit I have not look at it for a long time. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-2758) nodetool repair never finishes. Loops forever through merkle trees?
[ https://issues.apache.org/jira/browse/CASSANDRA-2758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Terje Marthinussen updated CASSANDRA-2758: -- Description: I am not sure all steps here is needed, but as part of testing something else, I set up node1: initial_token: 1 node2: initial_token: 5 Then: {noformat} create keyspace myks with placement_strategy = 'org.apache.cassandra.locator.SimpleStrategy' with strategy_options = [{ replication_factor:2 }]; use myks; create column family test with comparator = AsciiType and column_metadata=[ {column_name: 'up_', validation_class: LongType, index_type: 0}, {column_name: 'del_', validation_class: LongType, index_type: 0} ] and keys_cached = 10 and rows_cached = 1 and min_compaction_threshold = 2; quit; {noformat} Doing nodetool repair after this gets both nodes busy looping forever. A quick look at one node in eclipse makes me guess its having fun spinning through merkle trees, but I have to admit I have not look at it for a long time. was: I am not sure all steps here is needed, but as part of testing something else, I set up node1: initial_token: 1 node2: initial_token: 5 Then: {noformat} create keyspace myks with placement_strategy = 'org.apache.cassandra.locator.SimpleStrategy' with strategy_options = [{ replication_factor:2 }]; use myks; create column family test with comparator = AsciiType and column_metadata=[ {column_name: 'up_', validation_class: LongType, index_type: 0}, {column_name: 'del_', validation_class: LongType, index_type: 0} ] and keys_cached = 10 and rows_cached = 1 and min_compaction_threshold = 2; quit; {noformat} Doing nodetool repair after this gets both nodes busy looping forever. Summary: nodetool repair never finishes. Loops forever through merkle trees? (was: nodetool repair never finishes. Loops forever through merkle trees) nodetool repair never finishes. Loops forever through merkle trees? --- Key: CASSANDRA-2758 URL: https://issues.apache.org/jira/browse/CASSANDRA-2758 Project: Cassandra Issue Type: Bug Components: Core Affects Versions: 0.8.0 Reporter: Terje Marthinussen I am not sure all steps here is needed, but as part of testing something else, I set up node1: initial_token: 1 node2: initial_token: 5 Then: {noformat} create keyspace myks with placement_strategy = 'org.apache.cassandra.locator.SimpleStrategy' with strategy_options = [{ replication_factor:2 }]; use myks; create column family test with comparator = AsciiType and column_metadata=[ {column_name: 'up_', validation_class: LongType, index_type: 0}, {column_name: 'del_', validation_class: LongType, index_type: 0} ] and keys_cached = 10 and rows_cached = 1 and min_compaction_threshold = 2; quit; {noformat} Doing nodetool repair after this gets both nodes busy looping forever. A quick look at one node in eclipse makes me guess its having fun spinning through merkle trees, but I have to admit I have not look at it for a long time. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-2758) nodetool repair never finishes. Loops forever through merkle trees?
[ https://issues.apache.org/jira/browse/CASSANDRA-2758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis updated CASSANDRA-2758: -- Fix Version/s: 0.8.1 Assignee: Sylvain Lebresne nodetool repair never finishes. Loops forever through merkle trees? --- Key: CASSANDRA-2758 URL: https://issues.apache.org/jira/browse/CASSANDRA-2758 Project: Cassandra Issue Type: Bug Components: Core Affects Versions: 0.8.0 Reporter: Terje Marthinussen Assignee: Sylvain Lebresne Fix For: 0.8.1 I am not sure all steps here is needed, but as part of testing something else, I set up node1: initial_token: 1 node2: initial_token: 5 Then: {noformat} create keyspace myks with placement_strategy = 'org.apache.cassandra.locator.SimpleStrategy' with strategy_options = [{ replication_factor:2 }]; use myks; create column family test with comparator = AsciiType and column_metadata=[ {column_name: 'up_', validation_class: LongType, index_type: 0}, {column_name: 'del_', validation_class: LongType, index_type: 0} ] and keys_cached = 10 and rows_cached = 1 and min_compaction_threshold = 2; quit; {noformat} Doing nodetool repair after this gets both nodes busy looping forever. A quick look at one node in eclipse makes me guess its having fun spinning through merkle trees, but I have to admit I have not look at it for a long time. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira