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 Thu, 20 Jul 2017 05:43: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/20/17 5:42 AM:
---------------------------------------------------------------

| branch | unit | [dtest|https://github.com/jasonstack/cassandra-dtest/commits/CASSANDRA-13526]
|
| [trunk|https://github.com/jasonstack/cassandra/commits/CASSANDRA-13526] |  running | running
|
| [3.11|https://github.com/jasonstack/cassandra/commits/CASSANDRA-13526-3.11]|  running |
running |
| [3.0|https://github.com/jasonstack/cassandra/commits/CASSANDRA-13526-3.0]|  running | running
|
| [2.2|https://github.com/jasonstack/cassandra/commits/CASSANDRA-13526-2.2]|  running | running
|


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


was (Author: jasonstack):
| branch | unit | dtest|
| [trunk|https://github.com/jasonstack/cassandra/commits/CASSANDRA-13526] |  running | running
|
| [3.11|https://github.com/jasonstack/cassandra/commits/CASSANDRA-13526-3.11]|  running |
running |
| [3.0|https://github.com/jasonstack/cassandra/commits/CASSANDRA-13526-3.0]|  running | running
|
| [2.2|https://github.com/jasonstack/cassandra/commits/CASSANDRA-13526-2.2]|  running | 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