Skip to content

cli: Extending locality assignment for cockroach demo nodes#39786

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
rohany:node-locality-updates
Aug 21, 2019
Merged

cli: Extending locality assignment for cockroach demo nodes#39786
craig[bot] merged 1 commit intocockroachdb:masterfrom
rohany:node-locality-updates

Conversation

@rohany
Copy link
Copy Markdown
Contributor

@rohany rohany commented Aug 21, 2019

This PR allows for setting multiple tiers of locality
for cockroach demo nodes, as opposed to previous work
allowing for only a single tier to be set for each node.

Now, use a colon to separate the locality information
for each demo node. For example,

--demo-locality=region=us-east1,az=1:region=us-east1,az=2:region=us-east1,az=3

Fixes #39780.

Release note (cli change): Extends the cockroach demo node locality setting to allow for multiple locality tiers per demo node.

This PR allows for setting multiple tiers of locality
for cockroach demo nodes, as opposed to previous work
allowing for only a single tier to be set for each node.

Now, use a colon to separate the locality information
for each demo node. For example,

```
--demo-locality=region=us-east1,az=1:region=us-east1,az=2:region=us-east1,az=3
```

Fixes cockroachdb#39780.

Release note: None
@rohany rohany requested review from andreimatei and knz August 21, 2019 02:34
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
Contributor

@knz knz left a comment

Choose a reason for hiding this comment

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

cool thanks

Copy link
Copy Markdown
Contributor

@andreimatei andreimatei left a comment

Choose a reason for hiding this comment

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

:lgtm:

danke

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @andreimatei)

@rohany
Copy link
Copy Markdown
Contributor Author

rohany commented Aug 21, 2019

Tftr! @awoods187 who should I talk to about getting this change documented?

bors r+

craig bot pushed a commit that referenced this pull request Aug 21, 2019
39786: cli: Extending locality assignment for cockroach demo nodes r=rohany a=rohany

This PR allows for setting multiple tiers of locality
for cockroach demo nodes, as opposed to previous work
allowing for only a single tier to be set for each node.

Now, use a colon to separate the locality information
for each demo node. For example,

```
--demo-locality=region=us-east1,az=1:region=us-east1,az=2:region=us-east1,az=3
```

Fixes #39780.

Release note (cli change): Extends the cockroach demo node locality setting to allow for multiple locality tiers per demo node.

Co-authored-by: Rohan Yadav <rohany@alumni.cmu.edu>
@craig
Copy link
Copy Markdown
Contributor

craig bot commented Aug 21, 2019

Build succeeded

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.

Improve cockroach demo nodes feature

4 participants