Skip to content

Exclude a failing SFU and send migrating_from - #254

Open
sierpinskid wants to merge 1 commit into
mainfrom
bugfix/UNI-236-exclude-failing-sfu
Open

sierpinskid wants to merge 1 commit into
mainfrom
bugfix/UNI-236-exclude-failing-sfu

Conversation

@sierpinskid

Copy link
Copy Markdown
Member

Summary

  • After two join failures on the same SFU, or a capacity/shutdown join error, the next coordinator join sends migrating_from and migrating_from_list so that edge is not assigned again.
  • The per-SFU failure count is stored. JoinCall no longer hardcodes migrating_from to null. A MIGRATE join fills the previous SFU id when it is empty.
  • Linear: UNI-236 (V1-007). Full SFU migration stays in UNI-237.

Test plan

  • EditMode RtcSessionSfuExclusionTests on Unity 2021.3.21f1: 13 passed
  • CI on the existing matrix, including 2021.3 and 6000.2
  • Reviewer confirms an unrecoverable coordinator error still fails the join without retrying

Made with Cursor

…ator stops handing that edge back.

Co-authored-by: Cursor <cursoragent@cursor.com>
@getstream-metis

Copy link
Copy Markdown

👋 Hi Daniel, want a second pair of eyes on this?

I'm Jeffery, Stream's review agent. I look for bugs, regressions, missing tests and slow paths, and I only post findings I've checked against the code.

  • Review this PR

Or comment /jeffery review. I'll stay quiet unless you ask.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant