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

BatchlogManager is shut down twice during drain

    XMLWordPrintableJSON

Details

    • Low

    Description

      BatchlogManager is shut down twice during in the StorageService, once here and once here.

      The first shutdown was already there but the last one seems to have been added here. It seems to be harmless, as it’s not required in stages in-between, so second run would be a no-op.

      Following the logic of other shutdown hook, the first one is the good place for it to be (right before HintsService).

      Attachments

        Issue Links

          Activity

            People

              stefania Stefania Alborghetti
              ifesdjeen Alex Petrov
              Stefania Alborghetti
              Aleksey Yeschenko
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: