Comments (7)
From your logs, you seem don't upgrade turms dockers for more than half a year.
Please upgrade your Turms client SDK and servers to have a try.
from turms.
我们已经使用很久了,现在一直有这种问题,最近很频繁。进行了大量的业务处理,所以不能也不敢升级。。能否帮忙看看? 大佬
from turms.
进行了大量的业务处理,所以不能也不敢升级
btw, that's why I recommend users commit their changes back to Turms if possible in the doc:
about-upstream-first
关于“上游优先”.
现在一直有这种问题,最近很频繁
Your Turms servers seem quite old, and I have fixed tens of bugs including this bug since you posted the issue.
For upgrading (using the latest code on master
branch, or the latest images), I am sure there is no breaking change in the collection schema, which means your data stored in MongoDB collections will still work as usual after upgrading.
But there are some breaking changes in status codes (e.g. code names change), and the proto models,
so:
If you can upgrade both Turms client SDK and servers, you SHOULD upgrade them all together. You should NOT just upgrade one of them.
If you plan to never upgrade Turms, you can try your luck to copy the code under im.turms.server.common.storage.mongo.codec.EntityCodec
to your codebase, but I cannot promise it can fix the bug. And I have no plan to provide support for users who plan to never upgrade because if users plan to not upgrade, they should maintain their code for themselves.
from turms.
from turms.
您说你改过的包含这个bug,那大概改动的哪一块,是否可以具体一点
The class may be im.turms.server.common.storage.mongo.codec.EntityCodec
. After you paste the code, if the bug still exists, you can try to copy all classes under im.turms.server.common.storage.mongo.codec
package.
btw, if you know how to modify the Turms source code, it should be easy for you to apply the changes under im.turms.server.common.storage.mongo.codec
package.
我如果覆盖序列化和反序列化的代码,我需要使用官方的哪个分支进行覆盖?
Use the master
branch, which is a stable branch.
btw, if you have lost all git commits in Turms repo, I suggest you first pull the Turms repo, check out the master
branch, and then just take time and patience to merge your changed code.
It's a good practice to write your tests to ensure your modified code can work as expected so that you don't need to be "afraid" of upgrading Turms.
from turms.
1是现在正在使用的
2是master上的代码
大佬,我发现出现上述问题的错误的代码,都在使用1这个方法,请问下和这个是否有关系?
from turms.
from turms.
Related Issues (20)
- Add a UI component to display admin API endpoints
- Support seaching logs
- Support display/search logs
- Respond with the status of all dependent services (e.g., MongoDB, Redis) in the health-check endpoint
- Allow admin users to have multiple roles HOT 1
- Checklist before updating to 0.11.0 HOT 1
- When it starts, nothing is output and it stops all of a sudden ? HOT 1
- 你好,请问能否提供一个Objective-C的SDK? HOT 1
- CREATE_GROUP_JOIN_REQUEST_REQUEST 疑问 HOT 3
- Add equivalent SQL examples for admin API requests HOT 1
- 添加好友成功的通知 HOT 2
- Provide more built-in admin roles
- Remove `turms-plugin-rasa` once we introduce a plugin for RAG HOT 1
- turms gateway cluster HOT 2
- 求助:拉取镜像启动的时候提示7510端口被占用 HOT 1
- 求助:拉取Turms服务端Docker镜像,并运行后。admin无法登录。
- 求助,mongodb 做配置中心这一块,debug也没有看到 拉取 配置 例如redis的配置。
- Request for Help: Error 503 ... After pulling Docker and running it normally, the URL http://xxxx:6510/cluster/dashboard cannot be accessed(error screenshot inside). I appreciate your help with resolving this issue. HOT 1
- Support encrypting/decrypting local files
- Provide a consistent and convenient `TlsOptions` param to `ConnectionService#connect`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from turms.