[ 
https://issues.apache.org/jira/browse/CASSANDRA-18563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aleksey Yeschenko updated CASSANDRA-18563:
------------------------------------------
    Description: 
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.

  was:
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 adhoc one to the pre-existing 
{{IntrusiveLinkedList}}, plus various simplifications and cleanup.


> 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

Reply via email to