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

Explicitly initialize StageManager early in startup

    XMLWordPrintableJSON

Details

    Description

      StageManager initializes itself through a static block and sets up every Stage, including pre-starting their threads. This initizalization can take a few hundred milliseconds. This timing impact is unpredictable and hard to reason about; it looks like it usually gets hit when creating new Keyspaces on start-up and announcing them through migrations.

      While these processes are resilient to these delays, it is dramatically easier to reason about over time if this initialization happens explicitly.

      Attachments

        Issue Links

          Activity

            People

              Gerrrr Alex Sorokoumov
              Gerrrr Alex Sorokoumov
              Alex Sorokoumov
              Ekaterina Dimitrova
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: