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
The postgresql.auto.conf should copy from segment #12212
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@water32
We may use sub-function or use lambda to remove all these small code block as they are duplicate code.
Would be good to have behave test added on the lines of current gpexpand tests to validate the intended behavior to have GUC value of segment in newer segment and not of coodinator/master node. Plus, this PR is currently directed towards 6X_STABLE. I think the problem would be same for master branch as well. So, would be nice to start from there and drill-down. |
@ashwinstar The root cause of different results of Questions:
@water32 Thanks for reporting the issue and the PR. It seems we need more time to dig into this. |
Well, for testing can use utility mode connection to coordinator and perform
|
The config file postgresql.auto.conf might not the same across QD or QEs. While execute gpexpand, copy this file from master is not correct. We should copy them from segment for newly added segments. In master branch it is not easy to add a normal case by alter system, because we dispatch AlterSystem statement to QEs. We add the case based on the advice in greenplum-db#12212 (comment)
The config file postgresql.auto.conf might not the same across QD or QEs. While execute gpexpand, copy this file from master is not correct. We should copy them from segment for newly added segments. In master branch it is not easy to add a normal case by alter system, because we dispatch AlterSystem statement to QEs. We add the case based on the advice in #12212 (comment) Authored-by: Miao Chen <miaochen@mail.ustc.edu.cn>
The config file postgresql.auto.conf might not the same across QD or QEs. While execute gpexpand, copy this file from master is not correct. We should copy them from segment for newly added segments.
Push this. It does not change anything impacting ICW, and local gpexpand test is OK. |
…plum-db#12212)" This reverts commit e3e9586. gpexpand job becomes red since previous commit, revert first and wait for later fixing.
For command ALTER SYSTEM, will modify the config file postgresql.auto.conf, while execute gpexpand, copy this file from master is not correct.
Here are some reminders before you submit the pull request
make installcheck