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/14 22:59:00 UTC

[jira] [Created] (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

David Capwell created CASSANDRA-17754:
-----------------------------------------

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


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