Commit graph

110 commits

Author SHA1 Message Date
Daniel
865cb5dd8f Improve migration logs 2023-12-18 17:10:21 +01:00
Daniel
1f08d4f02f Add method to reset key of record 2023-09-19 16:44:54 +02:00
Daniel
ee9f722a9c Make linter happy 2023-07-20 14:48:14 +02:00
Daniel
0d3a0ebb95 Fix fs error handling 2022-10-11 12:27:30 +02:00
Daniel
412b4242c2 FIx linter errors 2022-09-29 10:55:01 +02:00
Daniel
3c697abd5b Fix linter errors 2022-09-28 22:37:54 +02:00
Daniel
e7d9ee9db0 Improve log message formatting 2022-06-21 16:59:50 +02:00
Daniel
6650fb3b19 Update linter settings and fix warnings 2022-02-02 14:58:27 +01:00
Daniel
3e4e0c361d Fix or disable new linters 2022-02-01 13:40:50 +01:00
Daniel
f59ad0357a Fix tests and linter warnings 2022-02-01 13:12:46 +01:00
Patrick Pacher
ef45e11d09 Add new database migration system 2022-01-19 10:07:28 +01:00
Daniel
3a92993600 Fix wrapper dsd format 2021-11-29 23:03:03 +01:00
Daniel
462570f0c9 Delete copy of dsd formats in database.record package 2021-11-23 12:56:13 +01:00
Daniel
95fbe85ba2 Add Withdraw function to database controllers 2021-11-09 10:09:30 +01:00
Daniel
a01df19cd0 Add FIXME for database cache issue 2021-09-17 22:01:20 +02:00
Patrick Pacher
d58b87da5c
Remove GetMeta() from InjectBase 2021-05-14 08:59:29 +02:00
Daniel
f6ec0514ff Use forked renameio package 2021-05-13 17:42:29 +02:00
Daniel
5dc39685da Move GetMeta storage API to separate interface 2021-05-12 15:37:24 +02:00
Daniel
0061572e1b Add GetMeta to database storage interface 2021-05-11 14:57:53 +02:00
Daniel
99df25b589 Add cache clearers 2021-01-25 16:48:12 +01:00
Daniel
9c2b7d3059 Add timeout and retrying to opening bbolt dbs 2020-11-26 14:50:54 +01:00
Daniel
8a0c3a077c Fix linter errors and update deps 2020-10-29 14:28:09 +01:00
Patrick Pacher
33f73402d7
Merge branch 'develop' into feature/ui-revamp 2020-10-20 12:34:58 +02:00
Daniel
0d7e6dae96 Clarify and clean up record key functions 2020-10-19 11:34:31 +02:00
Daniel
ac1e00b0fe Fix locking when updating the interface cache in Put methods
Also, update the cache when fetching records from the database.
2020-10-16 15:23:30 +02:00
Patrick Pacher
f48ed07467
Merge branch 'develop' into feature/ui-revamp 2020-10-15 11:16:40 +02:00
Patrick Pacher
7e4d441c2a
Remove exclusiveAccess lock from database controller 2020-10-15 11:01:15 +02:00
Daniel
34e12860e4 Fix another locking issue 2020-10-13 14:58:27 +02:00
Daniel
6a58ce5a7a Fix locking in PutMany implementations 2020-10-12 13:54:27 +02:00
Daniel
e5a72ffa37 Implement review suggestions 2020-10-12 13:54:14 +02:00
Daniel
4aa5c66e8e Improve write-cache flush timing 2020-10-11 20:26:05 +02:00
Daniel
abaf5ee879 Add a write-cache to the database interface options 2020-10-11 14:27:54 +02:00
Patrick Pacher
33dcc88dc0
Database controller should not lock in PushUpdate 2020-10-07 08:57:18 +02:00
Patrick Pacher
85415455ed
Fix build error due to cross-merge 2020-09-29 09:22:08 +02:00
Patrick Pacher
baf6301eb5
Merge branch 'develop' into feature/ui-revamp 2020-09-29 09:18:36 +02:00
Daniel
74dd5eea37 Improve docs for confusing and contradicting case 2020-09-25 09:11:19 +02:00
Daniel
bd90e5a5df Add shadowDelete support to record maintenance 2020-09-24 23:13:42 +02:00
Daniel
da57ca5792 Fix linter errors 2020-09-24 16:38:55 +02:00
Daniel
82af986224 Add Purge method/interface to database system
Also, implement Purger interface in bbolt storage.
2020-09-24 15:02:51 +02:00
Daniel
362539692e Improve interfaces and fix more linter errors 2020-09-24 09:50:38 +02:00
Daniel
5bb73a7b4c Make shadow deletes conditional
Also, Move maintenance to separate interface.
2020-09-23 17:10:33 +02:00
Patrick Pacher
50a10485e1
Fix race condition in database package. Simplify db locking 2020-09-22 16:53:03 +02:00
Patrick Pacher
19f75bb6ca
Fix locking in runtime and hashmap storage 2020-09-18 12:11:05 +02:00
Patrick Pacher
bcaa793123
Add runtime module providing a simple injected DB 2020-09-18 11:56:54 +02:00
Daniel
6fcd1d3ef7 Make DB registry persistence optional
This increases resilience when persistence is not needed.
2020-07-11 14:20:04 +02:00
Daniel
b90042a16a Improve database not found error message 2020-05-22 22:33:12 +02:00
Daniel
7e9c2f49f0 Remove debug code 2020-05-15 17:09:42 +02:00
Daniel
bea130d755 Move DB record maintenance to storage interface 2020-05-05 21:34:19 +02:00
Daniel
d65e2877e6 Fix controller map duplication 2020-04-28 16:44:51 +02:00
Daniel
9d526314a9 Disable hourly DB wipe, improve DB maintainance 2020-04-27 08:19:33 +02:00