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

Refactor Liveliness implementation #865

Open
wants to merge 96 commits into
base: dev/1.0.0
Choose a base branch
from

Conversation

fuzzypixelz
Copy link
Member

Resolves #864.

@eclipse-zenoh-bot
Copy link

@fuzzypixelz If this pull request contains a bugfix or a new feature, then please consider using Closes #ISSUE-NUMBER syntax to link it to an issue.

@fuzzypixelz fuzzypixelz marked this pull request as draft March 26, 2024 11:01
@fuzzypixelz fuzzypixelz changed the title Refactor/liveliness delaration Refactor Liveliness implementation Mar 26, 2024
@eclipse-zenoh-bot
Copy link

@fuzzypixelz If this pull request contains a bugfix or a new feature, then please consider using Closes #ISSUE-NUMBER syntax to link it to an issue.

@fuzzypixelz fuzzypixelz force-pushed the refactor/liveliness-delaration branch from dc9ec91 to 5b2ebbb Compare March 26, 2024 11:25
@fuzzypixelz fuzzypixelz changed the base branch from protocol_changes to client-interests March 26, 2024 11:27
@eclipse-zenoh-bot
Copy link

@fuzzypixelz If this pull request contains a bugfix or a new feature, then please consider using Closes #ISSUE-NUMBER syntax to link it to an issue.

@OlivierHecart OlivierHecart linked an issue Mar 26, 2024 that may be closed by this pull request
@OlivierHecart OlivierHecart self-requested a review March 26, 2024 11:49
@fuzzypixelz fuzzypixelz force-pushed the refactor/liveliness-delaration branch from fd7c307 to 8961ba3 Compare March 26, 2024 14:41
* Add client writer-side filtering

* Reimplement liveliness with interests

* Fix writer-side filtering before receiving FinalInterest
@OlivierHecart OlivierHecart deleted the branch eclipse-zenoh:dev/1.0.0 March 27, 2024 09:19
@OlivierHecart OlivierHecart reopened this Mar 27, 2024
@OlivierHecart OlivierHecart changed the base branch from client-interests to interests March 27, 2024 11:42
@fuzzypixelz fuzzypixelz force-pushed the refactor/liveliness-delaration branch from 8961ba3 to a3a9c7e Compare March 27, 2024 14:37
@fuzzypixelz
Copy link
Member Author

fuzzypixelz commented Mar 28, 2024

What works now:

  1. Liveliness declaration, w/o the interest protocol, in brokered scenarios
  2. Liveliness get, w/o the interest protocol, in brokered scenarios

I disabled unused_variables and dead_code lints to unblock the CI.

@fuzzypixelz fuzzypixelz force-pushed the refactor/liveliness-delaration branch from 2e0afa9 to 3fcdb2c Compare March 28, 2024 17:05
@fuzzypixelz fuzzypixelz force-pushed the refactor/liveliness-delaration branch from ed4e400 to cde8da2 Compare May 14, 2024 07:40
@fuzzypixelz
Copy link
Member Author

fuzzypixelz commented May 14, 2024

Update:

  1. The .liveliness().get(..) API now sends interest declaration messages instead of requests.
  2. Incoming token declaration messages are sent to liveliness query callbacks.

@fuzzypixelz fuzzypixelz self-assigned this May 17, 2024
@OlivierHecart OlivierHecart changed the base branch from interests to dev/1.0.0 May 22, 2024 13:16
@fuzzypixelz fuzzypixelz added enhancement Existing things could work better internal Changes not included in the changelog labels May 24, 2024
@fuzzypixelz fuzzypixelz marked this pull request as ready for review May 24, 2024 14:58
@fuzzypixelz fuzzypixelz force-pushed the refactor/liveliness-delaration branch from 9ddc253 to 998592d Compare May 24, 2024 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Existing things could work better internal Changes not included in the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Protocol changes: Refactor Liveliness implementation
4 participants