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

LP2053031: Adding tuning params #213

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

FrancescoDeSimone
Copy link

@FrancescoDeSimone FrancescoDeSimone commented Mar 25, 2024

this PR add tuning parameters like heartbeat_interval, election_timeout, snapshot_count, as describe in LP:#2053031

@reneradoi
Copy link

Hello @FrancescoDeSimone, I'm not sure if you saw the reply on Matrix, that's why I'll leave my comment here as well. Please refer here for further discussion.

Copy link
Member

@addyess addyess left a comment

Choose a reason for hiding this comment

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

Thank you so much for this PR and bringing attention to it. I hope to start a good conversation around this bug. So far the work looks good i only have a problem with the default for snapshot_count

config.yaml Outdated Show resolved Hide resolved
config.yaml Outdated Show resolved Hide resolved
config.yaml Show resolved Hide resolved
config.yaml Show resolved Hide resolved
lib/etcd_databag.py Outdated Show resolved Hide resolved
templates/etcd3.conf Show resolved Hide resolved
Copy link

@HomayoonAlimohammadi HomayoonAlimohammadi left a comment

Choose a reason for hiding this comment

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

Great work, thanks a lot @FrancescoDeSimone! Left some comments and suggestions.

lib/etcd_lib.py Outdated Show resolved Hide resolved
tests/unit/lib/test_etcd_lib.py Outdated Show resolved Hide resolved
lib/etcd_lib.py Outdated Show resolved Hide resolved
tests/unit/lib/test_etcd_lib.py Outdated Show resolved Hide resolved
FrancescoDeSimone and others added 4 commits January 22, 2025 14:29
Co-authored-by: Homayoon Alimohammadi <[email protected]>
Co-authored-by: Homayoon Alimohammadi <[email protected]>
Co-authored-by: Homayoon Alimohammadi <[email protected]>
Copy link
Member

@addyess addyess left a comment

Choose a reason for hiding this comment

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

Only a tiny nit remains. Really nice work @FrancescoDeSimone

can you check out the unit test failures?

lib/etcd_lib.py Outdated Show resolved Hide resolved
Copy link
Member

@addyess addyess left a comment

Choose a reason for hiding this comment

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

Beautiful work. LGTM 🍰

@addyess
Copy link
Member

addyess commented Jan 23, 2025

odd... the first run of the integration tests failed to complete test_snapshot_restore

I'll run again and see if it is successful

@addyess
Copy link
Member

addyess commented Jan 23, 2025

@FrancescoDeSimone well I guess it wasn't a fluke. The integration tests are failing in test_snapshot_restore due to these changes. DO you have time to look into why this failure occurs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants