-
Notifications
You must be signed in to change notification settings - Fork 43
Document vshard.router.map_callrw()
#2753
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
75bb124
to
c3fc636
Compare
293d139
to
e961bdc
Compare
|
||
The chosen function is called on the master node of each replicaset with the given arguments. | ||
|
||
:param function_name: a function to call on the storages |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
storages — instances with the vshard role "storage" ? Can you think of another wording for that (here and further)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Storages in this context means "masters of all replicasets". But you normally should think of them as just "storages" or "replicasets". Not about individual nodes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the patch!
|
||
The chosen function is called on the master node of each replicaset with the given arguments. | ||
|
||
:param function_name: a function to call on the storages |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Storages in this context means "masters of all replicasets". But you normally should think of them as just "storages" or "replicasets". Not about individual nodes.
ca20439
to
1578869
Compare
Fixes #2015
Deploy (API Reference): https://develop.tarantool.io/en/doc/gh-2015-map-reduce/reference/reference_rock/vshard/vshard_api/
Deploy (map_callrw()): https://develop.tarantool.io/en/doc/gh-2015-map-reduce/reference/reference_rock/vshard/vshard-router/#lua-function.vshard.router.map_callrw