Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-18749

Expose bootstrap failure state via JMX

    XMLWordPrintableJSON

Details

    Description

      Similar to how we have exposed a node's decommissioning via JMX as part of CASSANDRA-18555.

      This ticket will address the same when a new node joins (i.e., bootstrap). 

      When a node is bootstrapped, an error is thrown back to the caller if any failure happens.

      But Cassandra's bootstrap takes considerable time ranging from minutes to hours to days. There are various scenarios in that the caller may need to probe the status again:

      • The caller times out
      • It is not possible to keep the caller hanging for such a long time

      And If the caller does not know what happened internally, then it cannot retry, etc., leading to other issues.

      So, in this ticket, a new nodetool/JMX option will be exposed that can be invoked by the caller anytime, and it will return the correct status.

      Attachments

        Issue Links

          Activity

            People

              chovatia.jaydeep@gmail.com Jaydeepkumar Chovatia
              chovatia.jaydeep@gmail.com Jaydeepkumar Chovatia
              Jaydeepkumar Chovatia
              Brandon Williams, Stefan Miklosovic
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m