Skip to content

Commit

Permalink
Add replicasets file for easier development (#1282)
Browse files Browse the repository at this point in the history
  • Loading branch information
rosik authored Mar 2, 2021
1 parent 2003e21 commit b2c4205
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ but can also be useful for demo purposes or experiments:
.. code-block:: bash
cartridge start
cartridge replicasets setup --bootstrap-vshard
# or select a specific entry point
# cartridge start --script ./test/entrypoint/srv_vshardless.lua
Expand Down
22 changes: 22 additions & 0 deletions replicasets.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
R:
instances:
- srv-1
roles:
- failover-coordinator
- vshard-router
- myrole-dependency
- myrole
S-A:
instances:
- srv-2
- srv-3
roles:
- vshard-storage
weight: 1
S-B:
instances:
- srv-4
- srv-5
roles:
- vshard-storage
weight: 1

0 comments on commit b2c4205

Please sign in to comment.