You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Paulo Motta (Jira)" <ji...@apache.org> on 2024/01/04 21:31:00 UTC
[jira] [Created] (CASSANDRA-19248) "nodetool bootstrap resume" starts unnecessary streaming session on joining node
Paulo Motta created CASSANDRA-19248:
---------------------------------------
Summary: "nodetool bootstrap resume" starts unnecessary streaming session on joining node
Key: CASSANDRA-19248
URL: https://issues.apache.org/jira/browse/CASSANDRA-19248
Project: Cassandra
Issue Type: Bug
Reporter: Paulo Motta
Calling {{nodetool boostrap resume}} triggers a new bootstrap streaming session on a joining node, even if there's a bootstrap streaming session currently running.
Each time this command is called, a new bootstrap streaming session is started, causing the same data to be needlessly streamed from peers.
It should only be possible to call {{nodetool bootstrap resume}} if a previous bootstrap attempt has failed.
An example of multiple invocations of {{nodetool bootstrap resume}} in a joining node is shown below:
{noformat}
$ nodetool netstats
Mode: JOINING
Bootstrap a1cf3bf0-ab3a-11ee-9fcf-5746a7aee9ca
/A.B.C.D
Receiving 13 files, 14302312660 bytes total. Already received 2 files, 52389676 bytes total
ks1/tbl1 80/80 bytes(100%) received from idx:0/10.34.194.220
ks2/tbl2 471/471 bytes(100%) received from idx:0/10.34.194.220
/E.F.G.H
/I.J.K.L
Bootstrap 7f1e7000-ab3d-11ee-9fcf-5746a7aee9ca
/A.B.C.D
Receiving 13 files, 14302312660 bytes total. Already received 0 files, 0 bytes total
/E.F.G.H
/I.J.K.L
Bootstrap 9ca42500-ab3a-11ee-9fcf-5746a7aee9ca
/A.B.C.D
/E.F.G.H
Receiving 13 files, 14302312660 bytes total. Already received 2 files, 104838752 bytes total
ks1/tbl1 80/80 bytes(100%) received from idx:0/10.34.194.220
ks2/tbl2 471/471 bytes(100%) received from idx:0/10.34.194.220
/I.J.K.L {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org