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

Mongo 3.4.5 fix: update tag value in replicaset configuration when restore from backups #20

Open
wants to merge 5 commits into
base: mongo-3.4
Choose a base branch
from

Conversation

djangoyi-yunify
Copy link
Collaborator

ONLY support Mongo 3.4.5

update tags in replica set config when changing ip or port
backup/restore function can only be used at mongodb version 3.4.5
hosts
files/tmp
debug-*.yml
*.tar.gz
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个应该在 ansible/ 目录下吧

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

请忽略这个文件,不小心加进去的

@@ -1,4 +1,4 @@
{{range gets "/hosts/*/*/pub_key"}}
{{.Value}}{{end}}

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDYjBpM9COfr72JcBKAGrhR09Q/rTWWNMt6aU0vdkhACNlmrdONoBsFA+0qLWtOUohkq9f6mdUPeGmKjGRQpFcWnZouxaznxHqFB6rq8OS+lDPSrPmMI3e0IV3j/F83S5NHrjgKG1iGmqQBhak/WIqNpsLsrPE77PKpvSXd3WXsvHuRDXTR1OiOLmZ7CQMZ5d6kkkEGGsy9iRIZUd5sc6DLgwxrRKtNbhpR3+9aq6ZrkMEvSqf9hzpixSPCp7vRhrHYhQsodWkukoxCh64p7djIoiC5xiXqlPFx9YsLStRxLyRR4EqE0tEotzqKCIEyP5ibucrE/lsJ1DLVhZTQUyEwPpbeRtlphsn+CnUQezDLGIiC1DF85m6WA3fioqCmE2Ofhgv2j8fSfMCUyOyD393fovB87hWvTt4quJnelFG0OkK7wfRwDU4xkQMr5kAk3PrG0nKHaQjtPTem25GA7gsIdQsHYY2jHUij+ai615+ZN6uL5RW8bCxRirEnkqTnfjAjXTy8RgimygBHcR1sqa/fLY4tgLHl0wdSgYvVPXEuo45p73gnf+Goqc7FlSRxZwDvVyz4/PAEMNJNel0sOxCKlMJfNrJAd3XVtqLlmK2LcQsUdlVt9iBPVH7oRkVNakYpXXgIbzyqf17jlK2w/fqBTW6TlOPZPNFil3g67K4I9w== [email protected]
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDYjBpM9COfr72JcBKAGrhR09Q/rTWWNMt6aU0vdkhACNlmrdONoBsFA+0qLWtOUohkq9f6mdUPeGmKjGRQpFcWnZouxaznxHqFB6rq8OS+lDPSrPmMI3e0IV3j/F83S5NHrjgKG1iGmqQBhak/WIqNpsLsrPE77PKpvSXd3WXsvHuRDXTR1OiOLmZ7CQMZ5d6kkkEGGsy9iRIZUd5sc6DLgwxrRKtNbhpR3+9aq6ZrkMEvSqf9hzpixSPCp7vRhrHYhQsodWkukoxCh64p7djIoiC5xiXqlPFx9YsLStRxLyRR4EqE0tEotzqKCIEyP5ibucrE/lsJ1DLVhZTQUyEwPpbeRtlphsn+CnUQezDLGIiC1DF85m6WA3fioqCmE2Ofhgv2j8fSfMCUyOyD393fovB87hWvTt4quJnelFG0OkK7wfRwDU4xkQMr5kAk3PrG0nKHaQjtPTem25GA7gsIdQsHYY2jHUij+ai615+ZN6uL5RW8bCxRirEnkqTnfjAjXTy8RgimygBHcR1sqa/fLY4tgLHl0wdSgYvVPXEuo45p73gnf+Goqc7FlSRxZwDvVyz4/PAEMNJNel0sOxCKlMJfNrJAd3XVtqLlmK2LcQsUdlVt9iBPVH7oRkVNakYpXXgIbzyqf17jlK2w/fqBTW6TlOPZPNFil3g67K4I9w== [email protected]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

内容应该没什么变化吧?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1,2行保证集群之间相互ssh
4 行为多余行,疑似代码贡献者为方便调试而添加。此行删除或保留,不影响集群之间ssh通信

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.

2 participants