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

Add support for periodic fingerprints and make consul periodic #391

Merged
merged 4 commits into from
Nov 6, 2015

Conversation

dadgar
Copy link
Contributor

@dadgar dadgar commented Nov 5, 2015

This PR adds support for periodic fingerprinters and makes Consul periodic (as well as enabling it).

@dadgar dadgar force-pushed the f-periodic-fingerprint branch from 0577e54 to f43c067 Compare November 5, 2015 21:46
for {
select {
case <-time.After(d):
if _, err := f.Fingerprint(c.config, c.config.Node); err != nil {
Copy link
Contributor

Choose a reason for hiding this comment

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

We should continue fingerprinting if it returns an error since it might recover later.

@diptanu
Copy link
Contributor

diptanu commented Nov 6, 2015

LGTM

dadgar added a commit that referenced this pull request Nov 6, 2015
Add support for periodic fingerprints and make consul periodic
@dadgar dadgar merged commit 8ed9655 into master Nov 6, 2015
@dadgar dadgar deleted the f-periodic-fingerprint branch November 6, 2015 02:49
benbuzbee pushed a commit to benbuzbee/nomad that referenced this pull request Jul 21, 2022
* fix TestRaft_LeaderLeaseExpire
* fix TestRaft_LeadershipTransferLeaderRejectsClientRequests
@github-actions
Copy link

github-actions bot commented May 6, 2023

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants