You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Yuki Morishita (JIRA)" <ji...@apache.org> on 2015/06/10 22:17:00 UTC
[jira] [Commented] (CASSANDRA-9119) Nodetool rebuild creates an
additional rebuild session even if there is one already running
[ https://issues.apache.org/jira/browse/CASSANDRA-9119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14581014#comment-14581014 ]
Yuki Morishita commented on CASSANDRA-9119:
-------------------------------------------
Patch here: https://github.com/yukim/cassandra/tree/9119
dtest is added for the patch: https://github.com/yukim/cassandra-dtest/tree/rebuild_test
(dtest pull request here: https://github.com/riptano/cassandra-dtest/pull/319)
> Nodetool rebuild creates an additional rebuild session even if there is one already running
> -------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-9119
> URL: https://issues.apache.org/jira/browse/CASSANDRA-9119
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Environment: Cassandra 2.0.12.200
> Cassandra 2.1.2.98
> Reporter: Jose Martinez Poblete
> Assignee: Yuki Morishita
> Fix For: 2.1.x
>
>
> If a nodetool rebuild session is started and the shell session is finished for whatever reason, a second nodetool rebuild will spawn a second rebuild filestream
> {noformat}
> DC2-S1-100-29:~ # ps aux | grep nodetool
> root 10304 0.0 0.0 4532 560 pts/3 S+ 05:23 0:00 grep nodetool
> dds-user 20946 0.0 0.0 21180 1880 ? S 04:39 0:00 /bin/sh /usr/share/dse/resources/cassandra/bin/nodetool rebuild group10 <---- there is only one rebuild running
> DC2-S1-100-29:~ # nodetool netstats | grep -v /var/local/cassandra
> Mode: NORMAL
> Rebuild 818307b0-d9ba-11e4-8d4c-7bce93ffad70 <------ does this represent one rebuild?
> /10.96.100.22
> Receiving 63 files, 221542605741 bytes total
> /10.96.100.26
> Receiving 48 files, 47712285610 bytes total
> /10.96.100.25
> /10.96.100.23
> Receiving 57 files, 127515362783 bytes total
> /10.96.100.27
> /10.96.100.24
> Rebuild 7bf9fcd0-d9bb-11e4-8d4c-7bce93ffad70 <------- does this represent a second rebuild?
> /10.96.100.25
> /10.96.100.26
> Receiving 56 files, 47717905924 bytes total
> /10.96.100.24
> /10.96.100.22
> Receiving 61 files, 221558642440 bytes total
> /10.96.100.23
> Receiving 62 files, 127528841272 bytes total
> /10.96.100.27
> Read Repair Statistics:
> Attempted: 0
> Mismatch (Blocking): 0
> Mismatch (Background): 0
> Pool Name Active Pending Completed
> Commands n/a 0 2151322
> Responses n/a 0 3343981
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)