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

feat: transmitting data is broadcast across zippers by default #612

Merged
merged 1 commit into from
Sep 19, 2023

Conversation

venjiang
Copy link
Contributor

Description

Remove the source Broadcast method and the Write method sends data as a broadcast.

Impact

Broadcast(tag uint32, data []byte) error

@vercel
Copy link

vercel bot commented Sep 18, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated (UTC)
yomo ⬜️ Ignored (Inspect) Sep 18, 2023 9:37am

@codecov
Copy link

codecov bot commented Sep 18, 2023

Codecov Report

Merging #612 (4a485d5) into master (acd3c9f) will increase coverage by 0.61%.
The diff coverage is 83.33%.

@@            Coverage Diff             @@
##           master     #612      +/-   ##
==========================================
+ Coverage   65.21%   65.83%   +0.61%     
==========================================
  Files          40       40              
  Lines        3105     3091      -14     
==========================================
+ Hits         2025     2035      +10     
+ Misses        940      918      -22     
+ Partials      140      138       -2     
Files Changed Coverage Δ
core/server.go 66.30% <63.63%> (-0.19%) ⬇️
core/metadata.go 93.02% <100.00%> (-1.10%) ⬇️
source.go 75.00% <100.00%> (-1.39%) ⬇️

... and 3 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@fanweixiao fanweixiao changed the title feat: remove broadcast feat: transmitting data is broadcast across zippers by default Sep 19, 2023
@fanweixiao fanweixiao added the feat/stream Feature: Stream label Sep 19, 2023
@fanweixiao fanweixiao merged commit 6ec9751 into master Sep 19, 2023
5 checks passed
@fanweixiao fanweixiao deleted the feat/remove-broadcast branch September 19, 2023 01:09
wujunzhuo added a commit that referenced this pull request Sep 19, 2023
# Description

By the pr #612 all data frames will be forwarded to downstream zippers.
Therefore the loop protection is necessary for zipper mesh scenario:
avoid a data frame being processed by a unique SFN multiple times.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat/stream Feature: Stream
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants