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

Modified redisd to notify for eth0 ip change,issue 80 #115

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Modified redisd to notify for eth0 ip change,issue 80 #115

wants to merge 1 commit into from

Conversation

atmecs123
Copy link

Event is generated in netlink.go and it is notified to redisd for eth0 ip change.Old connection is closed.

Before change =
siddhant@invader41:~$ netstat -nlp | grep 6379
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp 0 0 172.17.2.31:6379 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:6379 0.0.0.0:* LISTEN -
tcp6 0 0 fe80::5218:4cff:fe:6379 :::* LISTEN -
tcp6 0 0 ::1:6379 :::* LISTEN -

After change=
siddhant@invader41:~$ netstat -nlp | grep 6379
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp 0 0 172.17.2.95:6379 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:6379 0.0.0.0:* LISTEN -
tcp6 0 0 fe80::5218:4cff:fe:6379 :::* LISTEN -
tcp6 0 0 ::1:6379 :::* LISTEN -

Connect through redis-cli from i29 with changed ip.
siddhant@invader29:~$ redis-cli -h 172.17.2.95
172.17.2.95:6379>

@atmecs123
Copy link
Author

@fszyang @dlobete Please review the changes for issue 80.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant