cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefania (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-12504) BatchlogManager is shut down twice during drain
Date Tue, 23 Aug 2016 06:16:20 GMT


Stefania commented on CASSANDRA-12504:

I agree, the first call [here|]
looks like the correct place. 

[~iamaleksey], this looks like an oversight from CASSANDRA-9673, so I am assigning you as
a reviewer in case your memory is better of mine and can find a reason why we wanted to move
it to the end.

Here is the patch for 3.0, I'm not wasting cycles repeating CI on 3.9 and trunk for this unless
you feel we should:


> BatchlogManager is shut down twice during drain
> -----------------------------------------------
>                 Key: CASSANDRA-12504
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Alex Petrov
>            Assignee: Stefania
>            Priority: Minor
>             Fix For: 3.0.x, 3.x
> {{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}}).

This message was sent by Atlassian JIRA

View raw message