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

optimize the freeze caused by too many friends and group applications #852

Merged
merged 17 commits into from
Feb 7, 2025

Conversation

withchao
Copy link
Contributor

@withchao withchao commented Feb 7, 2025

🅰 Please add the issue ID after "Fixes #"

Fixes #851

@pull-request-size pull-request-size bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Feb 7, 2025
@withchao withchao enabled auto-merge February 7, 2025 07:34
@withchao withchao added this pull request to the merge queue Feb 7, 2025
Merged via the queue into openimsdk:main with commit b1d8cbf Feb 7, 2025
6 of 7 checks passed
FGadvancer pushed a commit to FGadvancer/openim-sdk-core that referenced this pull request Feb 7, 2025
…openimsdk#852)

* feat: code adjustment

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* fix: SearchLocalMessages no such table

* fix: optimize the freeze caused by too many friends and group applications
FGadvancer added a commit that referenced this pull request Feb 7, 2025
… && fix: GetConversationIDBySessionType returns a string with escape characters. (#853)

* fix: refine exception message handling to prevent duplicate messages in clients with poor network conditions.

Signed-off-by: Gordon <[email protected]>

* fix: primary key conflicts caused by empty messages occupying seq due to sequence gaps.

Signed-off-by: Gordon <[email protected]>

* fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same.

Signed-off-by: Gordon <[email protected]>

* fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same.

Signed-off-by: Gordon <[email protected]>

* fix: add random prefix to remove duplicate messages.

Signed-off-by: Gordon <[email protected]>

* style: update start message id.

Signed-off-by: Gordon <[email protected]>

* optimize the freeze caused by too many friends and group applications (#852)

* feat: code adjustment

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* fix: SearchLocalMessages no such table

* fix: optimize the freeze caused by too many friends and group applications

* fix: GetConversationIDBySessionType returns a string with escape characters.

Signed-off-by: Gordon <[email protected]>

---------

Signed-off-by: Gordon <[email protected]>
Co-authored-by: chao <[email protected]>
FGadvancer added a commit that referenced this pull request Feb 11, 2025
… message gap problem caused by server crashes or redis seq cache expired. (#857)

* fix: refine exception message handling to prevent duplicate messages in clients with poor network conditions.

Signed-off-by: Gordon <[email protected]>

* fix: primary key conflicts caused by empty messages occupying seq due to sequence gaps.

Signed-off-by: Gordon <[email protected]>

* fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same.

Signed-off-by: Gordon <[email protected]>

* fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same.

Signed-off-by: Gordon <[email protected]>

* fix: add random prefix to remove duplicate messages.

Signed-off-by: Gordon <[email protected]>

* style: update start message id.

Signed-off-by: Gordon <[email protected]>

* optimize the freeze caused by too many friends and group applications (#852)

* feat: code adjustment

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* fix: SearchLocalMessages no such table

* fix: optimize the freeze caused by too many friends and group applications

* fix: GetConversationIDBySessionType returns a string with escape characters.

Signed-off-by: Gordon <[email protected]>

* fix: modify the historical message retrieval interface to address the message gap problem caused by server crashes or redis seq cache expired.

Signed-off-by: Gordon <[email protected]>

---------

Signed-off-by: Gordon <[email protected]>
Co-authored-by: chao <[email protected]>
FGadvancer added a commit that referenced this pull request Feb 25, 2025
… && fix: GetConversationIDBySessionType returns a string with escape characters. (#853)

* fix: refine exception message handling to prevent duplicate messages in clients with poor network conditions.

Signed-off-by: Gordon <[email protected]>

* fix: primary key conflicts caused by empty messages occupying seq due to sequence gaps.

Signed-off-by: Gordon <[email protected]>

* fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same.

Signed-off-by: Gordon <[email protected]>

* fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same.

Signed-off-by: Gordon <[email protected]>

* fix: add random prefix to remove duplicate messages.

Signed-off-by: Gordon <[email protected]>

* style: update start message id.

Signed-off-by: Gordon <[email protected]>

* optimize the freeze caused by too many friends and group applications (#852)

* feat: code adjustment

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* fix: SearchLocalMessages no such table

* fix: optimize the freeze caused by too many friends and group applications

* fix: GetConversationIDBySessionType returns a string with escape characters.

Signed-off-by: Gordon <[email protected]>

---------

Signed-off-by: Gordon <[email protected]>
Co-authored-by: chao <[email protected]>
FGadvancer added a commit that referenced this pull request Feb 25, 2025
… message gap problem caused by server crashes or redis seq cache expired. (#857)

* fix: refine exception message handling to prevent duplicate messages in clients with poor network conditions.

Signed-off-by: Gordon <[email protected]>

* fix: primary key conflicts caused by empty messages occupying seq due to sequence gaps.

Signed-off-by: Gordon <[email protected]>

* fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same.

Signed-off-by: Gordon <[email protected]>

* fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same.

Signed-off-by: Gordon <[email protected]>

* fix: add random prefix to remove duplicate messages.

Signed-off-by: Gordon <[email protected]>

* style: update start message id.

Signed-off-by: Gordon <[email protected]>

* optimize the freeze caused by too many friends and group applications (#852)

* feat: code adjustment

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* feat: Cmd2Value carry caller

* fix: SearchLocalMessages no such table

* fix: optimize the freeze caused by too many friends and group applications

* fix: GetConversationIDBySessionType returns a string with escape characters.

Signed-off-by: Gordon <[email protected]>

* fix: modify the historical message retrieval interface to address the message gap problem caused by server crashes or redis seq cache expired.

Signed-off-by: Gordon <[email protected]>

---------

Signed-off-by: Gordon <[email protected]>
Co-authored-by: chao <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-picked size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Other]: optimize the freeze caused by too many friends and group applications
3 participants