-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature: Decoupled type #549
Conversation
@zhenjunMa Please help review this PR |
� Conflicts: � demo/configuration/common/client.go � demo/configuration/etcd/etcd.go � demo/state/redis/client.go
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个改动要考虑兼容问题?如果用户升级了Layotto,但配置文件没变,那是不是加载就出问题,可以做成如果没配置type字段就用原先的作为type名字
这样子我感觉对于存量用户是不是配置文件会比较混乱啊,统一性没有标准。 |
这个问题不能用升级难不难来说,而是我们作为开源项目,要做到向前兼容性。比如我现在引用了layotto,但我升级layotto最新版本,我配置文件并不知道需要更改。然后发上线发现挂掉了。 |
这里其实之前讨论过,主要是考虑到现在 Layotto 还属于相对早一点的阶段,影响范围可控,不想搞那么多兼容代码😜 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
We can merge this PR after v0.4 released. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
现在 quickstart hang住了,因为demo 里传的 storename 是"etcd",但是 json 里的 name被改掉了~需要修复下哈
https://github.com/mosn/layotto/runs/6401619750?check_suite_focus=true
好的,我去看一下 之前好像没有发现这个问题 |
@akkw 要不我直接在你的分支修改、尽快合并吧,我担心再不合并会有各种冲突,要花很多时间修冲突~ |
…ed_type � Conflicts: � sdk/go-sdk/client/lock_test.go
� Conflicts: � demo/sequencer/common/client.go � demo/sequencer/in-memory/client.go � demo/sequencer/mongo/client.go � demo/sequencer/redis/client.go � demo/sequencer/zookeeper/client.go
@mosn/layotto-commiter @mosn/layotto-pmc 这个 PR 先帮忙合并吧,一些遗留小问题不影响功能,我提新的PR修复。正好我要重新跑一遍 linter 检查 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
感谢贡献!!!辛苦了! |
What this PR does:
Which issue(s) this PR fixes:
Fixes #513
Special notes for your reviewer:
Does this PR introduce a user-facing change?: