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

[BUG] After upgrading to 3.8, previous sessions cannot receive messages. #2490

Closed
bilicast opened this issue Aug 7, 2024 · 8 comments
Closed
Labels
bug Categorizes issue or PR as related to a bug.

Comments

@bilicast
Copy link

bilicast commented Aug 7, 2024

OpenIM Server Version

3.8.0

Operating System and CPU Architecture

Linux (AMD)

Deployment Method

Docker Deployment

Bug Description and Steps to Reproduce

服务端从3.7升级到3.8后, 客户端未升级。以前的会话收不到消息, 新会话能正常工作。

服务端日志:
1723025247224
1723025252063

Screenshots Link

No response

@bilicast bilicast added the bug Categorizes issue or PR as related to a bug. label Aug 7, 2024
@kubbot kubbot changed the title [BUG] 升级到3.8后,以前的会话收不到消息 [BUG] After upgrading to 3.8, previous sessions cannot receive messages. Aug 7, 2024
@kubbot
Copy link
Contributor

kubbot commented Aug 7, 2024

Hello! Thank you for filing an issue.

If this is a bug report, please include relevant logs to help us debug the problem.

Join slack 🤖 to connect and communicate with our developers.

@cipchk
Copy link

cipchk commented Aug 7, 2024

我的情况是哪怕客户端升级也是旧会话也是无法收到消息。

@kubbot
Copy link
Contributor

kubbot commented Aug 7, 2024

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


In my case, even if the client is upgraded and the session is old, the message cannot be received.

@bilicast
Copy link
Author

bilicast commented Aug 7, 2024

我的情况是哪怕客户端升级也是旧会话也是无法收到消息。

@cipchk 同样的问题,你的问题我们也遇到了。

@kubbot
Copy link
Contributor

kubbot commented Aug 7, 2024

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


In my case, even if the client is upgraded and the session is old, the message cannot be received.

@cipchk We have the same problem as yours.

@cipchk
Copy link

cipchk commented Aug 7, 2024

@bilicast 现在如果调用 deleteConversationAndDeleteAllMsg 会导致 hasReadSeq must not be bigger than maxSeq,但是这种情况下很容易产生,比如当我清空 components 以后,而客户端有本地缓存,这就导致用户务必要清除本地数据才会正常。

@FGadvancer
Copy link
Member

When you upgraded, did you encounter the issue shown in the image regarding the seq conversion? Ultimately, was the maximum seq for the conversation successfully converted into the seq collection? or you can take a screenshot regarding the data_version collection.
bdbf11691e3e0a27d5348af8811dcb3
image

@skiffer-git
Copy link
Member

It seems like you've deleted the data in Redis.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

5 participants