Details
-
Improvement
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
Performance
-
Normal
-
All
-
None
-
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.