Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config: introduce sharding.weight #9776

Merged

Conversation

ImeevMA
Copy link
Collaborator

@ImeevMA ImeevMA commented Mar 5, 2024

Closes #9775

@TarantoolBot document
Title: The sharding.weight option

The sharding.weight option can be set to facilitate rebalancing. The larger the weight of a replicaset, the more data it can store. This is a relative value, so a replicaset with a value N times larger than a value of the another replicaset can store N times more data. The default value is 1.

@ImeevMA ImeevMA requested review from Totktonada and a team as code owners March 5, 2024 15:18
@ImeevMA ImeevMA force-pushed the imeevma/gh-9775-sharding-weight branch from 0bf03c1 to 4bf3a2f Compare March 7, 2024 07:25
@coveralls
Copy link

coveralls commented Mar 7, 2024

Coverage Status

coverage: 86.974% (-0.001%) from 86.975%
when pulling 042d945 on ImeevMA:imeevma/gh-9775-sharding-weight
into deaa959
on tarantool:master
.

@ImeevMA ImeevMA requested a review from Totktonada March 7, 2024 08:41
@Totktonada Totktonada added the full-ci Enables all tests for a pull request label Mar 8, 2024
Copy link
Contributor

@p7nov p7nov left a comment

Choose a reason for hiding this comment

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

Please see my suggestion on the changelog.

Closes tarantool#9775

@TarantoolBot document
Title: The `sharding.weight` option

The `sharding.weight` option can be set to facilitate rebalancing. The
larger the weight of a replicaset, the more data it can store. This is a
relative value, so a replicaset with a value N times larger than a value
of the another replicaset can store N times more data. The default value
is 1.
@ImeevMA ImeevMA force-pushed the imeevma/gh-9775-sharding-weight branch from 4bf3a2f to 042d945 Compare March 11, 2024 07:18
@Totktonada Totktonada merged commit 567cba8 into tarantool:master Mar 11, 2024
61 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
full-ci Enables all tests for a pull request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow to set weight in sharding
5 participants