Skip to content

[=]: fix for updating fec_rep_path_id#544

Open
penglei0 wants to merge 1 commit intoalibaba:mainfrom
networkcoding:fix/fec-path-id-update
Open

[=]: fix for updating fec_rep_path_id#544
penglei0 wants to merge 1 commit intoalibaba:mainfrom
networkcoding:fix/fec-path-id-update

Conversation

@penglei0
Copy link

@penglei0 penglei0 commented Mar 17, 2026

This is the fix for incorrect report for multipath transmission in backup_fec mode, here is the critical logs:

fec_mp_mode:NO_AVAI_STB_PATH|send_fec_pkts:128|

The scheduler xqc_backup_fec_scheduler_cb never update fec_rep_path_id which should be an unexpected behavior.

Copilot AI review requested due to automatic review settings March 17, 2026 09:19
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Fixes incorrect multipath reporting when using FEC in back_fec mode by ensuring fec_rep_path_id is updated during path selection for repair-symbol packets.

Changes:

  • Update fec_rep_path_id inside xqc_backup_fec_scheduler_get_path() when selecting a path for repair-symbol traffic in standby-based FEC MP mode.
  • Record standby path id or reset to a sentinel value depending on the selected path’s status.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Comment on lines +190 to +193
conn->fec_ctl->fec_rep_path_id =
(ret_path->app_path_status == XQC_APP_PATH_STATUS_STANDBY)
? ret_path->path_id
: XQC_MAX_UINT64_VALUE;
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.

2 participants