You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Josh McKenzie (Jira)" <ji...@apache.org> on 2022/09/22 17:29:00 UTC

[jira] [Commented] (CASSANDRA-17679) Make resumable bootstrap feature optional

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

Josh McKenzie commented on CASSANDRA-17679:
-------------------------------------------

Implemented changes as per proposal by Paulo.

||Item|Link||
|PR|[link|https://github.com/apache/cassandra/pull/1873]|
|JDK8 CI|[link|https://app.circleci.com/pipelines/github/josh-mckenzie/cassandra/304/workflows/56483dad-850f-43f0-8cd3-48e18f2b7236]|
|JDK11 CI|[link|https://app.circleci.com/pipelines/github/josh-mckenzie/cassandra/304/workflows/8af97895-9b28-4c0f-ab45-a397ad4ae12c]|

Follow up tickets to create once we're done here:
# Make "-Dcassandra.reset_bootstrap_progress=true" clear existing bootstrap data as it would make this feature more reliable
# Something else to consider is what to do with "nodetool rebuild".  It also uses the data from the progress table.





> Make resumable bootstrap feature optional
> -----------------------------------------
>
>                 Key: CASSANDRA-17679
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17679
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Consistency/Streaming
>            Reporter: Josh McKenzie
>            Assignee: Josh McKenzie
>            Priority: Normal
>             Fix For: 4.x
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> From the patch I'm working on:
> {code}
> # In certain environments, operators may want to disable resumable bootstrap in order to avoid potential correctness
> # violations or data loss scenarios. Largely this centers around nodes going down during bootstrap, tombstones being
> # written, and potential races with repair. By default we leave this on as it's been enabled for quite some time,
> # however the option to disable it is more palatable now that we have zero copy streaming as that greatly accelerates
> # bootstraps. This defaults to true.
> # resumable_bootstrap_enabled: true
> {code}
> Not really a great fit for guardrails as it's less a "feature to be toggled on and off" and more a subset of a specific feature that in certain circumstances can lead to issues.



--
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