cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ZhaoYang (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CASSANDRA-13526) nodetool cleanup on KS with no replicas should remove old data, not silently complete
Date Fri, 21 Jul 2017 06:11:00 GMT

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

ZhaoYang edited comment on CASSANDRA-13526 at 7/21/17 6:10 AM:
---------------------------------------------------------------

| branch | unit | [dtest|https://github.com/jasonstack/cassandra-dtest/commits/CASSANDRA-13526]
|
| [trunk|https://github.com/jasonstack/cassandra/commits/CASSANDRA-13526] |  [pass|https://circleci.com/gh/jasonstack/cassandra/182]
| bootstrap_test.TestBootstrap.consistent_range_movement_false_with_rf1_should_succeed_test
known |
| [3.11|https://github.com/jasonstack/cassandra/commits/CASSANDRA-13526-3.11]|  [pass|https://circleci.com/gh/jasonstack/cassandra/186]
| pass |
| [3.0|https://github.com/jasonstack/cassandra/commits/CASSANDRA-13526-3.0]|  [pass|https://circleci.com/gh/jasonstack/cassandra/181]
| offline_tools_test.TestOfflineTools.sstableofflinerelevel_test  auth_test.TestAuth.system_auth_ks_is_alterable_test
|
| [2.2|https://github.com/jasonstack/cassandra/commits/CASSANDRA-13526-2.2]|  [pass|https://circleci.com/gh/jasonstack/cassandra/185]
|  repair_tests.incremental_repair_test.TestIncRepair.multiple_repair_test  ttl_test.TestTTL.collection_list_ttl_test
|

unit test all padded, some irrelevant dtests failed.

when no local range && node has joined token ring,  clean up will remove all base
local sstables.  


was (Author: jasonstack):
| branch | unit | [dtest|https://github.com/jasonstack/cassandra-dtest/commits/CASSANDRA-13526]
|
| [trunk|https://github.com/jasonstack/cassandra/commits/CASSANDRA-13526] |  [pass|https://circleci.com/gh/jasonstack/cassandra/182]
| bootstrap_test.TestBootstrap.consistent_range_movement_false_with_rf1_should_succeed_test
known |
| [3.11|https://github.com/jasonstack/cassandra/commits/CASSANDRA-13526-3.11]|  [running|https://circleci.com/gh/jasonstack/cassandra/186]
| running |
| [3.0|https://github.com/jasonstack/cassandra/commits/CASSANDRA-13526-3.0]|  [pass|https://circleci.com/gh/jasonstack/cassandra/181]
| running |
| [2.2|https://github.com/jasonstack/cassandra/commits/CASSANDRA-13526-2.2]|  [pass|https://circleci.com/gh/jasonstack/cassandra/185]
| running |


when no local range && node has joined token ring,  clean up will remove all base
local sstables.  

> nodetool cleanup on KS with no replicas should remove old data, not silently complete
> -------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-13526
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13526
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Compaction
>            Reporter: Jeff Jirsa
>            Assignee: ZhaoYang
>              Labels: usability
>             Fix For: 2.2.x, 3.0.x, 3.11.x, 4.x
>
>
> From the user list:
> https://lists.apache.org/thread.html/5d49cc6bbc6fd2e5f8b12f2308a3e24212a55afbb441af5cb8cd4167@%3Cuser.cassandra.apache.org%3E
> If you have a multi-dc cluster, but some keyspaces not replicated to a given DC, you'll
be unable to run cleanup on those keyspaces in that DC, because [the cleanup code will see
no ranges and exit early|https://github.com/apache/cassandra/blob/4cfaf85/src/java/org/apache/cassandra/db/compaction/CompactionManager.java#L427-L441]



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message