[jira] [Updated] (CASSANDRA-6135) Add beforeChange Notification to Gossiper State.
[ https://issues.apache.org/jira/browse/CASSANDRA-6135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benjamin Coverston updated CASSANDRA-6135: -- Attachment: 0001-New-Gossiper-notification-to-IEndpointStateChangeSub.patch Attached is Sergio's patch for 1.2 > Add beforeChange Notification to Gossiper State. > > > Key: CASSANDRA-6135 > URL: https://issues.apache.org/jira/browse/CASSANDRA-6135 > Project: Cassandra > Issue Type: New Feature >Reporter: Benjamin Coverston > Attachments: > 0001-New-Gossiper-notification-to-IEndpointStateChangeSub.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 (v6.1#6144)
[jira] [Updated] (CASSANDRA-6135) Add beforeChange Notification to Gossiper State.
[ https://issues.apache.org/jira/browse/CASSANDRA-6135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergio Bossa updated CASSANDRA-6135: Attachment: 0002-CASSANDRA-6135.diff Attached patch for latest cassandra-1.2 branch. > Add beforeChange Notification to Gossiper State. > > > Key: CASSANDRA-6135 > URL: https://issues.apache.org/jira/browse/CASSANDRA-6135 > Project: Cassandra > Issue Type: New Feature >Reporter: Benjamin Coverston > Attachments: > 0001-New-Gossiper-notification-to-IEndpointStateChangeSub.patch, > 0002-CASSANDRA-6135.diff > > > 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 (v6.1#6144)
[jira] [Updated] (CASSANDRA-6135) Add beforeChange Notification to Gossiper State.
[ https://issues.apache.org/jira/browse/CASSANDRA-6135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] 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: https://issues.apache.org/jira/browse/CASSANDRA-6135 > 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 (v6.1#6144)
[jira] [Updated] (CASSANDRA-6135) Add beforeChange Notification to Gossiper State.
[ https://issues.apache.org/jira/browse/CASSANDRA-6135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis updated CASSANDRA-6135: -- Reviewer: Brandon Williams (was: Tyler Hobbs) > Add beforeChange Notification to Gossiper State. > > > Key: CASSANDRA-6135 > URL: https://issues.apache.org/jira/browse/CASSANDRA-6135 > 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 (v6.1#6144)
[jira] [Updated] (CASSANDRA-6135) Add beforeChange Notification to Gossiper State.
[ https://issues.apache.org/jira/browse/CASSANDRA-6135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergio Bossa updated CASSANDRA-6135: Attachment: CASSANDRA-6135-V4.patch Attached V4 patch for Cassandra 2.0. > Add beforeChange Notification to Gossiper State. > > > Key: CASSANDRA-6135 > URL: https://issues.apache.org/jira/browse/CASSANDRA-6135 > 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, CASSANDRA-6135-V4.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 (v6.1#6144)