(cloud) makes ledger running balances fast and smooth

This commit is contained in:
2023-03-23 12:18:35 -07:00
parent cfc5c561c6
commit e810612fbb
12 changed files with 679 additions and 438 deletions

View File

@@ -15,8 +15,10 @@ Fix searching
* indexing should happen more regularly, and just look for changes since last time it was run
Running Balance Cache
* much simpler now, just make it handle reverts (see TODO)
** when a journal entry gets reset, you have to recalculate running balance. Could just make it do this globally by marking the earliest journal entry
* Add tests for upsert-ledger
* try again to see if we can get upsert-ledger into the same transaction, making it all or nothing
* make rest of rebuilding the cache use new index
* ensure somehow that the index is always right
Address memory