Skip to content

[3.5] backport ignore old leaders leases revoking requests#17425

Merged
ahrtr merged 2 commits into
etcd-io:release-3.5from
ivanvc:release-3.5-backport-ignore-old-leaders-leases-revoking-request
Feb 18, 2024
Merged

[3.5] backport ignore old leaders leases revoking requests#17425
ahrtr merged 2 commits into
etcd-io:release-3.5from
ivanvc:release-3.5-backport-ignore-old-leaders-leases-revoking-request

Conversation

@ivanvc

@ivanvc ivanvc commented Feb 14, 2024

Copy link
Copy Markdown
Member

Backport of PR #16822.

This PR has two commits:
1. Backport e2e EtcdProecess' GoFailClientTimeout. Addressed in #17427
2. Backport of the actual implementation of ignoring old leader leases revoking requests.

Please read https://github.com/etcd-io/etcd/blob/main/CONTRIBUTING.md#contribution-flow.

@k8s-ci-robot

Copy link
Copy Markdown

Hi @ivanvc. Thanks for your PR.

I'm waiting for a etcd-io member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@ahrtr

ahrtr commented Feb 14, 2024

Copy link
Copy Markdown
Member

Can you backport the change of supporting/enhancing gofailpoint in a separate PR?

@ahrtr

ahrtr commented Feb 15, 2024

Copy link
Copy Markdown
Member

#17427 has merged, please rebase this PR

@ivanvc ivanvc force-pushed the release-3.5-backport-ignore-old-leaders-leases-revoking-request branch from b191670 to 89bcfc2 Compare February 15, 2024 18:03
@ivanvc

ivanvc commented Feb 15, 2024

Copy link
Copy Markdown
Member Author

#17427 has merged, please rebase this PR

Done :)

@ahrtr ahrtr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm

Thanks.

@ahrtr

ahrtr commented Feb 16, 2024

Copy link
Copy Markdown
Member

cc @serathius @fuweid @jmhbnz

@jmhbnz jmhbnz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Main backport looks good to me, thanks @ivanvc.

One question below about EndpointsGRPC inclusion and how this is treated.

Comment thread tests/framework/e2e/cluster.go
@ivanvc ivanvc force-pushed the release-3.5-backport-ignore-old-leaders-leases-revoking-request branch from 89bcfc2 to da4816d Compare February 17, 2024 04:19

@jmhbnz jmhbnz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM on green - Thanks @ivanvc

@ahrtr

ahrtr commented Feb 17, 2024

Copy link
Copy Markdown
Member

ping @fuweid @serathius

@fuweid fuweid left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

I think we can use git cherry-pick -xs to add original commit information so that it's easy to review and track when you read commits.

@ivanvc

ivanvc commented Feb 18, 2024

Copy link
Copy Markdown
Member Author

LGTM

I think we can use git cherry-pick -xs to add original commit information so that it's easy to review and track when you read commits.

Hi @fuweid, I can't cherry-pick cleanly when backporting as there are many differences between the main branch and release-3.{4,5}, it's usually something done by hand. But I agree that adding a reference to the original commit can be useful. I'll add a reference to the original backported commit in the commit message.

@ivanvc ivanvc force-pushed the release-3.5-backport-ignore-old-leaders-leases-revoking-request branch 2 times, most recently from 4e530ef to bd6dfdc Compare February 18, 2024 06:13
Finish backporting the remaining functions from the original backport
from PR etcd-io#17075.

Backported commit 65add8c

Signed-off-by: Ivan Valdes <ivan@vald.es>
Backported PR etcd-io#16822, commits f7e488d,
67f1716,
and f7ff898

Signed-off-by: Ivan Valdes <ivan@vald.es>
@ivanvc ivanvc force-pushed the release-3.5-backport-ignore-old-leaders-leases-revoking-request branch from bd6dfdc to 4a90575 Compare February 18, 2024 06:20
@ivanvc

ivanvc commented Feb 18, 2024

Copy link
Copy Markdown
Member Author

@ahrtr, sorry for the inconvenience, but I've rebased and edited the commits so many times that I realized in one pass I forgot to add the e2e tests. Can you please review it again? Thanks.

@ivanvc ivanvc requested a review from ahrtr February 18, 2024 06:23
@ahrtr ahrtr merged commit 9ffba74 into etcd-io:release-3.5 Feb 18, 2024
@ahrtr

ahrtr commented Feb 18, 2024

Copy link
Copy Markdown
Member

Link to #15247

@ivanvc ivanvc deleted the release-3.5-backport-ignore-old-leaders-leases-revoking-request branch February 18, 2024 15:19
dusk125 added a commit to dusk125/etcd that referenced this pull request Jul 22, 2024
…port-ignore-old-leaders-leases-revoking-request"

This reverts commit 9ffba74, reversing
changes made to c213177.
dusk125 added a commit to dusk125/etcd that referenced this pull request Jul 22, 2024
…port-ignore-old-leaders-leases-revoking-request"

This reverts commit 9ffba74, reversing
changes made to c213177.
dusk125 added a commit to dusk125/etcd that referenced this pull request Jul 22, 2024
…port-ignore-old-leaders-leases-revoking-request"

This reverts commit 9ffba74, reversing
changes made to c213177.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

6 participants