tarantool / vshard

The new generation of sharding based on virtual buckets
Other
98 stars 29 forks source link

Feat: implement partial map-reduce #442

Open darthunix opened 8 months ago

darthunix commented 8 months ago

Extend ref-map-reduce API with a new partial execution method:

vshard.router.partial_callrw(bucket_ids, func, args, opts, callback)

It allows users to call a function exactly once on all masters that contain buckets from the list.

Also current PR improves the connection establishment for all ref-map-reduce methods.