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

not able to read any other etcd key while processing a etcd watch event. its blocked indefinitely #1285

Closed
ankit2610 opened this issue Dec 13, 2023 · 3 comments

Comments

@ankit2610
Copy link

ankit2610 commented Dec 13, 2023

Versions

  • etcd: v3.4.28
  • jetcd: 0.7.6
  • java: 17

Describe the bug
I have some keys in etcd like key1/123 and key2/456.

I have created a watcher on delete of a key prefixed with key1.
when I process a key1 delete event, I am trying to get all the keys prefixed with key2, and its blocked here.

To Reproduce
Create a watch for one key and while processing the watch event , read another key. It will hang indefinitely.
Expected behavior
A clear and concise description of what you expected to happen.
it should be able to read etcd keys irrespective of the context from where it is called.

Additional context
Add any other context about the problem here.

@ankit2610 ankit2610 changed the title not able to read any other etcd key while processing a etcd watch event. its goi not able to read any other etcd key while processing a etcd watch event. its blocked indefinitely Dec 13, 2023
@lburgazzoli
Copy link
Collaborator

lburgazzoli commented Dec 13, 2023

Please have a look at #1089

@ankit2610
Copy link
Author

sure . thanks for the update

@lburgazzoli
Copy link
Collaborator

@ankit2610 can this be closed ?

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

No branches or pull requests

2 participants