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

Converting BigDecimals to integers in weighting of AZs #277

Merged
merged 3 commits into from
Oct 24, 2018

Conversation

sjeropkipruto
Copy link
Contributor

Currently, BigDecimals that are close to zero are converted to integers zeros, hence the availability zones are regarded as backups. I have improved the precision of BigDecimal to Integer conversion so that small weights are also accounted for.

@sjeropkipruto sjeropkipruto self-assigned this Oct 24, 2018
@sjeropkipruto sjeropkipruto merged commit 4f87f3c into master Oct 24, 2018
@sjeropkipruto sjeropkipruto deleted the bigdecimal-int branch October 24, 2018 23:11
@ssalinas ssalinas added this to the 0.8.0 milestone May 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants