[jira] [Commented] (CASSANDRA-18563) Convert AccordStateCache cache from write-through to write-back

2023-06-15 Thread Aleksey Yeschenko (Jira)


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

Aleksey Yeschenko commented on CASSANDRA-18563:
---

Accord PR with a change to {{IntrusiveLinkedList}}: 
https://github.com/apache/cassandra-accord/pull/51

> Convert AccordStateCache cache from write-through to write-back
> ---
>
> Key: CASSANDRA-18563
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18563
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Accord
>Reporter: Aleksey Yeschenko
>Assignee: Aleksey Yeschenko
>Priority: Normal
> Fix For: 5.0
>
>
> Pre-requisite work for soon to go up PRs that continue shifting the bulk of 
> persistence from system tables to {{AccordJournal}}. The switch to write-back 
> caching should allow to bypass writes to the system tables entirely for some 
> of the transactions.
> Additionally fixes some bugs in the cache, e.g. {{AsyncLoader}} failing to 
> load an object could cause entries to be forever stuck in {{PENDING}} state 
> because it would never reach the code path that submits the load runnables to 
> the executor (that is now the job of the cache). Also switched the list 
> implementation from a hand-rolled ad-hoc one to the pre-existing 
> {{IntrusiveLinkedList}}, plus various simplifications and cleanup.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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



[jira] [Commented] (CASSANDRA-18563) Convert AccordStateCache cache from write-through to write-back

2023-06-07 Thread Aleksey Yeschenko (Jira)


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

Aleksey Yeschenko commented on CASSANDRA-18563:
---

PR: [https://github.com/apache/cassandra/pull/2395]

> Convert AccordStateCache cache from write-through to write-back
> ---
>
> Key: CASSANDRA-18563
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18563
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Accord
>Reporter: Aleksey Yeschenko
>Assignee: Aleksey Yeschenko
>Priority: Normal
> Fix For: 5.0
>
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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