-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
crud: support async bootstrap on storage
All Tarantool 3.x instances start in ro mode. Simple `if not box.info.ro` check isn't enough to properly bootstrap a user since it may pass before master instance became rw. box.watch is used to track the moment when instance became rw [1]. Watchers are supported since Tarantool 2.10+. This patch doesn't change existing behavior for Cartridge roles and `crud.init_storage()` calls. 1. https://www.tarantool.io/ru/doc/latest/reference/reference_lua/box_events/ Part of #412 Part of #415
- Loading branch information
1 parent
9d69b86
commit 76d1375
Showing
5 changed files
with
48 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters