Skip to content

Add description of vshard.enable/disable() #3025

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

Merged

Conversation

Serpentian
Copy link
Contributor

  • Add description of the automatic and manual router API's
    enabling/disabling

Resolves #3012

* Add description of the automatic and manual router API's
  enabling/disabling

Resolves #3012
@Serpentian Serpentian requested a review from patiencedaur July 12, 2022 16:21
@github-actions github-actions bot temporarily deployed to branch-gh-3012-vshard-router-enable-disable July 12, 2022 16:22 Inactive
.. note::

``vshard.router.enable()`` cannot be used for enabling a router
API that was automatically disabled due to a running configuration
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, vshard.router.cfg is a configuration process only for the static router. But vshard supports multiple routers in a single instance. These ones can be created via vhard.router.new. During configuration every router is blocked on its own, and blocking API of the one uncofigured instance doesn't affect others.

If we want to specify functions, used for configuration, explicitly, we should mention both of them. Another solution can be just stay on 'running configuration process'.

Copy link
Contributor

@patiencedaur patiencedaur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@patiencedaur patiencedaur merged commit 30ff046 into latest Jul 13, 2022
@patiencedaur patiencedaur deleted the Serpentian/gh-3012-vshard-router-enable-disable branch July 13, 2022 05:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

vshard.router.enable/disable()
2 participants