Skip to content
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

Setting same rack name in different datacenter get SIGNAL 11 #142

Closed
wuyicang opened this issue Jul 21, 2015 · 2 comments
Closed

Setting same rack name in different datacenter get SIGNAL 11 #142

wuyicang opened this issue Jul 21, 2015 · 2 comments
Labels

Comments

@wuyicang
Copy link

If I set the rack name to default-rack for both datacenter, the second dynomite will start fail.

[Mon Jul 20 15:53:34 2015] dynomite.c:194 dynomite-0.1.19 built for Linux 3.18.0-20-rpi2 armv7l started on pid 28532
[Mon Jul 20 15:53:34 2015] dynomite.c:199 run, rabbit run / dig that hole, forget the sun / and when at last the work is done / don't sit down / it's time to dig another one
[Mon Jul 20 15:53:34 2015] dyn_stats.c:1039 m 4 listening on '0.0.0.0:22222'
[Mon Jul 20 15:53:34 2015] dyn_proxy.c:211 p 8 listening on '0.0.0.0:8102' in redis pool 0 'raspberry-pi-chimera' with 1 servers
[Mon Jul 20 15:53:34 2015] dyn_dnode_server.c:195 dyn: p 9 listening on '0.0.0.0:8101' in redis pool 0 'raspberry-pi-chimera' with 1 servers
[Mon Jul 20 15:53:34 2015] dyn_signal.c:127 signal 11 (SIGSEGV) received, core dumping
Segmentation fault (core dumped)
  • Here is my configuration file in one datacenter(shanghai):
raspberry-pi-chimera:
  datacenter: shanghai
  rack: default-rack
  dyn_listen: 0.0.0.0:8101
  listen: 0.0.0.0:8102
  servers:
  - 127.0.0.1:6379:1
  tokens: '2035160051'
  redis: true
  secure_server_option: datacenter
  pem_key_file: /var/dynomite/dynomite.pem
  dyn_seeds:
  - 152.62.40.200:8101:default-rack:beijing:835488289
  • Here is my configuration file in other datacenter(beijing):
raspberry-pi-chimera:
  datacenter: beijing
  rack: default-rack
  dyn_listen: 0.0.0.0:8101
  listen: 0.0.0.0:8102
  servers:
  - 127.0.0.1:6379:1
  tokens: '835488289'
  redis: true
  secure_server_option: datacenter
  pem_key_file: /var/dynomite/dynomite.pem  

However, if I change the rack name to default-rack-shanghai and default-rack-beijing, they will work.

@timiblossom
Copy link
Contributor

There is a bug that you can't use the same rack name across datacenters. We will fix this soon but you can add some prefix string onto them to get away from this for now. Thanks

@ipapapa ipapapa added the bug label Oct 20, 2015
@smukil
Copy link
Contributor

smukil commented Jul 12, 2019

This doesn't seem to be an issue any longer. Closing.

@smukil smukil closed this as completed Jul 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants