Commit graph

78 commits

Author SHA1 Message Date
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
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
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
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
Daniel
dca046b1c1 Replace renameio.WriteFile with versions that is compatible to windows 2019-08-21 15:29:50 +02:00
Daniel
a2d6bc974c Fix test, add test helper script 2019-08-20 15:42:46 +02:00
Daniel
402429cd70 Revamp module structure
- Add shutdown mechanics to module
- Adapt dbmodule to new mechanics
2019-08-09 16:45:43 +02:00
Daniel
2ac64aedff Switch to new data root / core module structure 2019-07-31 22:32:29 +02:00
Daniel
a7105dc6ba Remove copyright notices from files, LICENSE file suffices 2019-07-24 11:10:02 +02:00
Daniel
3bd7b8558f Add meta data type to record serialization 2019-07-19 21:30:51 +02:00
Daniel
0de310503a Add util function for creating/checking dirs 2019-07-04 13:47:18 +02:00
Daniel
8f3082f96f Update import paths 2019-06-27 13:29:56 +02:00
Daniel
95c332c71a Update database tests and checks 2019-05-31 13:00:22 +02:00
Daniel
4d1659e2c2 Port fstree from the datastore backend 2019-05-31 12:59:54 +02:00
Daniel
0b60809c70 Remove datastore based storage backends 2019-05-31 12:59:35 +02:00
Daniel
56e112f484 Increase API subscription buffer 2019-05-22 16:10:45 +02:00
Daniel
475e36d32f Add bbolt database storage 2019-05-10 11:50:31 +02:00
Daniel
682264acc5 Fix database prepping for windows 2019-04-26 11:38:14 +02:00