Merge remote-tracking branch 'origin/v2.3.0release' into v2.3.0release

pull/344/head
Gordon 2 years ago
commit 0e03c5f89e

@ -23,7 +23,7 @@ spec:
- name: config
mountPath: /Open-IM-Server/config
readOnly: true
- name: usualConfig
- name: usualconfig
mountPath: /Open-IM-Server/config
readOnly: true
env:
@ -34,10 +34,10 @@ spec:
volumes:
- name: config
configMap:
name: openim-config
- name: usualConfig
name: config
- name: usualconfig
configMap:
name: openim-usualConfig
name: usualconfig
strategy: #更新策略
type: RollingUpdate # 滚动更新

@ -23,7 +23,7 @@ spec:
- name: config
mountPath: /Open-IM-Server/config
readOnly: true
- name: usualConfig
- name: usualconfig
mountPath: /Open-IM-Server/config
readOnly: true
env:
@ -35,9 +35,9 @@ spec:
- name: config
configMap:
name: openim-config
- name: usualConfig
- name: usualconfig
configMap:
name: openim-usualConfig
name: usualconfig
strategy: #更新策略
type: RollingUpdate # 滚动更新
---

@ -23,7 +23,7 @@ spec:
- name: config
mountPath: /Open-IM-Server/config
readOnly: true
- name: usualConfig
- name: usualconfig
mountPath: /Open-IM-Server/config
readOnly: true
env:
@ -34,9 +34,9 @@ spec:
volumes:
- name: config
configMap:
name: openim-config
- name: usualConfig
name: config
- name: usualconfig
configMap:
name: openim-usualConfig
name: usualconfig
strategy: #更新策略
type: RollingUpdate # 滚动更新

@ -23,7 +23,7 @@ spec:
- name: config
mountPath: /Open-IM-Server/config
readOnly: true
- name: usualConfig
- name: usualconfig
mountPath: /Open-IM-Server/config
readOnly: true
env:
@ -35,7 +35,7 @@ spec:
- name: config
configMap:
name: openim-config
- name: usualConfig
- name: usualconfig
configMap:
name: openim-usualConfig
strategy: #更新策略

@ -23,7 +23,7 @@ spec:
- name: config
mountPath: /Open-IM-Server/config
readOnly: true
- name: usualConfig
- name: usualconfig
mountPath: /Open-IM-Server/config
readOnly: true
env:
@ -34,10 +34,10 @@ spec:
volumes:
- name: config
configMap:
name: openim-config
- name: usualConfig
name: config
- name: usualconfig
configMap:
name: openim-usualConfig
name: usualconfig
strategy: #更新策略
type: RollingUpdate # 滚动更新
---

@ -23,7 +23,7 @@ spec:
- name: config
mountPath: /Open-IM-Server/config
readOnly: true
- name: usualConfig
- name: usualconfig
mountPath: /Open-IM-Server/config
readOnly: true
env:
@ -35,10 +35,10 @@ spec:
volumes:
- name: config
configMap:
name: openim-config
- name: usualConfig
name: config
- name: usualconfig
configMap:
name: openim-usualConfig
name: usualconfig
strategy: #更新策略
type: RollingUpdate # 滚动更新

@ -23,7 +23,7 @@ spec:
- name: config
mountPath: /Open-IM-Server/config
readOnly: true
- name: usualConfig
- name: usualconfig
mountPath: /Open-IM-Server/config
readOnly: true
env:
@ -34,10 +34,10 @@ spec:
volumes:
- name: config
configMap:
name: openim-config
- name: usualConfig
name: config
- name: usualconfig
configMap:
name: openim-usualConfig
name: usualconfig
strategy: #更新策略
type: RollingUpdate # 滚动更新
---

@ -23,7 +23,7 @@ spec:
- name: config
mountPath: /Open-IM-Server/config
readOnly: true
- name: usualConfig
- name: usualconfig
mountPath: /Open-IM-Server/config
readOnly: true
env:
@ -34,10 +34,10 @@ spec:
volumes:
- name: config
configMap:
name: openim-config
- name: usualConfig
name: config
- name: usualconfig
configMap:
name: openim-usualConfig
name: usualconfig
strategy: #更新策略
type: RollingUpdate # 滚动更新

