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

Blake Eggleston commented on CASSANDRA-14118:
---------------------------------------------

I've been working on an alternate implementation 
[here|https://github.com/bdeggleston/cassandra/tree/14118-v2]. I think it's 
probably more in line with what we need here.

The main interfaces are 
[KeyspaceWriteHandler|https://github.com/bdeggleston/cassandra/blob/14118-v2/src/java/org/apache/cassandra/db/KeyspaceWriteHandler.java]
 and 
[TableWriteHandler|https://github.com/bdeggleston/cassandra/blob/14118-v2/src/java/org/apache/cassandra/db/TableWriteHandler.java],
 which I still need to write docs for. The interfaces hide most of the existing 
implementation, including the operation ordering. I've also done some 
preliminary work on indexes since they need to deal with the write interface.

{{Keyspace.writeOrder}} is still exposed in a few places related to creating 
and dropping keyspaces/tables/indexes to wait on pending writes. I think those 
are probably best left for CASSANDRA-14124 or CASSANDRA-14125

> Refactor write path
> -------------------
>
>                 Key: CASSANDRA-14118
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14118
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: Core
>            Reporter: Dikang Gu
>            Assignee: Dikang Gu
>            Priority: Major
>
> As part of the pluggable storage engine effort, we'd like to modularize the 
> write path related code, make it to be independent from existing storage 
> engine implementation details.
> For now, refer to 
> https://docs.google.com/document/d/1suZlvhzgB6NIyBNpM9nxoHxz_Ri7qAm-UEO8v8AIFsc
>  for high level designs.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to