Commit Graph

105 Commits

Author SHA1 Message Date
aa51e07211 Accept arbitrary triggers. 2024-12-17 00:10:12 +01:00
5a989b4046 More tests for the Common database. 2024-12-14 19:00:45 +01:00
5a04adcd6a Fix the Common database reindex. 2024-12-14 19:00:35 +01:00
38f54cdf77 Fix naming: FIFO -> LRU 2024-12-13 23:31:25 +01:00
19d878e21c Removing "." and ".." directories while walking the FS the right way (#entries -> #children). 2024-07-02 16:59:17 +02:00
179d5e6e17 Documentation fixes. Add Trigger#delete?. 2024-06-02 01:37:30 +02:00
27d4c00cbe Triggers, API documentation, benchmarks, DODB::Storage::Common 2024-06-01 02:15:11 +02:00
401578c77d Index: change get_key to either walk the FS or the cached db index. 2024-05-07 14:53:03 +02:00
bb6d9a26f7 Don't clone data by default. User can clone only when relevant. 2024-05-07 13:05:01 +02:00
345390f4db Test data: the "Car" class must have a "clone" function. 2024-05-07 01:38:52 +02:00
cab18cd26b Call a simpler function. 2024-05-07 01:37:46 +02:00
b4460e59fa For cached databases: clone the requested value to avoid problems. 2024-05-07 01:34:15 +02:00
351df7426f Fix partition implementation. 2024-05-07 00:03:07 +02:00
b590cb9e0f Only catches "File Not Found" error while deleting a value in dodb.cr. 2024-05-07 00:01:31 +02:00
8dfbe28986 Fix cached indexes not working when databases aren't reindexed on start. 2024-05-06 23:52:17 +02:00
7404411ec5 MissingEntry -> KeyError 2024-05-06 21:24:34 +02:00
8a585a2679 MissingEntry -> KeyError 2024-05-06 20:32:27 +02:00
0dc384dd79 Enable "get?" functions for partitions and tags. 2024-05-06 20:20:07 +02:00
183432eb32 Cached indexes by default. 2024-05-06 18:31:52 +02:00
a92b27d80d Add a TODO. 2024-05-06 14:43:59 +02:00
0d0acc8dff Add a sample makefile. 2024-05-06 14:41:07 +02:00
061e945384 Add cached indexes (index, partition, tag): we are now 500x faster. 2024-05-06 13:02:14 +02:00
f5c9d1a7f2 Remove ".json" suffix in the generated files. 2024-05-06 11:47:07 +02:00
96f290eb40 Add a warning message on directed graphs. 2024-05-06 11:38:22 +02:00
0cfb5146f3 README: let's talk about speed up. 2024-05-05 01:03:27 +02:00
197af64c83 Way faster searches by indexes (index, partition, tags) with a cached DB. 2024-05-05 00:43:15 +02:00
d91452a5ae Add a very clumsy benchmark on a car database. 2024-05-04 23:12:32 +02:00
f2a76c288e README: talk a bit more about the limits of DODB. 2024-05-04 20:14:47 +02:00
9fed7145e5 Index: print the symlink path on collision. 2024-05-02 23:41:21 +02:00
3a4ffcedd8 Now that tags are working, change version. 2024-04-26 23:30:07 +02:00
fce2b633ce Readme update to include a few words on tags. 2024-04-26 23:28:36 +02:00
bcfe5d44d6 Tags should now be working as expected. 2024-04-26 23:26:56 +02:00
7584c3acc0 Rewrite of the tag mechanism. Tests are needed. 2024-04-26 19:35:00 +02:00
35f5c52cbc O_EXCL is now correctly implemented in std. 2023-05-03 03:52:10 +02:00
4792d8878f Preserves incoming links on deindex. 2020-10-29 18:03:46 +01:00
db7fddb803 Fixes symlink broken in some situations. 2020-10-29 14:47:52 +01:00
692e26e816 DirectedGraph fixes. 2020-10-29 14:32:52 +01:00
909eb776e3 Fixes an indexing issue in DirectedGraph.
The issue was linked to absolute paths being prepended.
2020-10-29 14:27:37 +01:00
0599e8bfe5 Experimental DODB::DirectedGraph feature. 2020-10-29 04:30:56 +01:00
a1d1fd99d4 To many "'". 2020-10-21 23:26:33 +02:00
d0813205e6 Locks and exception-resilience. 2020-07-24 13:31:05 +02:00
4fe2719f31 Merge branch 'master' + DODB::CachedDataBase. 2020-07-21 13:25:48 +02:00
161a6e1f44 Adding cached operations DODB::CachedDataBase(V). 2020-07-21 12:49:32 +02:00
48cf3c23be Fixes issues related to parallel updates. 2020-07-20 15:04:17 +02:00
2dd42f3a30 Some tests and extra code for parallelization of DODB. 2020-07-20 14:23:10 +02:00
9990a3ac1b DODB.no_index, Storage#new_nilable_index.
The APIs are still a bit experimental at this point, but the feature is
very likely to stay.
2020-07-15 17:19:27 +02:00
800d139a3d WIP for lock files and atomic operations. 2020-06-24 21:45:45 +02:00
b413570d61 Typo in a comment, duh 2020-06-24 21:03:01 +02:00
5ecb94f74a Readme: s/old-git/baguette/ 2020-05-01 13:09:54 +02:00
Philippe PITTOLI
9aa34a45ad Readme: #update(V) 2020-04-20 15:32:55 +02:00