Skip to content

fix(stream): check the checkpoint-report transId and checkpointId#29615

Merged
guanshengliang merged 10 commits into
mainfrom
fix/disp_lost
Jan 23, 2025
Merged

fix(stream): check the checkpoint-report transId and checkpointId#29615
guanshengliang merged 10 commits into
mainfrom
fix/disp_lost

Conversation

@hjxilinx
Copy link
Copy Markdown
Contributor

Description

fix(stream): check the checkpoint-report transId and checkpointId, and identify the expired checkpoint-report info.

Checklist

Please check the items in the checklist if applicable.

  • Is the user manual updated?
  • Are the test cases passed and automated?
  • Is there no significant decrease in test coverage?

…d identify the expired checkpoint-report info.
if (existed != numOfTasks) {
mDebug("stream:0x%" PRIx64 " %s %d/%d tasks send checkpoint-report, %d not send", pReportInfo->streamId, pName,
existed, numOfTasks, numOfTasks - existed);
return -1;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

这种都应该返回错误码

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

这个是表示true/false,不是一个真正的错误,本来是想用 bool 的。

@guanshengliang guanshengliang merged commit f6f08fa into main Jan 23, 2025
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.

4 participants