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

Race condition when setting bootstrap flags

    XMLWordPrintableJSON

Details

    Description

      StorageService#bootstrap() is supposed to wait for bootstrap to finish, but Guava calls the future listeners after unparking its waiters, which causes a race on when the bootstrapFinished() will be executed, making it non-deterministic.

      Attachments

        1. Screen Shot 2020-01-13 at 12.48.49 PM.png
          826 kB
          Ekaterina Dimitrova
        2. Screen Shot 2020-01-13 at 12.48.35 PM.png
          1.25 MB
          Ekaterina Dimitrova
        3. Screen Shot 2020-01-13 at 12.48.24 PM.png
          978 kB
          Ekaterina Dimitrova
        4. Screen Shot 2020-01-13 at 12.44.36 PM.png
          91 kB
          Ekaterina Dimitrova
        5. Screen Shot 2020-01-13 at 12.43.28 PM.png
          151 kB
          Ekaterina Dimitrova
        6. Screen Shot 2020-01-13 at 12.42.47 PM.png
          227 kB
          Ekaterina Dimitrova
        7. Screen Shot 2020-01-13 at 12.41.41 PM.png
          274 kB
          Ekaterina Dimitrova
        8. Screen Shot 2020-01-13 at 1.04.55 PM.png
          420 kB
          Ekaterina Dimitrova
        9. Screen Shot 2020-01-13 at 1.04.29 PM.png
          122 kB
          Ekaterina Dimitrova
        10. Screen Shot 2020-01-13 at 1.04.05 PM.png
          365 kB
          Ekaterina Dimitrova
        11. Screen Shot 2020-01-13 at 1.03.41 PM.png
          151 kB
          Ekaterina Dimitrova
        12. Screen Shot 2020-01-13 at 1.03.19 PM.png
          90 kB
          Ekaterina Dimitrova

        Issue Links

          Activity

            People

              e.dimitrova Ekaterina Dimitrova
              sbtourist Sergio Bossa
              Ekaterina Dimitrova
              Brandon Williams
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: