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

Watches #186

Draft
wants to merge 15 commits into
base: main
Choose a base branch
from
Draft

Watches #186

wants to merge 15 commits into from

Conversation

jeffa5
Copy link
Collaborator

@jeffa5 jeffa5 commented Nov 18, 2022

Requires a ccf installed from microsoft/CCF#4537

To test:

  1. make run-virtual-verbose
  2. (in another terminal) ./etcdctl.sh watch a --debug
  3. (in another terminal) ./etcdctl.sh put a b

When it works an output similar to

PUT
a
b

should appear in the terminal running the watch command (step 2).

Currently this does not work. This is now working, with more work to do to get feature parity with etcd

@jumaffre jumaffre changed the title Server streaming Watches Dec 1, 2022
@jeffa5 jeffa5 added the enhancement New feature or request label Dec 16, 2022
Julien Maffre added 2 commits April 3, 2023 14:25
- if (frame->hd.flags & NGHTTP2_FLAG_END_STREAM)
+ if (
+ frame->hd.flags & NGHTTP2_FLAG_END_STREAM ||
+ url == "/etcdserverpb.Watch/Watch")
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@jumaffre I guess for lease keep alives (also bidi) we'd need to add that path here too?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, as long as client streaming isn't supported in CCF.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants