open-im-server icon indicating copy to clipboard operation
open-im-server copied to clipboard

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

Open bilicast opened this issue 1 year ago • 7 comments

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 avatar Aug 07 '24 10:08 bilicast

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

cipchk avatar Aug 07 '24 10:08 cipchk

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

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

bilicast avatar Aug 07 '24 10:08 bilicast

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

cipchk avatar Aug 07 '24 12:08 cipchk

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

FGadvancer avatar Aug 07 '24 13:08 FGadvancer

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

skiffer-git avatar Sep 29 '24 06:09 skiffer-git