Commit graph

92 commits

Author SHA1 Message Date
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
Daniel
00d9594ea5 Fix error message 2020-04-24 09:52:27 +02:00
Patrick Pacher
26c35f2f74
Fix badger test 2020-04-15 17:56:42 +02:00
Daniel
558486483b Improve database storage put method 2020-04-15 17:27:33 +02:00
Daniel
0ee19298fa Implement review 2020-04-10 10:42:01 +02:00
Daniel
e0f96d5188 Add PutMany, currently only for bbolt and hashmap storage backends 2020-04-09 14:30:56 +02:00
Daniel
35ab2be6a0 Fix bug in wrapper, remove deprecated code 2020-04-09 14:30:56 +02:00
Daniel
be456c9d64 Remove unused Err attribute on database subscription 2020-03-20 17:22:38 +01:00
Daniel
1f77046877 Update packages to new modules structure and other minor fixes 2020-02-18 15:44:18 +01:00
Daniel
ed61819be7 Cleanup database package 2019-10-25 13:37:42 +02:00
Daniel
2fb83cecb8 Silence linter 2019-10-09 16:18:16 +02:00
Daniel
7011bde0fe Clean up database package 2019-09-20 22:01:49 +02:00
Daniel
ddc773a9f2 Clean up storage backends 2019-09-20 22:01:33 +02:00
Daniel
60dea8092f Clean up database/query package 2019-09-20 22:01:17 +02:00
Daniel
ac6d9db456 Transition dbmodule package to new module task system 2019-09-20 22:01:02 +02:00
Daniel
3236ddf87f Clean up accessor package, dedupe code 2019-09-20 10:36:55 +02:00
Daniel
9d71d109b2 Clean database tests 2019-09-06 22:36:05 +02:00
Daniel
64e25da0b2 Remove unnecessary dbutils 2019-09-06 22:35:33 +02:00
Daniel
d79e46d325 Fix fix and address review 2019-08-22 22:34:27 +02:00