forked from tarantool/vshard
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
router: export names to info
It's not good to show only uuid in info, when name identification is used. Let's also show a name of a master and replicaset in such case. We don't show master name for UUID identification, as it's not a persisted name. We also don't replace uuid with names for name identification in order to preserve backward compatibility of vshard.storage.info(). Part of tarantool#426 @TarantoolBot document Title: vshard: vshard.router.info shows name When `identification_mode` is `name_as_key`, persisted master and replicaset name is shown in vshard.router.info: ``` tarantool> vshard.router.info() --- - replicasets: replicaset_1: replica: &0 network_timeout: 0.5 status: available uri: storage@127.0.0.1:3303 name: replica_1_a name: replicaset_1 master: *0 ```
1 parent
b9c9897
commit c673354
Showing
6 changed files
with
35 additions
and
25 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
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