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

Robustness test kubernetes traffic sometimes doesn't issue any deletes #17968

Closed
4 tasks done
serathius opened this issue May 8, 2024 · 6 comments
Closed
4 tasks done

Comments

@serathius
Copy link
Member

serathius commented May 8, 2024

Bug report criteria

What happened?

Number of keys keeps growing to absurd numbers, due to no delete requests.

What did you expect to happen?

Average of keys to be kept around 10 keys, the intention of the current logic was:

  • Issue only creates if number of keys drops below 5
  • Issue only deletes if number of keys is over 15

Expect it might a bug with nonUniqueWriteLimiter.

How can we reproduce it (as minimally and precisely as possible)?

n/a

Anything else we need to know?

No response

Etcd version (please run commands below)

main branch

Etcd configuration (command line flags or environment variables)

TestRobustnessExploratory_Kubernetes_HighTraffic_ClusterOfSize3 test

Etcd debug information (please run commands below, feel free to obfuscate the IP address or FQDN in the output)

$ etcdctl member list -w table
# paste output here

$ etcdctl --endpoints=<member list> endpoint status -w table
# paste output here

Relevant log output

No response

@henrybear327
Copy link
Contributor

@serathius I can try to tackle this issue!

/assign @henrybear327

@fuweid
Copy link
Member

fuweid commented May 30, 2024

I try to fix #17780 with more deletion.
I think the root cause is that we only return token only for deletion.

if requestType == Delete || requestType == LeaseRevoke {
nonUniqueWriteLimiter.Return()
}

When non-deletion or non-lease-revoke has more weight, they won't return the token from limiter.
We should return all if we take it from limiter.

cc @henrybear327 @serathius

@fuweid
Copy link
Member

fuweid commented Jun 4, 2024

ping @henrybear327 if you don't have time, may I take this one? since it's related to #18099 issue. Thanks

@henrybear327 henrybear327 removed their assignment Jun 4, 2024
@henrybear327
Copy link
Contributor

ping @henrybear327 if you don't have time, may I take this one? since it's related to #18099 issue. Thanks

Hello @fuweid, I have unassigned myself. There was nothing specific to handover from my side.

/assign @fuweid

@fuweid
Copy link
Member

fuweid commented Jun 7, 2024

closed by #18135

@fuweid fuweid closed this as completed Jun 7, 2024
@serathius
Copy link
Member Author

Awesome work @fuweid !

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

No branches or pull requests

3 participants