Comments (15)
can you send proxy's log and dashboard's log to me ? thanks
[email protected]
from codis.
ok,已经发送了,日志里时间可能不对,测试机没有调过机器时间
from codis.
looks good in logs, can you reproduce this problem ?
from codis.
i'll check it
from codis.
I excecute this command below:
[root@node3 codis]# bin/codis-config proxy offline proxy_1
2014/12/30 01:42:20 main.go:135: [info] living node created: /zk/codis/db_test/living-codis-config/node3-10874
2014/12/30 01:58:04 proxy.go:167: [info] mark_offline, check proxy status: proxy_1 &{proxy_1 node3:19000 0 mark_offline node3:11000}
2014/12/30 01:58:09 proxy.go:167: [info] mark_offline, check proxy status: proxy_1 &{proxy_1 node3:19000 0 mark_offline node3:11000}
2014/12/30 02:06:11 proxy.go:167: [info] mark_offline, check proxy status: proxy_1 &{proxy_1 node3:19000 0 mark_offline node3:11000}
The comand still runing,no exit.
The status of proxy :
from codis.
please check your zk: /zk/codis/db_test/LOCK , is there any remainig lock?
from codis.
bug confirmed
from codis.
fixed, please checkout the newest version, and execute make again, before starting dashboard.
from codis.
yes,zookeeper has remaind the lock;
[zk: localhost:2181(CONNECTED) 2] ls /zk/codis/db_test/LOCK
[lock-0000000000]
thanks for you fixed.
from codis.
did it work?
from codis.
在dashboard里切换proxy的状态现在是可以的,但是手动执行bin/codis-config proxy offline proxy_1,命令一直没有退出
from codis.
see ls /zk/codis/db_test/LOCK
then get /zk/codis/db_test/LOCK/xxx
from codis.
@wu0407 ping
from codis.
pong !
NOW,the comand is running ok,but proxy exit,in the last version.
[root@node3 codis]# bin/codis-config proxy offline proxy_1
2015/01/09 02:17:59 main.go:135: [info] living node created: /zk/codis/db_test/living-codis-config/node3-22407
2015/01/09 02:17:59 proxy.go:167: [info] mark_offline, check proxy status: proxy_1 zk: node does not exist
2015/01/09 02:17:59 proxy.go:169: [info] shutdown proxy successful
[2]+ Exit 255 bin/codis-proxy -L /tmp/proxy-codis.log --cpu=2 --addr=0.0.0.0:19000 --http-addr=0.0.0.0:11000
from codis.
It's ok. The behaviour of "set proxy offline" is shutdown proxy.
we may need to reconsider the name of "offline"
from codis.
Related Issues (20)
- 发现了一处可能是代码bug HOT 2
- codis 升级go mod HOT 2
- 这个项目为什么不更新了? HOT 2
- 关于集成sentinel HOT 2
- codis3.0 是否支持proxy_max_clients 参数
- 是否支持 pipeline sinter key1 key2 sinter key3 key4
- PHP 程序间歇性连接codis集群报Error: codis pconnect exception : HOT 1
- 删除Group中其中一个slave后 Sentinels报错
- 提一个关于codis+pika部署脚本的pr?
- [feature] Use Helm to manage k8s package instead of yaml
- 请问有推荐的JAVA客户端吗?有一些命令JEDIS无法支持 HOT 1
- proxy的SLOTSINFO实现不对
- 请问Codis做多中心数据如何同步?
- 如何修改默认的1024slots HOT 2
- Auto-Rebalance 时 迁出的master 就会挂掉
- make 报错 /bin/sh: line 0: cd: jemalloc-4.4.0: No such file or directory HOT 1
- 愿意帮助维护 github.com/cloudxaas/codis 吗?
- Codis-proxy Session closed by error: EOF
- codis3.2.2的zookeeper被意外删除了 还有救?
- Codis + DragonflyDB?
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 codis.