Giter Club home page Giter Club logo

Comments (15)

ngaut avatar ngaut commented on August 24, 2024

can you send proxy's log and dashboard's log to me ? thanks
[email protected]

from codis.

wu0407 avatar wu0407 commented on August 24, 2024

ok,已经发送了,日志里时间可能不对,测试机没有调过机器时间

from codis.

ngaut avatar ngaut commented on August 24, 2024

looks good in logs, can you reproduce this problem ?

from codis.

c4pt0r avatar c4pt0r commented on August 24, 2024

i'll check it

from codis.

wu0407 avatar wu0407 commented on August 24, 2024

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 :

20141230093217

from codis.

c4pt0r avatar c4pt0r commented on August 24, 2024

please check your zk: /zk/codis/db_test/LOCK , is there any remainig lock?

from codis.

c4pt0r avatar c4pt0r commented on August 24, 2024

bug confirmed

from codis.

c4pt0r avatar c4pt0r commented on August 24, 2024

fixed, please checkout the newest version, and execute make again, before starting dashboard.

from codis.

wu0407 avatar wu0407 commented on August 24, 2024

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.

c4pt0r avatar c4pt0r commented on August 24, 2024

did it work?

from codis.

wu0407 avatar wu0407 commented on August 24, 2024

在dashboard里切换proxy的状态现在是可以的,但是手动执行bin/codis-config proxy offline proxy_1,命令一直没有退出

from codis.

ngaut avatar ngaut commented on August 24, 2024

see ls /zk/codis/db_test/LOCK
then get /zk/codis/db_test/LOCK/xxx

from codis.

ngaut avatar ngaut commented on August 24, 2024

@wu0407 ping

from codis.

wu0407 avatar wu0407 commented on August 24, 2024

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.

ngaut avatar ngaut commented on August 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.