cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergio Bossa (JIRA)" <>
Subject [jira] [Updated] (CASSANDRA-6135) Add beforeChange Notification to Gossiper State.
Date Thu, 10 Oct 2013 11:47:43 GMT


Sergio Bossa updated CASSANDRA-6135:

    Attachment: CASSANDRA-6135-V3.patch

New patch (V3) which checks for max version changes before bumping the new VersionedValue
version: not really convinced that's actually the right thing to do, but it shouldn't bump
the version if no subscriber does any lengthy work in its beforeChange method.

One thing I didn't noted before, is that beforeChange is part of the IEndpointStateChangeSubscriber
interface, so checking for subscribers will practically have no effect as there will always
be some.

> Add beforeChange Notification to Gossiper State.
> ------------------------------------------------
>                 Key: CASSANDRA-6135
>                 URL:
>             Project: Cassandra
>          Issue Type: New Feature
>            Reporter: Benjamin Coverston
>            Assignee: Sergio Bossa
>         Attachments: 0001-New-Gossiper-notification-to-IEndpointStateChangeSub.patch,
0002-CASSANDRA-6135.diff, CASSANDRA-6135-V3.patch
> We would like an internal notification to be fired before state changes happen so we
can intercept them, and in some cases defer them.

This message was sent by Atlassian JIRA

View raw message