-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* The role `roles.sharded-queue-router` communicates with storages as a vshard router and contains the queue API. * The role `roles.sharded-queue-storage` stores and manages information about tubes on vshard storages. Closes #68
- Loading branch information
1 parent
9f2ceed
commit 0c5bd02
Showing
36 changed files
with
1,217 additions
and
370 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
credentials: | ||
users: | ||
client: | ||
password: 'secret' | ||
roles: [super] | ||
replicator: | ||
password: 'secret' | ||
roles: [replication] | ||
storage: | ||
password: 'secret' | ||
roles: [sharding] | ||
|
||
iproto: | ||
advertise: | ||
peer: | ||
login: replicator | ||
sharding: | ||
login: storage | ||
|
||
sharding: | ||
bucket_count: 3000 | ||
|
||
groups: | ||
storages: | ||
roles: ['roles.sharded-queue-storage'] | ||
roles_cfg: | ||
roles.sharded-queue-storage: | ||
cfg: | ||
metrics: true | ||
tubes: | ||
test_tube: {} | ||
sharding: | ||
roles: [storage] | ||
replication: | ||
failover: manual | ||
replicasets: | ||
storage-001: | ||
leader: storage-001-a | ||
instances: | ||
storage-001-a: | ||
iproto: | ||
listen: | ||
- uri: localhost:3302 | ||
storage-001-b: | ||
iproto: | ||
listen: | ||
- uri: localhost:3303 | ||
storage-002: | ||
leader: storage-002-a | ||
instances: | ||
storage-002-a: | ||
iproto: | ||
listen: | ||
- uri: localhost:3304 | ||
storage-002-b: | ||
iproto: | ||
listen: | ||
- uri: localhost:3305 | ||
routers: | ||
roles: ['roles.sharded-queue-router'] | ||
roles_cfg: | ||
roles.sharded-queue-router: | ||
cfg: | ||
metrics: true | ||
app: | ||
module: init | ||
sharding: | ||
roles: [router] | ||
replicasets: | ||
router-001: | ||
instances: | ||
router-001-a: | ||
iproto: | ||
listen: | ||
- uri: localhost:3301 |
Oops, something went wrong.