douyu / juno Goto Github PK
View Code? Open in Web Editor NEWJuno 译名朱诺。这个名字来源于古罗马神话中的众神之母。它是斗鱼的微服务管理系统, 如同众神之母一样守护着所有微服务的系统。
Home Page: http://jupiterconsole.douyu.com/
License: Apache License 2.0
Juno 译名朱诺。这个名字来源于古罗马神话中的众神之母。它是斗鱼的微服务管理系统, 如同众神之母一样守护着所有微服务的系统。
Home Page: http://jupiterconsole.douyu.com/
License: Apache License 2.0
刚刚部署的juno,已经成功跑起来了,但是无法登录后台服务,admin貌似没有初始化进sql,能否告知怎样初始化admin账号
① Juno先通过手动选择一组agent编排为一组,这个编排信息通过心跳的方式发送到agent。
② agent获取组信息,以此作为etcd锁的prefix。同时agent watch etcd组信息前缀,等待任务发布;
③ Juno以组信息为前缀Key创建job信息,push到etcd上。
④ agent接受到event,编排任务,等待执行时间到达,组内agent进行抢锁操作,开始执行;
以上是现在考虑的方案,大家有好的建议或者更改,可以一起来讨论下。
管理平台,docker 安装方式: wget https://github.com/douyu/juno/releases/download/v0.0.1/docker.zip。 这个url返回404吧
RT
1 我感觉你们里面 内置的 gin,echo, iris 等内置默认一个集中优化一个就行了。 juno, 和 jupiter 有些代码都没试完,go mod tidy 都没做,就推到了matser 分支, 跑起来有bug,要调试。 用gin的占多数, 用echo 可打个集成echo 的分支。 这样能 大家都统一,给大众用的。减少新人跑不通提issues。 还要维护两份代码和example。
加载用户组列表失败: Error 1055: Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'juno.casbin_policy_group.id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
[2020-06-09 14:24:49] Error 1051: Unknown table 'juno.app'
create table ok
juno/cmd/install/main.go
105行 gormdb.DropTable(models...)
可以修改为 gormdb.DropTableIfExists(models...)
应用信息里没有容器实例
Docker安装后,账号:admin 密码:admin登录后台,提示账号名或密码错误
我在网上看到类似于grpcurl一类的库可以直接动态构建grpc调用,不需要依赖于proto文件。请问juno为什么不使用动态调用的方式呢?是动态调用性能有问题吗?
Juno quickstart.md上,运行make install
,出错:
make: *** No rule to make target 'install'. Stop.
make run
go run cmd/main.go --config=config/config.toml
stat cmd/main.go: no such file or directory
Makefile:102: recipe for target 'run' failed
make: *** [run] Error 1
docker指令也不可用
在查询etcd注册节点的时候,前端展示节点个数异常,没有滚动下滑,也没有分页。
希望加个juno + jupter 全套的docker-compose file, 一键测试部署,方便开发者试用
唉,能不能把安装搞简单点,各种方式都试了,还看了下Dockerfile,也没装成功,
go的项目一般binary加几个参数或者docker run加参数就跑起来了,juno怎么这么难呢
在该http://{ip:port}/resource/zone/list页面上面操作删除节点
控制台报错
Refused to execute script from 'http://172.17.22.140:50000/ant/home.png' because its MIME type ('image/png') is not executable.
umi.24877047.js:1 Uncaught ReferenceError: reqDelete is not defined
at onOk (p__resource__zone__list.fb559bd0.async.js:1)
at l (p__app.aac82035.async.js:1)
at Q (umi.24877047.js:1)
at Object.c (umi.24877047.js:1)
at p (umi.24877047.js:1)
at h (umi.24877047.js:1)
at y (umi.24877047.js:1)
at pt (umi.24877047.js:1)
at ft (umi.24877047.js:1)
at ht (umi.24877047.js:1)
Line 330 in f9c07d4
The routing address in this routing file, sometimes uppercase, sometimes lowercase, can it be unified and standardized? There is also a lot of routing addresses that do not comply with the restful API specifications. Can this be improved?
我通过juno-install搭建了juno的后台管理界面,但是我并不清楚这块怎么跟jupiter结合使用,相关的文档看着雾里云烟的,能不能给个全家桶能体验相关的jupiter和juno的功能,另外关于服务链路跟踪和服务指标收集能不能有方式可以单独接入jaeger和prometheus的?
⇨ http server started on [::]:50002
1594441381 INFO access {"mod": "server.echo", "cost": 0.0043871, "method": "GET", "code": 302, "host": "127.0.0.1:50002"}
1594441365 INFO client mysql start {"mod": "gorm", "addr": "mysql:3306", "name": "juno"}
runtime: goroutine stack exceeds 1000000000-byte limit
runtime: sp=0xc020886370 stack=[0xc020886000, 0xc040886000]
fatal error: stack overflow
runtime stack:
runtime.throw(0x127aec2, 0xe)
/home/usr/go/src/runtime/panic.go:1116 +0x72
runtime.newstack()
/home/usr/go/src/runtime/stack.go:1034 +0x6ce
runtime.morestack()
/home/usr/go/src/runtime/asm_amd64.s:449 +0x8f
goroutine 108 [running]:
syscall.ByteSliceFromString(0x1277bc1, 0xb, 0x40c8c6, 0x0, 0x0, 0x0, 0x0)
/home/usr/go/src/syscall/syscall.go:47 +0x102 fp=0xc020886380 sp=0xc020886378 pc=0x47af82
syscall.BytePtrFromString(...)
/home/usr/go/src/syscall/syscall.go:69
syscall.openat(0xffffffffffffff9c, 0x1277bc1, 0xb, 0x80000, 0xc000000000, 0x43ed2f, 0xc000049000, 0xc020886470)
/home/usr/go/src/syscall/zsyscall_linux_amd64.go:64 +0x3f fp=0xc020886400 sp=0xc020886380 pc=0x47d7ff
syscall.Open(...)
/home/usr/go/src/syscall/syscall_linux.go:138
os.openFileNolog(0x1277bc1, 0xb, 0x0, 0x200000000, 0xc00029d980, 0x30, 0x30)
/home/usr/go/src/os/file_unix.go:200 +0x8f fp=0xc020886460 sp=0xc020886400 pc=0x4f4d0f
os.OpenFile(0x1277bc1, 0xb, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/usr/go/src/os/file.go:307 +0x63 fp=0xc0208864a8 sp=0xc020886460 pc=0x4f2e43
os.Open(...)
/home/usr/go/src/os/file.go:287
github.com/labstack/echo/v4.(*context).File(0xc00039b9a0, 0x1277bc1, 0xb, 0x0, 0x0)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/context.go:548 +0x81 fp=0xc020886590 sp=0xc0208864a8 pc=0x7c3711
github.com/douyu/juno/internal/app/adminengine.apiAdmin.func1(0x147da00, 0xc00039b9a0, 0x0, 0x0)
/home/www/server/github/douyu/juno/internal/app/adminengine/router_admin.go:73 +0x116 fp=0xc0208865d0 sp=0xc020886590 pc=0xfaf2d6
github.com/labstack/echo/v4.(*context).File(0xc00039b9a0, 0x1277bc1, 0xb, 0x143e200, 0xc0063f3c20)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/context.go:550 +0x43a fp=0xc0208866b8 sp=0xc0208865d0 pc=0x7c3aca
github.com/douyu/juno/internal/app/adminengine.apiAdmin.func1(0x147da00, 0xc00039b9a0, 0x0, 0x0)
/home/www/server/github/douyu/juno/internal/app/adminengine/router_admin.go:73 +0x116 fp=0xc0208866f8 sp=0xc0208866b8 pc=0xfaf2d6
github.com/labstack/echo/v4.(*context).File(0xc00039b9a0, 0x1277bc1, 0xb, 0x143e200, 0xc0063f3bf0)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/context.go:550 +0x43a fp=0xc0208867e0 sp=0xc0208866f8 pc=0x7c3aca
github.com/douyu/juno/internal/app/adminengine.apiAdmin.func1(0x147da00, 0xc00039b9a0, 0x0, 0x0)
/home/www/server/github/douyu/juno/internal/app/adminengine/router_admin.go:73 +0x116 fp=0xc020886820 sp=0xc0208867e0 pc=0xfaf2d6
github.com/labstack/echo/v4.(*context).File(0xc00039b9a0, 0x1277bc1, 0xb, 0x143e200, 0xc0063f3bc0)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/context.go:550 +0x43a fp=0xc020886908 sp=0xc020886820 pc=0x7c3aca
github.com/douyu/juno/internal/app/adminengine.apiAdmin.func1(0x147da00, 0xc00039b9a0, 0x0, 0x0)
/home/www/server/github/douyu/juno/internal/app/adminengine/router_admin.go:73 +0x116 fp=0xc020886948 sp=0xc020886908 pc=0xfaf2d6
github.com/labstack/echo/v4.(*context).File(0xc00039b9a0, 0x1277bc1, 0xb, 0x143e200, 0xc0063f3b90)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/context.go:550 +0x43a fp=0xc020886a30 sp=0xc020886948 pc=0x7c3aca
github.com/douyu/juno/internal/app/adminengine.apiAdmin.func1(0x147da00, 0xc00039b9a0, 0x0, 0x0)
/home/www/server/github/douyu/juno/internal/app/adminengine/router_admin.go:73 +0x116 fp=0xc020886a70 sp=0xc020886a30 pc=0xfaf2d6
github.com/labstack/echo/v4.(*context).File(0xc00039b9a0, 0x1277bc1, 0xb, 0x143e200, 0xc0063f3b60)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/context.go:550 +0x43a fp=0xc020886b58 sp=0xc020886a70 pc=0x7c3aca
github.com/douyu/juno/internal/app/adminengine.apiAdmin.func1(0x147da00, 0xc00039b9a0, 0x0, 0x0)
/home/www/server/github/douyu/juno/internal/app/adminengine/router_admin.go:73 +0x116 fp=0xc020886b98 sp=0xc020886b58 pc=0xfaf2d6
github.com/labstack/echo/v4.(*context).File(0xc00039b9a0, 0x1277bc1, 0xb, 0x143e200, 0xc0063f3b30)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/context.go:550 +0x43a fp=0xc020886c80 sp=0xc020886b98 pc=0x7c3aca
github.com/douyu/juno/internal/app/adminengine.apiAdmin.func1(0x147da00, 0xc00039b9a0, 0x0, 0x0)
/home/www/server/github/douyu/juno/internal/app/adminengine/router_admin.go:73 +0x116 fp=0xc020886cc0 sp=0xc020886c80 pc=0xfaf2d6
github.com/labstack/echo/v4.(*context).File(0xc00039b9a0, 0x1277bc1, 0xb, 0x143e200, 0xc0063f3b00)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/context.go:550 +0x43a fp=0xc020886da8 sp=0xc020886cc0 pc=0x7c3aca
github.com/douyu/juno/internal/app/adminengine.apiAdmin.func1(0x147da00, 0xc00039b9a0, 0x0, 0x0)
/home/www/server/github/douyu/juno/internal/app/adminengine/router_admin.go:73 +0x116 fp=0xc020886de8 sp=0xc020886da8 pc=0xfaf2d6
github.com/labstack/echo/v4.(*context).File(0xc00039b9a0, 0x1277bc1, 0xb, 0x143e200, 0xc0063f3ad0)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/context.go:550 +0x43a fp=0xc020886ed0 sp=0xc020886de8 pc=0x7c3aca
github.com/douyu/juno/internal/app/adminengine.apiAdmin.func1(0x147da00, 0xc00039b9a0, 0x0, 0x0)
/home/www/server/github/douyu/juno/internal/app/adminengine/router_admin.go:73 +0x116 fp=0xc020886f10 sp=0xc020886ed0 pc=0xfaf2d6
github.com/labstack/echo/v4.(*context).File(0xc00039b9a0, 0x1277bc1, 0xb, 0x143e200, 0xc0063f3aa0)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/context.go:550 +0x43a fp=0xc020886ff8 sp=0xc020886f10 pc=0x7c3aca
github.com/douyu/juno/internal/app/adminengine.apiAdmin.func1(0x147da00, 0xc00039b9a0, 0x0, 0x0)
/home/www/server/github/douyu/juno/internal/app/adminengine/router_admin.go:73 +0x116 fp=0xc020887038 sp=0xc020886ff8 pc=0xfaf2d6
github.com/labstack/echo/v4.(*context).File(0xc00039b9a0, 0x1277bc1, 0xb, 0x143e200, 0xc0063f3a70)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/context.go:550 +0x43a fp=0xc020887120 sp=0xc020887038 pc=0x7c3aca
github.com/douyu/juno/internal/app/adminengine.apiAdmin.func1(0x147da00, 0xc00039b9a0, 0x0, 0x0)
/home/www/server/github/douyu/juno/internal/app/adminengine/router_admin.go:73 +0x116 fp=0xc020887160 sp=0xc020887120 pc=0xfaf2d6
github.com/labstack/echo/v4.(*context).File(0xc00039b9a0, 0x1277bc1, 0xb, 0x143e200, 0xc0063f3a40)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/context.go:550 +0x43a fp=0xc020887248 sp=0xc020887160 pc=0x7c3aca
github.com/douyu/juno/internal/app/adminengine.apiAdmin.func1(0x147da00, 0xc00039b9a0, 0x0, 0x0)
/home/www/server/github/douyu/juno/internal/app/adminengine/router_admin.go:73 +0x116 fp=0xc020887288 sp=0xc020887248 pc=0xfaf2d6
github.com/labstack/echo/v4.(*context).File(0xc00039b9a0, 0x1277bc1, 0xb, 0x143e200, 0xc0063f3a10)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/context.go:550 +0x43a fp=0xc020887370 sp=0xc020887288 pc=0x7c3aca
github.com/douyu/juno/internal/app/adminengine.apiAdmin.func1(0x147da00, 0xc00039b9a0, 0x0, 0x0)
/home/www/server/github/douyu/juno/internal/app/adminengine/router_admin.go:73 +0x116 fp=0xc0208873b0 sp=0xc020887370 pc=0xfaf2d6
github.com/labstack/echo/v4.(*context).File(0xc00039b9a0, 0x1277bc1, 0xb, 0x143e200, 0xc0063f39e0)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/context.go:550 +0x43a fp=0xc020887498 sp=0xc0208873b0 pc=0x7c3aca
github.com/douyu/juno/internal/app/adminengine.apiAdmin.func1(0x147da00, 0xc00039b9a0, 0x0, 0x0)
/home/www/server/github/douyu/juno/internal/app/adminengine/router_admin.go:73 +0x116 fp=0xc0208874d8 sp=0xc020887498 pc=0xfaf2d6
github.com/labstack/echo/v4.(*context).File(0xc00039b9a0, 0x1277bc1, 0xb, 0x143e200, 0xc0063f39b0)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/context.go:550 +0x43a fp=0xc0208875c0 sp=0xc0208874d8 pc=0x7c3aca
github.com/douyu/juno/internal/app/adminengine.apiAdmin.func1(0x147da00, 0xc00039b9a0, 0x0, 0x0)
/home/www/server/github/douyu/juno/internal/app/adminengine/router_admin.go:73 +0x116 fp=0xc020887600 sp=0xc0208875c0 pc=0xfaf2d6
github.com/labstack/echo/v4.(*context).File(0xc00039b9a0, 0x1277bc1, 0xb, 0x143e200, 0xc0063f3980)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/context.go:550 +0x43a fp=0xc0208876e8 sp=0xc020887600 pc=0x7c3aca
github.com/douyu/juno/internal/app/adminengine.apiAdmin.func1(0x147da00, 0xc00039b9a0, 0x0, 0x0)
/home/www/server/github/douyu/juno/internal/app/adminengine/router_admin.go:73 +0x116 fp=0xc020887728 sp=0xc0208876e8 pc=0xfaf2d6
github.com/labstack/echo/v4.(*context).File(0xc00039b9a0, 0x1277bc1, 0xb, 0x143e200, 0xc0063f3950)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/context.go:550 +0x43a fp=0xc020887810 sp=0xc020887728 pc=0x7c3aca
github.com/douyu/juno/internal/app/adminengine.apiAdmin.func1(0x147da00, 0xc00039b9a0, 0x0, 0x0)
/home/www/server/github/douyu/juno/internal/app/adminengine/router_admin.go:73 +0x116 fp=0xc020887850 sp=0xc020887810 pc=0xfaf2d6
github.com/labstack/echo/v4.(*context).File(0xc00039b9a0, 0x1277bc1, 0xb, 0x143e200, 0xc0063f3920)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/context.go:550 +0x43a fp=0xc020887938 sp=0xc020887850 pc=0x7c3aca
github.com/douyu/juno/internal/app/adminengine.apiAdmin.func1(0x147da00, 0xc00039b9a0, 0x0, 0x0)
/home/www/server/github/douyu/juno/internal/app/adminengine/router_admin.go:73 +0x116 fp=0xc020887978 sp=0xc020887938 pc=0xfaf2d6
github.com/labstack/echo/v4.(*context).File(0xc00039b9a0, 0x1277bc1, 0xb, 0x143e200, 0xc0063f38f0)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/context.go:550 +0x43a fp=0xc020887a60 sp=0xc020887978 pc=0x7c3aca
github.com/douyu/juno/internal/app/adminengine.apiAdmin.func1(0x147da00, 0xc00039b9a0, 0x0, 0x0)
/home/www/server/github/douyu/juno/internal/app/adminengine/router_admin.go:73 +0x116 fp=0xc020887aa0 sp=0xc020887a60 pc=0xfaf2d6
github.com/labstack/echo/v4.(*context).File(0xc00039b9a0, 0x1277bc1, 0xb, 0x143e200, 0xc0063f38c0)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/context.go:550 +0x43a fp=0xc020887b88 sp=0xc020887aa0 pc=0x7c3aca
github.com/douyu/juno/internal/app/adminengine.apiAdmin.func1(0x147da00, 0xc00039b9a0, 0x0, 0x0)
/home/www/server/github/douyu/juno/internal/app/adminengine/router_admin.go:73 +0x116 fp=0xc020887bc8 sp=0xc020887b88 pc=0xfaf2d6
github.com/labstack/echo/v4.(*context).File(0xc00039b9a0, 0x1277bc1, 0xb, 0x143e200, 0xc0063f3890)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/context.go:550 +0x43a fp=0xc020887cb0 sp=0xc020887bc8 pc=0x7c3aca
github.com/douyu/juno/internal/app/adminengine.apiAdmin.func1(0x147da00, 0xc00039b9a0, 0x0, 0x0)
/home/www/server/github/douyu/juno/internal/app/adminengine/router_admin.go:73 +0x116 fp=0xc020887cf0 sp=0xc020887cb0 pc=0xfaf2d6
github.com/labstack/echo/v4.(*context).File(0xc00039b9a0, 0x1277bc1, 0xb, 0x143e200, 0xc0063f3860)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/context.go:550 +0x43a fp=0xc020887dd8 sp=0xc020887cf0 pc=0x7c3aca
github.com/douyu/juno/internal/app/adminengine.apiAdmin.func1(0x147da00, 0xc00039b9a0, 0x0, 0x0)
/home/www/server/github/douyu/juno/internal/app/adminengine/router_admin.go:73 +0x116 fp=0xc020887e18 sp=0xc020887dd8 pc=0xfaf2d6
github.com/labstack/echo/v4.(*context).File(0xc00039b9a0, 0x1277bc1, 0xb, 0x143e200, 0xc0063f3830)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/context.go:550 +0x43a fp=0xc020887f00 sp=0xc020887e18 pc=0x7c3aca
github.com/douyu/juno/internal/app/adminengine.apiAdmin.func1(0x147da00, 0xc00039b9a0, 0x0, 0x0)
/home/www/server/github/douyu/juno/internal/app/adminengine/router_admin.go:73 +0x116 fp=0xc020887f40 sp=0xc020887f00 pc=0xfaf2d6
github.com/labstack/echo/v4.(*context).File(0xc00039b9a0, 0x1277bc1, 0xb, 0x143e200, 0xc0063f3800)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/context.go:550 +0x43a fp=0xc020888028 sp=0xc020887f40 pc=0x7c3aca
github.com/douyu/juno/internal/app/adminengine.apiAdmin.func1(0x147da00, 0xc00039b9a0, 0x0, 0x0)
/home/www/server/github/douyu/juno/internal/app/adminengine/router_admin.go:73 +0x116 fp=0xc020888068 sp=0xc020888028 pc=0xfaf2d6
github.com/labstack/echo/v4.(*context).File(0xc00039b9a0, 0x1277bc1, 0xb, 0x143e200, 0xc0063f37d0)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/context.go:550 +0x43a fp=0xc020888150 sp=0xc020888068 pc=0x7c3aca
github.com/douyu/juno/internal/app/adminengine.apiAdmin.func1(0x147da00, 0xc00039b9a0, 0x0, 0x0)
/home/www/server/github/douyu/juno/internal/app/adminengine/router_admin.go:73 +0x116 fp=0xc020888190 sp=0xc020888150 pc=0xfaf2d6
github.com/labstack/echo/v4.(*context).File(0xc00039b9a0, 0x1277bc1, 0xb, 0x143e200, 0xc0063f37a0)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/context.go:550 +0x43a fp=0xc020888278 sp=0xc020888190 pc=0x7c3aca
github.com/douyu/juno/internal/app/adminengine.apiAdmin.func1(0x147da00, 0xc00039b9a0, 0x0, 0x0)
/home/www/server/github/douyu/juno/internal/app/adminengine/router_admin.go:73 +0x116 fp=0xc0208882b8 sp=0xc020888278 pc=0xfaf2d6
github.com/labstack/echo/v4.(*context).File(0xc00039b9a0, 0x1277bc1, 0xb, 0x143e200, 0xc0063f3770)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/context.go:550 +0x43a fp=0xc0208883a0 sp=0xc0208882b8 pc=0x7c3aca
github.com/douyu/juno/internal/app/adminengine.apiAdmin.func1(0x147da00, 0xc00039b9a0, 0x0, 0x0)
/home/www/server/github/douyu/juno/internal/app/adminengine/router_admin.go:73 +0x116 fp=0xc0208883e0 sp=0xc0208883a0 pc=0xfaf2d6
github.com/labstack/echo/v4.(*context).File(0xc00039b9a0, 0x1277bc1, 0xb, 0x143e200, 0xc0063f3740)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/context.go:550 +0x43a fp=0xc0208884c8 sp=0xc0208883e0 pc=0x7c3aca
github.com/douyu/juno/internal/app/adminengine.apiAdmin.func1(0x147da00, 0xc00039b9a0, 0x0, 0x0)
/home/www/server/github/douyu/juno/internal/app/adminengine/router_admin.go:73 +0x116 fp=0xc020888508 sp=0xc0208884c8 pc=0xfaf2d6
github.com/labstack/echo/v4.(*context).File(0xc00039b9a0, 0x1277bc1, 0xb, 0x143e200, 0xc0063f3710)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/context.go:550 +0x43a fp=0xc0208885f0 sp=0xc020888508 pc=0x7c3aca
github.com/douyu/juno/internal/app/adminengine.apiAdmin.func1(0x147da00, 0xc00039b9a0, 0x0, 0x0)
/home/www/server/github/douyu/juno/internal/app/adminengine/router_admin.go:73 +0x116 fp=0xc020888630 sp=0xc0208885f0 pc=0xfaf2d6
github.com/labstack/echo/v4.(*context).File(0xc00039b9a0, 0x1277bc1, 0xb, 0x143e200, 0xc0063f36e0)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/context.go:550 +0x43a fp=0xc020888718 sp=0xc020888630 pc=0x7c3aca
github.com/douyu/juno/internal/app/adminengine.apiAdmin.func1(0x147da00, 0xc00039b9a0, 0x0, 0x0)
/home/www/server/github/douyu/juno/internal/app/adminengine/router_admin.go:73 +0x116 fp=0xc020888758 sp=0xc020888718 pc=0xfaf2d6
github.com/labstack/echo/v4.(*context).File(0xc00039b9a0, 0x1277bc1, 0xb, 0x143e200, 0xc0063f36b0)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/context.go:550 +0x43a fp=0xc020888840 sp=0xc020888758 pc=0x7c3aca
github.com/douyu/juno/internal/app/adminengine.apiAdmin.func1(0x147da00, 0xc00039b9a0, 0x0, 0x0)
/home/www/server/github/douyu/juno/internal/app/adminengine/router_admin.go:73 +0x116 fp=0xc020888880 sp=0xc020888840 pc=0xfaf2d6
github.com/labstack/echo/v4.(*context).File(0xc00039b9a0, 0x1277bc1, 0xb, 0x143e200, 0xc0063f3680)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/context.go:550 +0x43a fp=0xc020888968 sp=0xc020888880 pc=0x7c3aca
github.com/douyu/juno/internal/app/adminengine.apiAdmin.func1(0x147da00, 0xc00039b9a0, 0x0, 0x0)
/home/www/server/github/douyu/juno/internal/app/adminengine/router_admin.go:73 +0x116 fp=0xc0208889a8 sp=0xc020888968 pc=0xfaf2d6
github.com/labstack/echo/v4.(*context).File(0xc00039b9a0, 0x1277bc1, 0xb, 0x143e200, 0xc0063f3650)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/context.go:550 +0x43a fp=0xc020888a90 sp=0xc0208889a8 pc=0x7c3aca
github.com/douyu/juno/internal/app/adminengine.apiAdmin.func1(0x147da00, 0xc00039b9a0, 0x0, 0x0)
/home/www/server/github/douyu/juno/internal/app/adminengine/router_admin.go:73 +0x116 fp=0xc020888ad0 sp=0xc020888a90 pc=0xfaf2d6
github.com/labstack/echo/v4.(*context).File(0xc00039b9a0, 0x1277bc1, 0xb, 0x143e200, 0xc0063f3620)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/context.go:550 +0x43a fp=0xc020888bb8 sp=0xc020888ad0 pc=0x7c3aca
github.com/douyu/juno/internal/app/adminengine.apiAdmin.func1(0x147da00, 0xc00039b9a0, 0x0, 0x0)
/home/www/server/github/douyu/juno/internal/app/adminengine/router_admin.go:73 +0x116 fp=0xc020888bf8 sp=0xc020888bb8 pc=0xfaf2d6
github.com/labstack/echo/v4.(*context).File(0xc00039b9a0, 0x1277bc1, 0xb, 0x143e200, 0xc0063f35f0)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/context.go:550 +0x43a fp=0xc020888ce0 sp=0xc020888bf8 pc=0x7c3aca
github.com/douyu/juno/internal/app/adminengine.apiAdmin.func1(0x147da00, 0xc00039b9a0, 0x0, 0x0)
/home/www/server/github/douyu/juno/internal/app/adminengine/router_admin.go:73 +0x116 fp=0xc020888d20 sp=0xc020888ce0 pc=0xfaf2d6
github.com/labstack/echo/v4.(*context).File(0xc00039b9a0, 0x1277bc1, 0xb, 0x143e200, 0xc0063f35c0)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/context.go:550 +0x43a fp=0xc020888e08 sp=0xc020888d20 pc=0x7c3aca
github.com/douyu/juno/internal/app/adminengine.apiAdmin.func1(0x147da00, 0xc00039b9a0, 0x0, 0x0)
/home/www/server/github/douyu/juno/internal/app/adminengine/router_admin.go:73 +0x116 fp=0xc020888e48 sp=0xc020888e08 pc=0xfaf2d6
github.com/labstack/echo/v4.(*context).File(0xc00039b9a0, 0x1277bc1, 0xb, 0x143e200, 0xc0063f3590)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/context.go:550 +0x43a fp=0xc020888f30 sp=0xc020888e48 pc=0x7c3aca
github.com/douyu/juno/internal/app/adminengine.apiAdmin.func1(0x147da00, 0xc00039b9a0, 0x0, 0x0)
/home/www/server/github/douyu/juno/internal/app/adminengine/router_admin.go:73 +0x116 fp=0xc020888f70 sp=0xc020888f30 pc=0xfaf2d6
github.com/labstack/echo/v4.(*context).File(0xc00039b9a0, 0x1277bc1, 0xb, 0x143e200, 0xc0063f3560)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/context.go:550 +0x43a fp=0xc020889058 sp=0xc020888f70 pc=0x7c3aca
github.com/douyu/juno/internal/app/adminengine.apiAdmin.func1(0x147da00, 0xc00039b9a0, 0x0, 0x0)
/home/www/server/github/douyu/juno/internal/app/adminengine/router_admin.go:73 +0x116 fp=0xc020889098 sp=0xc020889058 pc=0xfaf2d6
github.com/labstack/echo/v4.(*context).File(0xc00039b9a0, 0x1277bc1, 0xb, 0x143e200, 0xc0063f3530)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/context.go:550 +0x43a fp=0xc020889180 sp=0xc020889098 pc=0x7c3aca
github.com/douyu/juno/internal/app/adminengine.apiAdmin.func1(0x147da00, 0xc00039b9a0, 0x0, 0x0)
/home/www/server/github/douyu/juno/internal/app/adminengine/router_admin.go:73 +0x116 fp=0xc0208891c0 sp=0xc020889180 pc=0xfaf2d6
github.com/labstack/echo/v4.(*context).File(0xc00039b9a0, 0x1277bc1, 0xb, 0x143e200, 0xc0063f3500)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/context.go:550 +0x43a fp=0xc0208892a8 sp=0xc0208891c0 pc=0x7c3aca
github.com/douyu/juno/internal/app/adminengine.apiAdmin.func1(0x147da00, 0xc00039b9a0, 0x0, 0x0)
/home/www/server/github/douyu/juno/internal/app/adminengine/router_admin.go:73 +0x116 fp=0xc0208892e8 sp=0xc0208892a8 pc=0xfaf2d6
github.com/labstack/echo/v4.(*context).File(0xc00039b9a0, 0x1277bc1, 0xb, 0x143e200, 0xc0063f34d0)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/context.go:550 +0x43a fp=0xc0208893d0 sp=0xc0208892e8 pc=0x7c3aca
github.com/douyu/juno/internal/app/adminengine.apiAdmin.func1(0x147da00, 0xc00039b9a0, 0x0, 0x0)
/home/www/server/github/douyu/juno/internal/app/adminengine/router_admin.go:73 +0x116 fp=0xc020889410 sp=0xc0208893d0 pc=0xfaf2d6
github.com/labstack/echo/v4.(*context).File(0xc00039b9a0, 0x1277bc1, 0xb, 0x143e200, 0xc0063f34a0)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/context.go:550 +0x43a fp=0xc0208894f8 sp=0xc020889410 pc=0x7c3aca
github.com/douyu/juno/internal/app/adminengine.apiAdmin.func1(0x147da00, 0xc00039b9a0, 0x0, 0x0)
/home/www/server/github/douyu/juno/internal/app/adminengine/router_admin.go:73 +0x116 fp=0xc020889538 sp=0xc0208894f8 pc=0xfaf2d6
github.com/labstack/echo/v4.(*context).File(0xc00039b9a0, 0x1277bc1, 0xb, 0x143e200, 0xc0063f3470)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/context.go:550 +0x43a fp=0xc020889620 sp=0xc020889538 pc=0x7c3aca
github.com/douyu/juno/internal/app/adminengine.apiAdmin.func1(0x147da00, 0xc00039b9a0, 0x0, 0x0)
/home/www/server/github/douyu/juno/internal/app/adminengine/router_admin.go:73 +0x116 fp=0xc020889660 sp=0xc020889620 pc=0xfaf2d6
github.com/labstack/echo/v4.(*context).File(0xc00039b9a0, 0x1277bc1, 0xb, 0x143e200, 0xc0063f3440)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/context.go:550 +0x43a fp=0xc020889748 sp=0xc020889660 pc=0x7c3aca
github.com/douyu/juno/internal/app/adminengine.apiAdmin.func1(0x147da00, 0xc00039b9a0, 0x0, 0x0)
/home/www/server/github/douyu/juno/internal/app/adminengine/router_admin.go:73 +0x116 fp=0xc020889788 sp=0xc020889748 pc=0xfaf2d6
github.com/labstack/echo/v4.(*context).File(0xc00039b9a0, 0x1277bc1, 0xb, 0x143e200, 0xc0063f3410)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/context.go:550 +0x43a fp=0xc020889870 sp=0xc020889788 pc=0x7c3aca
github.com/douyu/juno/internal/app/adminengine.apiAdmin.func1(0x147da00, 0xc00039b9a0, 0x0, 0x0)
/home/www/server/github/douyu/juno/internal/app/adminengine/router_admin.go:73 +0x116 fp=0xc0208898b0 sp=0xc020889870 pc=0xfaf2d6
github.com/labstack/echo/v4.(*context).File(0xc00039b9a0, 0x1277bc1, 0xb, 0x143e200, 0xc0063f33e0)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/context.go:550 +0x43a fp=0xc020889998 sp=0xc0208898b0 pc=0x7c3aca
github.com/douyu/juno/internal/app/adminengine.apiAdmin.func1(0x147da00, 0xc00039b9a0, 0x0, 0x0)
/home/www/server/github/douyu/juno/internal/app/adminengine/router_admin.go:73 +0x116 fp=0xc0208899d8 sp=0xc020889998 pc=0xfaf2d6
github.com/labstack/echo/v4.(*context).File(0xc00039b9a0, 0x1277bc1, 0xb, 0x143e200, 0xc0063f33b0)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/context.go:550 +0x43a fp=0xc020889ac0 sp=0xc0208899d8 pc=0x7c3aca
github.com/douyu/juno/internal/app/adminengine.apiAdmin.func1(0x147da00, 0xc00039b9a0, 0x0, 0x0)
/home/www/server/github/douyu/juno/internal/app/adminengine/router_admin.go:73 +0x116 fp=0xc020889b00 sp=0xc020889ac0 pc=0xfaf2d6
github.com/labstack/echo/v4.(*context).File(0xc00039b9a0, 0x1277bc1, 0xb, 0x143e200, 0xc0063f3380)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/context.go:550 +0x43a fp=0xc020889be8 sp=0xc020889b00 pc=0x7c3aca
github.com/douyu/juno/internal/app/adminengine.apiAdmin.func1(0x147da00, 0xc00039b9a0, 0x0, 0x0)
/home/www/server/github/douyu/juno/internal/app/adminengine/router_admin.go:73 +0x116 fp=0xc020889c28 sp=0xc020889be8 pc=0xfaf2d6
created by net/http.(*Server).Serve
/home/usr/go/src/net/http/server.go:2933 +0x35c
goroutine 1 [semacquire]:
sync.runtime_Semacquire(0xc00016b8d0)
/home/usr/go/src/runtime/sema.go:56 +0x42
sync.(*WaitGroup).Wait(0xc00016b8c8)
/home/usr/go/src/sync/waitgroup.go:130 +0x64
golang.org/x/sync/errgroup.(*Group).Wait(0xc00016b8c0, 0xc00009a430, 0xc000465f48)
/home/www/server/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:40 +0x31
github.com/douyu/jupiter.(*Application).Run(0xc00039a960, 0x0, 0x0)
/home/www/server/go/pkg/mod/github.com/douyu/[email protected]/jupiter.go:168 +0x17e
main.main()
/home/www/server/github/douyu/juno/cmd/juno-admin/main.go:9 +0x31
goroutine 7 [select]:
github.com/douyu/jupiter/pkg/xlog.Buffer.func2(0xc00007e550, 0x144a5c0, 0xc00000cd00, 0x145d680, 0xc0001af280)
/home/www/server/go/pkg/mod/github.com/douyu/[email protected]/pkg/xlog/buffer_syncer.go:73 +0xe0
created by github.com/douyu/jupiter/pkg/xlog.Buffer
/home/www/server/go/pkg/mod/github.com/douyu/[email protected]/pkg/xlog/buffer_syncer.go:71 +0x1d8
goroutine 8 [select]:
github.com/douyu/jupiter/pkg/util/xtime.(*rashTimer).run(0xc0001b4280)
/home/www/server/go/pkg/mod/github.com/douyu/[email protected]/pkg/util/xtime/rash_timer.go:309 +0x108
created by github.com/douyu/jupiter/pkg/util/xtime.NewRashTimer
/home/www/server/go/pkg/mod/github.com/douyu/[email protected]/pkg/util/xtime/rash_timer.go:164 +0x1fb
goroutine 87 [IO wait]:
internal/poll.runtime_pollWait(0x7ff8fea6fca8, 0x72, 0x0)
/home/usr/go/src/runtime/netpoll.go:203 +0x55
internal/poll.(*pollDesc).wait(0xc000236018, 0x72, 0x0, 0x0, 0x12734b6)
/home/usr/go/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/home/usr/go/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Accept(0xc000236000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/usr/go/src/internal/poll/fd_unix.go:384 +0x1d4
net.(*netFD).accept(0xc000236000, 0xc00022bbd0, 0xc000056380, 0x7ff92573ce98)
/home/usr/go/src/net/fd_unix.go:238 +0x42
net.(*TCPListener).accept(0xc000180100, 0xc00022bc10, 0x40d138, 0x30)
/home/usr/go/src/net/tcpsock_posix.go:139 +0x32
net.(*TCPListener).Accept(0xc000180100, 0x11ade40, 0xc000230180, 0x10c0e20, 0x1d56aa0)
/home/usr/go/src/net/tcpsock.go:261 +0x64
net/http.(*Server).Serve(0xc0001b69a0, 0x1458f00, 0xc000180100, 0x0, 0x0)
/home/usr/go/src/net/http/server.go:2901 +0x25d
net/http.(*Server).ListenAndServe(0xc0001b69a0, 0x127aed0, 0xe)
/home/usr/go/src/net/http/server.go:2830 +0xb7
github.com/douyu/jupiter.(*Application).startGovernor(0xc00039a960, 0x0, 0x0)
/home/www/server/go/pkg/mod/github.com/douyu/[email protected]/jupiter.go:236 +0x2b2
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc00016b8c0, 0xc00009a3f0)
/home/www/server/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:57 +0x59
created by golang.org/x/sync/errgroup.(*Group).Go
/home/www/server/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:54 +0x66
goroutine 88 [semacquire]:
sync.runtime_Semacquire(0xc0002cba50)
/home/usr/go/src/runtime/sema.go:56 +0x42
sync.(*WaitGroup).Wait(0xc0002cba48)
/home/usr/go/src/sync/waitgroup.go:130 +0x64
golang.org/x/sync/errgroup.(*Group).Wait(0xc0002cba40, 0xc00000dd20, 0x0)
/home/www/server/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:40 +0x31
github.com/douyu/jupiter.(*Application).startServers(0xc00039a960, 0x0, 0x0)
/home/www/server/go/pkg/mod/github.com/douyu/[email protected]/jupiter.go:259 +0x11c
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc00016b8c0, 0xc00009a400)
/home/www/server/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:57 +0x59
created by golang.org/x/sync/errgroup.(*Group).Go
/home/www/server/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:54 +0x66
goroutine 36 [chan receive (nil chan)]:
github.com/douyu/jupiter/pkg/conf.(*Configuration).LoadFromDataSource.func1(0x1456a00, 0xc00011cf80, 0xc0000749c0, 0x12c9b30)
/home/www/server/go/pkg/mod/github.com/douyu/[email protected]/pkg/conf/conf.go:95 +0x59
created by github.com/douyu/jupiter/pkg/conf.(*Configuration).LoadFromDataSource
/home/www/server/go/pkg/mod/github.com/douyu/[email protected]/pkg/conf/conf.go:94 +0xc3
goroutine 37 [select]:
github.com/douyu/jupiter/pkg/xlog.Buffer.func2(0xc00007f270, 0x144a5c0, 0xc000180e80, 0x145d680, 0xc00042e3c0)
/home/www/server/go/pkg/mod/github.com/douyu/[email protected]/pkg/xlog/buffer_syncer.go:73 +0xe0
created by github.com/douyu/jupiter/pkg/xlog.Buffer
/home/www/server/go/pkg/mod/github.com/douyu/[email protected]/pkg/xlog/buffer_syncer.go:71 +0x1d8
goroutine 38 [select]:
github.com/douyu/jupiter/pkg/xlog.Buffer.func2(0xc00007f950, 0x144a5c0, 0xc000181ee0, 0x145d680, 0xc00042e5c0)
/home/www/server/go/pkg/mod/github.com/douyu/[email protected]/pkg/xlog/buffer_syncer.go:73 +0xe0
created by github.com/douyu/jupiter/pkg/xlog.Buffer
/home/www/server/go/pkg/mod/github.com/douyu/[email protected]/pkg/xlog/buffer_syncer.go:71 +0x1d8
goroutine 39 [select]:
database/sql.(*DB).connectionOpener(0xc000386240, 0x145d680, 0xc00042e640)
/home/usr/go/src/database/sql/sql.go:1052 +0xe8
created by database/sql.OpenDB
/home/usr/go/src/database/sql/sql.go:722 +0x15d
goroutine 40 [select]:
database/sql.(*DB).connectionResetter(0xc000386240, 0x145d680, 0xc00042e640)
/home/usr/go/src/database/sql/sql.go:1065 +0xfb
created by database/sql.OpenDB
/home/usr/go/src/database/sql/sql.go:723 +0x193
goroutine 42 [select]:
github.com/go-sql-driver/mysql.(*mysqlConn).startWatcher.func1(0xc0003e40c0, 0xc000192ea0, 0xc0000a00c0)
/home/www/server/go/pkg/mod/github.com/go-sql-driver/[email protected]/connection.go:621 +0xbf
created by github.com/go-sql-driver/mysql.(*mysqlConn).startWatcher
/home/www/server/go/pkg/mod/github.com/go-sql-driver/[email protected]/connection.go:618 +0xbe
goroutine 43 [select]:
database/sql.(*DB).connectionCleaner(0xc000386240, 0x45d964b800)
/home/usr/go/src/database/sql/sql.go:950 +0x370
created by database/sql.(*DB).startCleanerLocked
/home/usr/go/src/database/sql/sql.go:937 +0xa7
goroutine 44 [chan receive]:
github.com/douyu/juno/internal/pkg/service/appevent.(*appEvent).ConsumeEvent(0xc00028a1e8)
/home/www/server/github/douyu/juno/internal/pkg/service/appevent/appevent.go:38 +0xaa
created by github.com/douyu/juno/internal/pkg/service/appevent.InitAppEvent
/home/www/server/github/douyu/juno/internal/pkg/service/appevent/appevent.go:24 +0x8c
goroutine 45 [sleep]:
time.Sleep(0x6fc23ac00)
/home/usr/go/src/runtime/time.go:188 +0xba
github.com/douyu/juno/internal/pkg/service/grpcgovern.(*GrpcGovern).healthCheckLoop(0xc000384ab0)
/home/www/server/github/douyu/juno/internal/pkg/service/grpcgovern/health.go:49 +0x111
created by github.com/douyu/juno/internal/pkg/service/grpcgovern.InitGrpcGovern
/home/www/server/github/douyu/juno/internal/pkg/service/grpcgovern/grpcgovern.go:54 +0x1ed
goroutine 76 [sleep]:
time.Sleep(0xdf8475800)
/home/usr/go/src/runtime/time.go:188 +0xba
github.com/douyu/juno/internal/pkg/service/clientproxy.(*clientproxy).reload(0xc0003b4990)
/home/www/server/github/douyu/juno/internal/pkg/service/clientproxy/init.go:102 +0x45
created by github.com/douyu/juno/internal/pkg/service/clientproxy.Init
/home/www/server/github/douyu/juno/internal/pkg/service/clientproxy/init.go:36 +0xb0
goroutine 86 [chan receive]:
github.com/douyu/jupiter.hookSignals.func1(0xc000100f60, 0xc00039a960)
/home/www/server/go/pkg/mod/github.com/douyu/[email protected]/signal_posix.go:44 +0x51
created by github.com/douyu/jupiter.hookSignals
/home/www/server/go/pkg/mod/github.com/douyu/[email protected]/signal_posix.go:41 +0x15f
goroutine 103 [syscall]:
os/signal.signal_recv(0x0)
/home/usr/go/src/runtime/sigqueue.go:147 +0x9c
os/signal.loop()
/home/usr/go/src/os/signal/signal_unix.go:23 +0x22
created by os/signal.Notify.func1
/home/usr/go/src/os/signal/signal.go:127 +0x44
goroutine 106 [IO wait]:
internal/poll.runtime_pollWait(0x7ff8fea6fd88, 0x72, 0x0)
/home/usr/go/src/runtime/netpoll.go:203 +0x55
internal/poll.(*pollDesc).wait(0xc000284098, 0x72, 0x0, 0x0, 0x12734b6)
/home/usr/go/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/home/usr/go/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Accept(0xc000284080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/usr/go/src/internal/poll/fd_unix.go:384 +0x1d4
net.(*netFD).accept(0xc000284080, 0xccd1ba5eaaa855e7, 0x0, 0xccd1ba5eaaa855e7)
/home/usr/go/src/net/fd_unix.go:238 +0x42
net.(*TCPListener).accept(0xc00000c1c0, 0x5f093ea5, 0xc0000dd810, 0x48d996)
/home/usr/go/src/net/tcpsock_posix.go:139 +0x32
net.(*TCPListener).Accept(0xc00000c1c0, 0xc0000dd860, 0x18, 0xc00029d500, 0x6f6b6c)
/home/usr/go/src/net/tcpsock.go:261 +0x64
net/http.(*Server).Serve(0xc0001b61c0, 0x1458f00, 0xc00000c1c0, 0x0, 0x0)
/home/usr/go/src/net/http/server.go:2901 +0x25d
github.com/labstack/echo/v4.(*Echo).StartServer(0xc00000a5a0, 0xc0001b61c0, 0x9, 0xc000217400)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/echo.go:714 +0x385
github.com/labstack/echo/v4.(*Echo).Start(...)
/home/www/server/go/pkg/mod/github.com/labstack/echo/[email protected]/echo.go:634
github.com/douyu/jupiter/pkg/server/xecho.(*Server).Serve(0xc00000ca00, 0xc000386840, 0x12702a5)
/home/www/server/go/pkg/mod/github.com/douyu/[email protected]/pkg/server/xecho/server.go:60 +0x3ed
github.com/douyu/jupiter.(*Application).startServers.func1(0x0, 0x0)
/home/www/server/go/pkg/mod/github.com/douyu/[email protected]/jupiter.go:256 +0x833
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc0002cba40, 0xc00000dd20)
/home/www/server/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:57 +0x59
created by golang.org/x/sync/errgroup.(*Group).Go
/home/www/server/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:54 +0x66
goroutine 107 [IO wait]:
internal/poll.runtime_pollWait(0x7ff8fea6fbc8, 0x72, 0xffffffffffffffff)
/home/usr/go/src/runtime/netpoll.go:203 +0x55
internal/poll.(*pollDesc).wait(0xc000217498, 0x72, 0x1000, 0x1000, 0xffffffffffffffff)
/home/usr/go/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/home/usr/go/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000217480, 0xc0000c6000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/home/usr/go/src/internal/poll/fd_unix.go:169 +0x19b
net.(*netFD).Read(0xc000217480, 0xc0000c6000, 0x1000, 0x1000, 0xc000479780, 0xc000296800, 0x6ec063)
/home/usr/go/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc00028b3c0, 0xc0000c6000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/home/usr/go/src/net/net.go:184 +0x8e
net/http.(*connReader).Read(0xc00016bb90, 0xc0000c6000, 0x1000, 0x1000, 0x7ff925745c30, 0x0, 0x203000)
/home/usr/go/src/net/http/server.go:786 +0xf4
bufio.(*Reader).fill(0xc0004ee780)
/home/usr/go/src/bufio/bufio.go:100 +0x103
bufio.(*Reader).ReadSlice(0xc0004ee780, 0xa, 0x7ff925745c30, 0xc0002969c0, 0x40c8c6, 0xc00028e200, 0x100)
/home/usr/go/src/bufio/bufio.go:359 +0x3d
bufio.(*Reader).ReadLine(0xc0004ee780, 0xc0002969c8, 0xc000080000, 0x7ff92573c108, 0x0, 0x40d138, 0x30)
/home/usr/go/src/bufio/bufio.go:388 +0x34
net/textproto.(*Reader).readLineSlice(0xc00016bbf0, 0xc00028e200, 0x0, 0xc000026800, 0x200, 0x0)
/home/usr/go/src/net/textproto/reader.go:58 +0x6c
net/textproto.(*Reader).ReadLine(...)
/home/usr/go/src/net/textproto/reader.go:39
net/http.readRequest(0xc0004ee780, 0x0, 0xc00028e200, 0x0, 0x0)
/home/usr/go/src/net/http/request.go:1015 +0xa4
net/http.(*conn).readRequest(0xc00039b5e0, 0x145d680, 0xc0004796c0, 0x0, 0x0, 0x0)
/home/usr/go/src/net/http/server.go:966 +0x191
net/http.(*conn).serve(0xc00039b5e0, 0x145d680, 0xc0004796c0)
/home/usr/go/src/net/http/server.go:1822 +0x6d4
created by net/http.(*Server).Serve
/home/usr/go/src/net/http/server.go:2933 +0x35c
goroutine 110 [IO wait]:
internal/poll.runtime_pollWait(0x7ff8fea6fae8, 0x72, 0xffffffffffffffff)
/home/usr/go/src/runtime/netpoll.go:203 +0x55
internal/poll.(*pollDesc).wait(0xc000217518, 0x72, 0x0, 0x1, 0xffffffffffffffff)
/home/usr/go/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/home/usr/go/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000217500, 0xc00021a761, 0x1, 0x1, 0x0, 0x0, 0x0)
/home/usr/go/src/internal/poll/fd_unix.go:169 +0x19b
net.(*netFD).Read(0xc000217500, 0xc00021a761, 0x1, 0x1, 0xc0003dac18, 0xc000010768, 0x471d7c)
/home/usr/go/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc00028b3c8, 0xc00021a761, 0x1, 0x1, 0x0, 0x0, 0x0)
/home/usr/go/src/net/net.go:184 +0x8e
net/http.(*connReader).backgroundRead(0xc00021a750)
/home/usr/go/src/net/http/server.go:678 +0x58
created by net/http.(*connReader).startBackgroundRead
/home/usr/go/src/net/http/server.go:674 +0xd0
如题
1 建议前端把核心依赖包,用过external的方式分离出来,主要是为了控制编译包的大小。提升加载体验。
2 应用配置,保存的时候给一个diff的展示,保存起来更放心。
3 可以参考pretty playgroud项目。 service worker的方式来格式化配置。
https://github.com/prettier/prettier/blob/master/website/static/worker.js
prettier-plugin-toml : https://github.com/bd82/toml-tools/tree/master/packages/prettier-plugin-toml
Line 3 in f9c07d4
There is no necessary comment for the code that needs to be exported. I read a lot of your Juno code and found that many of the codes are not standardized. Can you refer to golang-ci to run the code inspection and normalization process, and then rectify your code? Like base, utils, tools, base dir, pkg/library, many code files and directories are not named properly, and there are some projects and component code organizations that are not standardized. Can you refer to https://draveness.me/golang-101/ and https://github.com/uber-go/guide and https://github.com/golang-standards/project-layout for some suggestions? , And then refer to https://github.com/golangci/golangci-lint to improve the code, directory, naming, etc.?
问题:目前使用的是go-toml这个工具库,来格式化配置文件,存在丢注释的情况,而且本身的作者也无心添加这个特性。而且把以前写过的注释解析函数还删除了
讨论
作者的原话:
Currently, the encoding mechanism does not use the position information, and sorts the keys instead. That would need to be changed in order to be able to preserve comments (otherwise multiline comments wouldn't make sense anymore).
解决方案:
使用 prettier直接在前端进行format。 目前prettier是通过插件的方式来支持toml文件的(pritter-plugin-toml)
好处:
把juno网站前端代码贡献出来谢谢。不会写前端。看重的就是前端
http://jupiterconsole.douyu.com/resource/app/create
code=400, message=Unmarshal type error: expected=int, got=string, field=gid, offset=35, internal=json: cannot unmarshal string into Go struct field ReqAppCreate.gid of type int
Welcome to use juno To know who is using it, pls append your org info as follow,
欢迎使用jupiter,首先感谢你的使用,其次您可以参考下面的样例来提供您的信息以收集下使用场景:
* 组织:斗鱼(Required)
* 地点:**武汉(Required)
* 联系方式:[email protected](Optional)
* 场景:内部服务化改造(Required)
再次感谢你的参与!!!
GovernPort方法获取治理端口应该从注册etcd里查
拉取etcd里应用的注册信息时也应该仅从注册etcd里查,现有代码会从两个etcd里查
Line 40 in f9c07d4
The ids here are defined as a global variable. If it is in a project, if the function in this package is called multiple times to process the tree, it is easy to cause pollution of the ids variable. Can the depTree operation and ids be placed As a local variable in the structure. In addition, the naming of this file is very irregular, sometimes uppercase, sometimes lowercase, can you refer to the uber-go guide code specification or the industry go code specification, you can also use the golang-ci tool to do code standardization adjustments to your code What?
在线演示的账号密码不对的
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.