@ -23,7 +23,7 @@ spec:
- name: config
mountPath: /Open-IM-Server/config
readOnly: true
- name: usualConfig
- name: usualconfig
mountPath: /Open-IM-Server/config
readOnly: true
env:
@ -34,9 +34,9 @@ spec:
volumes:
- name: config
configMap:
name: openim-config
- name: usualConfig
name: config
- name: usualconfig
configMap:
name: openim-usualConfig
name: usualconfig
strategy: #更新策略
type: RollingUpdate # 滚动更新

@ -20,7 +20,7 @@
2. 在项目根目录通过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
```

@ -23,7 +23,7 @@ spec:
- name: config
mountPath: /Open-IM-Server/config
readOnly: true
- name: usualConfig
- name: usualconfig
mountPath: /Open-IM-Server/config
readOnly: true
env:
@ -34,9 +34,9 @@ spec:
volumes:
- name: config
configMap:
name: openim-config
name: config
- name: usualConfig
configMap:
name: openim-usualConfig
name: usualconfig
strategy: #更新策略
type: RollingUpdate # 滚动更新

@ -26,7 +26,7 @@ spec:
- name: config
mountPath: /Open-IM-Server/config
readOnly: true
- name: usualConfig
- name: usualconfig
mountPath: /Open-IM-Server/config
readOnly: true
env:
@ -37,10 +37,10 @@ spec:
volumes:
- name: config
configMap:
name: openim-config
- name: usualConfig
name: config
- name: usualconfig
configMap:
name: openim-usualConfig
name: usualconfig
strategy: #更新策略
type: RollingUpdate # 滚动更新
---

@ -21,7 +21,7 @@ spec:
- name: config
mountPath: /Open-IM-Server/config
readOnly: true
- name: usualConfig
- name: usualconfig
mountPath: /Open-IM-Server/config
readOnly: true
env:
@ -32,9 +32,9 @@ spec:
volumes:
- name: config
configMap:
name: openim-config
- name: usualConfig
name: config
- name: usualconfig
configMap:
name: openim-usualConfig
name: usualconfig
strategy: #更新策略
type: RollingUpdate # 滚动更新

@ -23,7 +23,7 @@ spec:
- name: config
mountPath: /Open-IM-Server/config
readOnly: true
- name: usualConfig
- name: usualconfig
mountPath: /Open-IM-Server/config
readOnly: true
env:
@ -34,9 +34,9 @@ spec:
volumes:
- name: config
configMap:
name: openim-config
- name: usualConfig
name: config
- name: usualconfig
configMap:
name: openim-usualConfig
name: usualconfig
strategy: #更新策略
type: RollingUpdate # 滚动更新

@ -23,7 +23,7 @@ spec:
- name: config
mountPath: /Open-IM-Server/config
readOnly: true
- name: usualConfig
- name: usualconfig
mountPath: /Open-IM-Server/config
readOnly: true
env:
@ -34,9 +34,9 @@ spec:
volumes:
- name: config
configMap:
name: openim-config
- name: usualConfig
name: config
- name: usualconfig
configMap:
name: openim-usualConfig
name: usualconfig
strategy: #更新策略
type: RollingUpdate # 滚动更新

@ -34,9 +34,9 @@ spec:
volumes:
- name: config
configMap:
name: openim-config
- name: usualConfig
name: config
- name: usualconfig
configMap:
name: openim-usualConfig
name: usualconfig
strategy: #更新策略
type: RollingUpdate # 滚动更新

@ -21,7 +21,7 @@ spec:
- name: config
mountPath: /Open-IM-Server/config
readOnly: true
- name: usualConfig
- name: usualconfig
mountPath: /Open-IM-Server/config
readOnly: true
env:
@ -32,9 +32,9 @@ spec:
volumes:
- name: config
configMap:
name: openim-config
- name: usualConfig
name: config
- name: usualconfig
configMap:
name: openim-usualConfig
name: usualconfig
strategy: #更新策略
type: RollingUpdate # 滚动更新

@ -92,6 +92,7 @@ func (mmc *ModifyMsgConsumerHandler) ModifyMsg(cMsg *sarama.ConsumerMessage, msg
msg = msgs[0]
index = indexes[msg.Seq]
}
msg.IsReact = true
if err := db.DB.ReplaceMsgByIndex(notification.SourceID, msg, index); err != nil {
log.NewError(msgDataToMQ.OperationID, "ReplaceMsgByIndex failed", notification.SourceID, *msg)
}

Loading…
Cancel
Save