You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
如果没有设置redis的持久化,重启后会重复的。 不重复的前提就是通过 redis 记录后续的id,然后通过 redis 的持久化和冗余保障数据不丢失。 韦世东 工程师 人民在线 13005928205 weishidong@peopleyun.cn 签名由 网易邮箱大师 定制 在2020年09月24日 10:46,jackmeng 写道: 重启服务和redis后ID又变为了很短的,不知道会不会重复? 刷了N次接口后,ID 到了 17154319 重启服务和redis后,请求接口,ID为 79511 很显然是从头开始了,虽然有随机,是不是还是有重复的可能呢 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
重启服务和redis后ID又变为了很短的,不知道会不会重复?
刷了N次接口后,ID 到了
17154319
重启服务和redis后,请求接口,ID为
79511
很显然是从头开始了,虽然有随机,是不是还是有重复的可能呢
The text was updated successfully, but these errors were encountered: