mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-05-13 07:09:01 +08:00
Merge remote-tracking branch 'origin/v2.3.0release' into v2.3.0release
This commit is contained in:
commit
0e03c5f89e
@ -23,7 +23,7 @@ spec:
|
|||||||
- name: config
|
- name: config
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
env:
|
env:
|
||||||
@ -34,10 +34,10 @@ spec:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-config
|
name: config
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-usualConfig
|
name: usualconfig
|
||||||
strategy: #更新策略
|
strategy: #更新策略
|
||||||
type: RollingUpdate # 滚动更新
|
type: RollingUpdate # 滚动更新
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ spec:
|
|||||||
- name: config
|
- name: config
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
env:
|
env:
|
||||||
@ -35,9 +35,9 @@ spec:
|
|||||||
- name: config
|
- name: config
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-config
|
name: openim-config
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-usualConfig
|
name: usualconfig
|
||||||
strategy: #更新策略
|
strategy: #更新策略
|
||||||
type: RollingUpdate # 滚动更新
|
type: RollingUpdate # 滚动更新
|
||||||
---
|
---
|
||||||
|
@ -23,7 +23,7 @@ spec:
|
|||||||
- name: config
|
- name: config
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
env:
|
env:
|
||||||
@ -34,9 +34,9 @@ spec:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-config
|
name: config
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-usualConfig
|
name: usualconfig
|
||||||
strategy: #更新策略
|
strategy: #更新策略
|
||||||
type: RollingUpdate # 滚动更新
|
type: RollingUpdate # 滚动更新
|
4
deploy_k8s/cache/deployment.yaml
vendored
4
deploy_k8s/cache/deployment.yaml
vendored
@ -23,7 +23,7 @@ spec:
|
|||||||
- name: config
|
- name: config
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
env:
|
env:
|
||||||
@ -35,7 +35,7 @@ spec:
|
|||||||
- name: config
|
- name: config
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-config
|
name: openim-config
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-usualConfig
|
name: openim-usualConfig
|
||||||
strategy: #更新策略
|
strategy: #更新策略
|
||||||
|
@ -23,7 +23,7 @@ spec:
|
|||||||
- name: config
|
- name: config
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
env:
|
env:
|
||||||
@ -34,10 +34,10 @@ spec:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-config
|
name: config
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-usualConfig
|
name: usualconfig
|
||||||
strategy: #更新策略
|
strategy: #更新策略
|
||||||
type: RollingUpdate # 滚动更新
|
type: RollingUpdate # 滚动更新
|
||||||
---
|
---
|
||||||
|
@ -23,7 +23,7 @@ spec:
|
|||||||
- name: config
|
- name: config
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
env:
|
env:
|
||||||
@ -35,10 +35,10 @@ spec:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-config
|
name: config
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-usualConfig
|
name: usualconfig
|
||||||
strategy: #更新策略
|
strategy: #更新策略
|
||||||
type: RollingUpdate # 滚动更新
|
type: RollingUpdate # 滚动更新
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ spec:
|
|||||||
- name: config
|
- name: config
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
env:
|
env:
|
||||||
@ -34,10 +34,10 @@ spec:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-config
|
name: config
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-usualConfig
|
name: usualconfig
|
||||||
strategy: #更新策略
|
strategy: #更新策略
|
||||||
type: RollingUpdate # 滚动更新
|
type: RollingUpdate # 滚动更新
|
||||||
---
|
---
|
||||||
|
@ -23,7 +23,7 @@ spec:
|
|||||||
- name: config
|
- name: config
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
env:
|
env:
|
||||||
@ -34,10 +34,10 @@ spec:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-config
|
name: config
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-usualConfig
|
name: usualconfig
|
||||||
strategy: #更新策略
|
strategy: #更新策略
|
||||||
type: RollingUpdate # 滚动更新
|
type: RollingUpdate # 滚动更新
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ spec:
|
|||||||
- name: config
|
- name: config
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
env:
|
env:
|
||||||
@ -34,9 +34,9 @@ spec:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-config
|
name: config
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-usualConfig
|
name: usualconfig
|
||||||
strategy: #更新策略
|
strategy: #更新策略
|
||||||
type: RollingUpdate # 滚动更新
|
type: RollingUpdate # 滚动更新
|
@ -20,7 +20,7 @@
|
|||||||
2. 在项目根目录通过config/config.yaml
|
2. 在项目根目录通过config/config.yaml
|
||||||
```
|
```
|
||||||
kubectl -n openim create configmap config --from-file=config/config.yaml
|
kubectl -n openim create configmap config --from-file=config/config.yaml
|
||||||
kubectl -n openim create configmap usualConfig --from-file=config/usualConfig.yaml
|
kubectl -n openim create configmap usualconfig --from-file=config/usualConfig.yaml
|
||||||
```
|
```
|
||||||
查看configmap
|
查看configmap
|
||||||
```
|
```
|
||||||
|
@ -23,7 +23,7 @@ spec:
|
|||||||
- name: config
|
- name: config
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
env:
|
env:
|
||||||
@ -34,9 +34,9 @@ spec:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-config
|
name: config
|
||||||
- name: usualConfig
|
- name: usualConfig
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-usualConfig
|
name: usualconfig
|
||||||
strategy: #更新策略
|
strategy: #更新策略
|
||||||
type: RollingUpdate # 滚动更新
|
type: RollingUpdate # 滚动更新
|
@ -26,7 +26,7 @@ spec:
|
|||||||
- name: config
|
- name: config
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
env:
|
env:
|
||||||
@ -37,10 +37,10 @@ spec:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-config
|
name: config
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-usualConfig
|
name: usualconfig
|
||||||
strategy: #更新策略
|
strategy: #更新策略
|
||||||
type: RollingUpdate # 滚动更新
|
type: RollingUpdate # 滚动更新
|
||||||
---
|
---
|
||||||
|
@ -21,7 +21,7 @@ spec:
|
|||||||
- name: config
|
- name: config
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
env:
|
env:
|
||||||
@ -32,9 +32,9 @@ spec:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-config
|
name: config
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-usualConfig
|
name: usualconfig
|
||||||
strategy: #更新策略
|
strategy: #更新策略
|
||||||
type: RollingUpdate # 滚动更新
|
type: RollingUpdate # 滚动更新
|
||||||
|
@ -23,7 +23,7 @@ spec:
|
|||||||
- name: config
|
- name: config
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
env:
|
env:
|
||||||
@ -34,9 +34,9 @@ spec:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-config
|
name: config
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-usualConfig
|
name: usualconfig
|
||||||
strategy: #更新策略
|
strategy: #更新策略
|
||||||
type: RollingUpdate # 滚动更新
|
type: RollingUpdate # 滚动更新
|
@ -23,7 +23,7 @@ spec:
|
|||||||
- name: config
|
- name: config
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
env:
|
env:
|
||||||
@ -34,9 +34,9 @@ spec:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-config
|
name: config
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-usualConfig
|
name: usualconfig
|
||||||
strategy: #更新策略
|
strategy: #更新策略
|
||||||
type: RollingUpdate # 滚动更新
|
type: RollingUpdate # 滚动更新
|
@ -34,9 +34,9 @@ spec:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-config
|
name: config
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-usualConfig
|
name: usualconfig
|
||||||
strategy: #更新策略
|
strategy: #更新策略
|
||||||
type: RollingUpdate # 滚动更新
|
type: RollingUpdate # 滚动更新
|
@ -21,7 +21,7 @@ spec:
|
|||||||
- name: config
|
- name: config
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
mountPath: /Open-IM-Server/config
|
mountPath: /Open-IM-Server/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
env:
|
env:
|
||||||
@ -32,9 +32,9 @@ spec:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-config
|
name: config
|
||||||
- name: usualConfig
|
- name: usualconfig
|
||||||
configMap:
|
configMap:
|
||||||
name: openim-usualConfig
|
name: usualconfig
|
||||||
strategy: #更新策略
|
strategy: #更新策略
|
||||||
type: RollingUpdate # 滚动更新
|
type: RollingUpdate # 滚动更新
|
||||||
|
@ -92,6 +92,7 @@ func (mmc *ModifyMsgConsumerHandler) ModifyMsg(cMsg *sarama.ConsumerMessage, msg
|
|||||||
msg = msgs[0]
|
msg = msgs[0]
|
||||||
index = indexes[msg.Seq]
|
index = indexes[msg.Seq]
|
||||||
}
|
}
|
||||||
|
msg.IsReact = true
|
||||||
if err := db.DB.ReplaceMsgByIndex(notification.SourceID, msg, index); err != nil {
|
if err := db.DB.ReplaceMsgByIndex(notification.SourceID, msg, index); err != nil {
|
||||||
log.NewError(msgDataToMQ.OperationID, "ReplaceMsgByIndex failed", notification.SourceID, *msg)
|
log.NewError(msgDataToMQ.OperationID, "ReplaceMsgByIndex failed", notification.SourceID, *msg)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user