Skip to content

0.1.17

Compare
Choose a tag to compare
@Gerold103 Gerold103 released this 14 Apr 21:50
· 257 commits to master since this release

Overview

The version contains a not critical bugfix, and a big new feature - consistent map-reduce.

Compatibility

Fully compatible with 0.1.16.

Bugs fixed

  • A locked replicaset (locked via the configuration option lock) still could receive new buckets if vshard.storage.bucket_send() was called manually.

Functionality added or changed

  • Storage option collect_bucket_garbage_interval is deprecated. It does not make any effect now, and its usage prints a warning. Bucket-garbage collector now works reactively, i.e. it finds and deletes the garbage immediately as it appears, no delays.
  • Router has a new function vshard.router.map_callrw(). It works like the other call* functions, but it does not take a bucket ID. Instead, it performs a consistent map-reduce operation. The specified function is broadcast over all the master nodes where it can work with all the data available on the node regardless of bucket IDs. "Consistency" means that the call guarantees that if it succeeded, then the function has "seen" all the buckets in the cluster (gh-147).