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

Disable placement timeout with no peers #7418

Merged
merged 12 commits into from Jan 29, 2024

Conversation

JoshVanL
Copy link
Contributor

Disable placement leadership timeouts when there are no peers. This reduces startup time of placement by a second. Also remove initial delay of actor health check probe.

Continue to use existing placement config if there is more then one peer (initial cluster) configured i.e. ha mode.

`-focus "actor|placement" integration test results before and after change:

    integration.go:82: Total integration test execution time: 2m2.7s
    integration.go:82: Total integration test execution time: 2m5.9s
    integration.go:82: Total integration test execution time: 1m36.3s
    integration.go:82: Total integration test execution time: 1m35s

Disable placement leadership timeouts when there are no peers. This
reduces startup time of placement by a second. Also remove initial delay
of actor health check probe.

Continue to use existing placement config if there is more then one peer
(initial cluster) configured i.e. ha mode.

`-focus "actor|placement" integration test results before and after
change:

```
    integration.go:82: Total integration test execution time: 2m2.7s
    integration.go:82: Total integration test execution time: 2m5.9s
    integration.go:82: Total integration test execution time: 1m36.3s
    integration.go:82: Total integration test execution time: 1m35s
``

Signed-off-by: joshvanl <me@joshvanl.dev>
@JoshVanL JoshVanL requested review from a team as code owners January 20, 2024 16:24
Copy link

codecov bot commented Jan 20, 2024

Codecov Report

Attention: 24 lines in your changes are missing coverage. Please review.

Comparison is base (83ad194) 62.40% compared to head (5ef7312) 62.36%.

Files Patch % Lines
pkg/placement/raft/server.go 0.00% 24 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7418      +/-   ##
==========================================
- Coverage   62.40%   62.36%   -0.04%     
==========================================
  Files         244      244              
  Lines       22134    22139       +5     
==========================================
- Hits        13812    13807       -5     
- Misses       7181     7195      +14     
+ Partials     1141     1137       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@JoshVanL
Copy link
Contributor Author

/test-version-skew

@dapr-bot
Copy link
Collaborator

dapr-bot commented Jan 20, 2024

Dapr Version Skew e2e test (dapr-sidecar-master - 1.12.4)

🔗 Link to Action run

Commit ref: c94bdde

✅ Version Skew tests passed

@dapr-bot
Copy link
Collaborator

dapr-bot commented Jan 20, 2024

Dapr Version Skew integration test (dapr-sidecar-master - 1.12.4)

🔗 Link to Action run

Commit ref: c94bdde

✅ Version Skew tests passed

@dapr-bot
Copy link
Collaborator

dapr-bot commented Jan 20, 2024

Dapr Version Skew e2e test (control-plane-master - 1.12.4)

🔗 Link to Action run

Commit ref: c94bdde

✅ Version Skew tests passed

@dapr-bot
Copy link
Collaborator

dapr-bot commented Jan 20, 2024

Dapr Version Skew integration test (control-plane-master - 1.12.4)

🔗 Link to Action run

Commit ref: c94bdde

✅ Version Skew tests passed

@JoshVanL JoshVanL added the autoupdate DaprBot will keep the Pull Request up to date with master branch label Jan 22, 2024
Copy link
Contributor

@cicoyle cicoyle left a comment

Choose a reason for hiding this comment

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

Nice work Josh

@yaron2 yaron2 merged commit e2a2e85 into dapr:master Jan 29, 2024
20 of 22 checks passed
@JoshVanL JoshVanL added this to the v1.13 milestone Feb 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autoupdate DaprBot will keep the Pull Request up to date with master branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants