9fed7145e5
Index: print the symlink path on collision.
2024-05-02 23:41:21 +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
Philippe PITTOLI
e457a80399
index#update(new_value) : index is automatically retrieved.
2020-04-19 18:18:53 +02:00
Philippe PITTOLI
42f3b4e5c0
Partition#delete "element"
2020-04-08 00:35:39 +02:00
c4223eabf1
Emergency fix for tags.
...
They’ll work, but they’ll still be super slow.
2020-04-07 23:29:29 +02:00
f8e4e6c343
Partition#get(unknown_partition) returns []
2020-02-11 19:47:13 +01:00
10b0061133
Partition#delete(partition_index, &matcher)
2020-02-11 16:53:06 +01:00
355f85d635
Index#update_or_create(key, value) added.
2020-02-02 14:18:03 +01:00
364887bde3
WIP for indexing by multiple tags.
...
Basically, DODB::Tags#get(tags : Array(String)).
2020-01-29 16:59:39 +01:00
6dc3a6d2f7
Fixes reversed: true.
...
Hey crystal, why don’t you have reversed ranges?
2020-01-13 13:48:24 +01:00
65c607d9fc
#to_h can also be reversed or be provided offsets.
2020-01-12 15:22:39 +01:00
011348b33a
start_offset, end_offset added in each and to_a.
2020-01-12 15:12:01 +01:00
1bb5268602
Improved reverse searches a bit.
2020-01-12 14:50:10 +01:00
863bf369b8
#reverse_each, #reverse_each_with_index added.
2020-01-10 17:20:10 +01:00
787989b447
Exception message conventions.
2020-01-10 11:15:09 +01:00
603a65c6f4
Fixes a possible issue with DB reopening.
2020-01-07 16:06:18 +01:00
52753bce14
DODB::Index(V): #update(String, V) and #delete(String) added.
2020-01-03 09:36:41 +01:00
10448d6b0b
Finalizes the DataBase(K, V) -> DataBase(V) change.
2019-12-28 03:24:05 +01:00
14825f4edd
Improves #reindex_everything!.
2019-12-19 04:22:56 +01:00
3f53034b5a
DataBase(K, V) becomes DataBase(V).
2019-12-18 03:43:09 +01:00
c4030d4179
Migration test and example.
2019-12-17 18:16:13 +01:00
4ff5c0c781
Files moved to match name update.
2019-12-12 00:44:05 +01:00
858d92970d
reindex_everything! method added.
2019-12-12 00:01:02 +01:00
aec1dc2011
Name change.
...
This time it follows our project conventions.
2019-12-11 23:18:20 +01:00
474613368a
Crystal specs added.
2019-12-11 22:41:52 +01:00
675cb1cdd8
Custom exceptions for common errors.
2019-12-11 22:08:26 +01:00
8ba15394b7
File split, grooming.
2019-12-11 18:10:09 +01:00
fc21b48870
Name and namespace change.
...
This is very much a breaking change.
2019-12-11 18:05:02 +01:00
ca712f98ce
API improvements.
...
```
p = hash.new_partition("table-name")
p.get "partition-name"
```
Also works for indices and tags.
2019-12-11 17:58:35 +01:00
70209f963e
Grooming, lots of internal changes, some API changes.
2019-12-11 04:13:06 +01:00
1fb7446e4a
Fixes indices. Checks them before adding new elements.
2019-12-10 21:26:15 +01:00
7079e5ae91
Grooming.
2019-12-10 21:04:00 +01:00
1a1380d674
Renamed “N-N partitions” to “tags”.
...
Increased version number in shard.yml due to the implied API changes.
2019-12-10 20:50:25 +01:00
2f00b56f0c
Proper replacement of values.
...
It’s no longer needed to `hash.delete old_data`, `hash[id] = new_data`.
Previously existing data are properly de-indexed, then replaced by the
new data, which are then properly re-indexed. As you’d expect from a
database thingy.
2019-12-10 20:28:49 +01:00