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

Bootstrap completes Successfully without streaming all the data

    XMLWordPrintableJSON

Details

    • All
    • None

    Description

      I am seeing a strange issue where, adding a new node with auto_bootstrap: true is not streaming all the data before it joins the cluster. Don't see any information in the logs about bootstrap failures.

      Here is the sequence of logs

       

      INFO [main] 2020-06-12 01:41:49,642 StorageService.java:1446 - JOINING: schema complete, ready to bootstrap
      INFO [main] 2020-06-12 01:41:49,642 StorageService.java:1446 - JOINING: waiting for pending range calculation
      INFO [main] 2020-06-12 01:41:49,643 StorageService.java:1446 - JOINING: calculation complete, ready to bootstrap
      INFO [main] 2020-06-12 01:41:49,643 StorageService.java:1446 - JOINING: getting bootstrap token
      INFO [main] 2020-06-12 01:42:19,656 StorageService.java:1446 - JOINING: Starting to bootstrap...
      org.apache.cassandra.db.UnknownColumnFamilyException: Couldn't find table for cfId <UUID>. If a table was just created, this is likely due to the schema not being fully propagated. Please wait for schema agreement on table creation.
      INFO [StreamReceiveTask:1] 2020-06-12 02:29:51,892 StreamResultFuture.java:219 - [Stream #f4224f444-a55d-154a-23e3-867899486f5f] All sessions completed INFO [StreamReceiveTask:1] 2020-06-12 02:29:51,892 StorageService.java:1505 - Bootstrap completed! for the tokens
      

      Cassandra Version: 3.11.3

      I am not able to reproduce this issue all the time, but it happened couple of times. Is there any  race condition/corner case, which could cause this issue?

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jaid Jai Bheemsen Rao Dhanwada
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: