cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Petrov (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-12461) Add hooks to StorageService shutdown
Date Thu, 29 Sep 2016 06:50:20 GMT


Alex Petrov commented on CASSANDRA-12461:

+1 on changes. 

The initial patch was marked as a "bug", I've re-labeled it as an "improvement". But since
we have fixed several issues with drain process ([CASSANDRA-12509], for example), might be
good to have it in 3.0? Or should I remove hooks, only leave bugfix for 3.0 patch (will be
a trivial change, too), just don't want to create confusion.. 

Backport to 3.0 was trivial, but we can just skip committing if anything. CI triggered for
both branches (although your latest branch only squashed, without any changes on top).


> Add hooks to StorageService shutdown
> ------------------------------------
>                 Key: CASSANDRA-12461
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Anthony Cozzie
>            Assignee: Anthony Cozzie
>             Fix For: 3.x
>         Attachments: 0001-CASSANDRA-12461-add-C-support-for-shutdown-runnables.patch
> The JVM will usually run shutdown hooks in parallel.  This can lead to synchronization
problems between Cassandra, services that depend on it, and services it depends on.  This
patch adds some simple support for shutdown hooks to StorageService.
> This should nearly solve CASSANDRA-12011

This message was sent by Atlassian JIRA

View raw message