[
https://issues.apache.org/jira/browse/CASSANDRA-8838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14364459#comment-14364459
]
Stefania commented on CASSANDRA-8838:
-------------------------------------
I'm sorry but all four tests have problems on my machine:
\\
\\
* The first issue is that starting a node with {{no_wait=True}} fails to detect
the process pid and the test stops there, this applies to all four tests. Is
there any reason for using this since then we are waiting to grep from the logs
{{\[STREAM-IN-/127.0.0.1\].* Prepare completed}} anyway? With {{no_wait=True}}
it waits for 2 seconds, I guess we could increase it but it would be best to
remove that flag if possible.
* So I went ahead and tried to run {{resumable_bootstrap_test}} without
{{no_wait=True}} and I encountered another issue, in that the streaming
completes before we kill node 1. So the test fails when starting node 3 the
second time, since it is already running. I increased the number of stress
entries from 100,000 to 1M and the streaming took as long as 6 seconds, see
below, yet node 1 was not killed until after the session completed, again logs
below. I think the problem could be in {{watch_log_for}} but I did not look
further.
\\
{code}
NODE 3
INFO [STREAM-IN-/127.0.0.1] 2015-03-17 10:21:54,611
StreamResultFuture.java:167 - [Stream #60c0daf0-cc4c-11e4-95db-8df1f8b3509d
ID#0] Prepare completed. Receiving 3 files(95252818 bytes), sending 0 files(0
bytes)
INFO [STREAM-IN-/127.0.0.2] 2015-03-17 10:21:54,899
StreamResultFuture.java:167 - [Stream #60c0daf0-cc4c-11e4-95db-8df1f8b3509d
ID#0] Prepare completed. Receiving 5 files(87661884 bytes), sending 0 files(0
bytes)
INFO [StreamReceiveTask:2] 2015-03-17 10:22:00,382 StreamResultFuture.java:181
- [Stream #60c0daf0-cc4c-11e4-95db-8df1f8b3509d] Session with /127.0.0.1 is
complete
INFO [StreamReceiveTask:1] 2015-03-17 10:22:00,495 StreamResultFuture.java:181
- [Stream #60c0daf0-cc4c-11e4-95db-8df1f8b3509d] Session with /127.0.0.2 is
complete
{code}
\\
{code}
NODE 1
INFO [STREAM-IN-/127.0.0.3] 2015-03-17 10:22:00,376
StreamResultFuture.java:181 - [Stream #60c0daf0-cc4c-11e4-95db-8df1f8b3509d]
Session with /127.0.0.3 is complete
INFO [STREAM-IN-/127.0.0.3] 2015-03-17 10:22:00,377
StreamResultFuture.java:213 - [Stream #60c0daf0-cc4c-11e4-95db-8df1f8b3509d]
All sessions completed
INFO [main] 2015-03-17 10:22:13,857 YamlConfigurationLoader.java:92 - Loading
settings from file:/tmp/dtest-8beQKM/test/node1/conf/cassandra.yaml
INFO [main] 2015-03-17 10:22:13,929 YamlConfigurationLoader.java:135 - Node
configuration:[authenticator=AllowAllAuthenticator;
authorizer=AllowAllAuthorizer; auto_bootstrap=false
{code}
> Resumable bootstrap streaming
> -----------------------------
>
> Key: CASSANDRA-8838
> URL: https://issues.apache.org/jira/browse/CASSANDRA-8838
> Project: Cassandra
> Issue Type: Sub-task
> Reporter: Yuki Morishita
> Assignee: Yuki Morishita
> Priority: Minor
> Labels: dense-storage
> Fix For: 3.0
>
>
> This allows the bootstrapping node not to be streamed already received data.
> The bootstrapping node records received keyspace/ranges as one stream session
> completes. When some sessions with other nodes fail, bootstrapping fails
> also, though next time it re-bootstraps, already received keyspace/ranges are
> skipped to be streamed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)