cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Blake Eggleston (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-11173) Add extension points in storage and streaming classes
Date Wed, 17 Feb 2016 00:51:18 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-11173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15149607#comment-15149607
] 

Blake Eggleston commented on CASSANDRA-11173:
---------------------------------------------

With the streaming hooks, the goal is to allow the sender to make information available about
the sstable being sent, which the receiver can then retrieve, sort of like an additional sstable
component. I'm not sure the StreamEvents would be a good fit for this, since they're more
like high level notifications. Ideally, we could add an {{Map<String, String>}} to {{OutgoingFileMessage}},
but an esoteric hook probably isn't going to warrant a streaming protocol version bump.

> Add extension points in storage and streaming classes
> -----------------------------------------------------
>
>                 Key: CASSANDRA-11173
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11173
>             Project: Cassandra
>          Issue Type: New Feature
>            Reporter: Blake Eggleston
>            Assignee: Blake Eggleston
>             Fix For: 3.4
>
>
> It would be useful if 3rd party classes could be notified when reads and writes occur
on a table+partition, when sstables are being streamed out/in, and could also intercept the
creation of row iterators from sstables. I have a [v1 branch here|https://github.com/bdeggleston/cassandra/tree/hooksV1].
It illustrates the extension points I'm looking for, but is not necessarily the best api.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message