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

[jira] [Commented] (CASSANDRA-17754) When bootstrap fails, CassandraRoleManager may attempt to do read queries that fail with "Cannot read from a bootstrapping node", and increments unavailables counters

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

David Capwell commented on CASSANDRA-17754:
-------------------------------------------

Starting commit

CI Results (pending):
||Branch||Source||Circle CI||Jenkins||
|trunk|[branch|https://github.com/dcapwell/cassandra/tree/commit_remote_branch/CASSANDRA-17754-trunk-CBB57EA3-BB8C-4FDB-A76C-F1A0F212D4CD]|[build|https://app.circleci.com/pipelines/github/dcapwell/cassandra?branch=commit_remote_branch%2FCASSANDRA-17754-trunk-CBB57EA3-BB8C-4FDB-A76C-F1A0F212D4CD]|[build|unknown]|


> When bootstrap fails, CassandraRoleManager may attempt to do read queries that fail with "Cannot read from a bootstrapping node", and increments unavailables counters
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-17754
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17754
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Consistency/Bootstrap and Decommission, Feature/Authorization
>            Reporter: David Capwell
>            Assignee: David Capwell
>            Priority: Normal
>             Fix For: 4.x
>
>
> If bootstrap fails we stay alive but avoid joining the ring.  CassandraRoleManager attempts to schedule its setup every 10 seconds, but this will fail due to Bootstrap being pending; the side effect to this is that readMetrics.unavailables gets incremented.
> We should defer attempting to setup only after we know its safe to perform such as read



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