Commit Graph

214 Commits (b52ef159e43ce6f6e4c4958480931a1618ac984b)

Author SHA1 Message Date
Luka Vandervelden 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
Luka Vandervelden 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
Luka Vandervelden 7a46fa3872 get_nn_partition returns an empty array if no key has been indexed. 2019-11-20 00:32:32 +01:00
Luka Vandervelden 4858e5c4dc Test script for n-n partitions added.
Seriously, is that going to be their name? Is this how they *should* be
called? Is this how they *DESERVE* to be named?
2019-11-20 00:22:01 +01:00
Luka Vandervelden 2a92cacbb3 WIP n-n partitions (is that the right name?) 2019-11-20 00:16:34 +01:00
Philippe PITTOLI f0a766322d Adding indexes. 2019-07-26 12:34:37 +02:00
Philippe PITTOLI 594906bcc7 corruption prevention 2019-07-24 02:19:57 +02:00
Luka Vandervelden ac3f94c017 Grooming. 2019-07-12 16:00:56 +02:00
Luka Vandervelden 80fd26fad2 FS::Hash#to_h 2019-01-02 01:36:17 +09:00
Luka Vandervelden 027c7598eb Missing .to_s added.
Index/partition keys can now be non-string without build-time error.
2018-12-17 00:49:45 +09:00
Luka Vandervelden 66fcfb76a1 Updated to become a shard. 2018-11-30 01:22:03 +09:00
Luka Vandervelden 0ef95ce452 Improved errors. 2018-11-22 22:28:41 +09:00
Luka Vandervelden b3296bd1e5 WIP partitioning. 2018-11-20 07:35:49 +09:00
Luka Vandervelden dd7e493507 Initial commit. 2018-11-20 05:06:36 +09:00