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
After "gprecoverseg -i" dbid changed #9837
Comments
There might be some problem with We would be help out on the issue is please can provide the exact command and file used for |
Yes, you are right. On the failed node, I checked the file I will restore the process of my operation:
Then I use |
I think we can ignore all the things related to gpactivatestandby and gpinitstandby in this issue. Those are just noise. Only aspect we need to focus is |
First of all, thank you for your help. I had some other problems, but I fixed them manually. I'm going to share them with you. If you think they're problems, you can pay attention to them.
|
for the pg_hba.conf permission issue, probably it is already be fixed in the latest 6.x release by severral related PRs. e.g. #8597 |
Yeah I see it. Thank you very much!!!! |
PR9974 introduced case 'segwalrep/recoverseg_from_file' to guard the fix to issue greenplum-db#9837, but the case is not able to do that. Because the content of configure in it is not suitable, function '__callSegmentAddMirror' won't be called when executing 'gprecoverseg -i xxx'.
PR #9974 introduced case 'segwalrep/recoverseg_from_file' to guard the fix to issue #9837, but the case is not able to do that. Because the content of configure in it is not suitable, function '__callSegmentAddMirror' won't be called when executing 'gprecoverseg -i xxx'. Co-authored-by: wuchengwen <wcw190496@alibaba-inc.com>
Greenplum version or build
6.1
After init my greenplum cluster, the content on gp_segment_configuration is:
and then the machine where my master node on is failed, so i use gpactivatestandby and gpinitstandby to recover my cluster.After recover the content on gp_segment_configuration is:
and then for some reason, i want to replace my segment node, so i use gprecoverseg -i, after do this the content on gp_segment_configuration is:
and i saw the failed log on my segment node, the content is:
This looks like a problem caused by a dbid mismatch, and saw the gp_segment_configuration above, the dbid is really changed.So, what caused this problem, and how can I solve it.
The text was updated successfully, but these errors were encountered: