aidekqz opened a new pull request, #2041: URL: https://github.com/apache/cloudberry/pull/2041
### What does this PR do? Changes `gpexpand` to use fast shutdown instead of smart shutdown when stopping newly added primary segments. This prevents expansion from waiting for active connections before continuing segment configuration. The change is ported from greenplum-db/gpdb-archive@f29ceca9189ecdf7d782c3c87183d0fa3e862cef. The original author metadata is preserved in the commit. ### Type of Change - [x] Bug fix (non-breaking change) - [ ] New feature (non-breaking change) - [ ] Breaking change (fix or feature with breaking changes) - [ ] Documentation update ### Breaking Changes None. ### Test Plan - [ ] Unit tests added/updated - [ ] Integration tests added/updated - [ ] Passed `make installcheck` - [ ] Passed `make -C src/test installcheck-cbdb-parallel` ### Impact **Performance:** Prevents `gpexpand` from waiting for client connections during shutdown of newly added primary segments. **User-facing changes:** The expansion workflow now performs a fast shutdown of newly added primary segments. **Dependencies:** No new dependencies. ### Checklist - [x] Followed [contribution guide](https://cloudberry.apache.org/contribute/code) - [ ] Added/updated documentation - [x] Reviewed code for security implications - [ ] This PR contains AI-assisted code generation - [ ] Requested review from [cloudberry committers](https://github.com/orgs/apache/teams/cloudberry-committers) ### Additional Context Upstream commit: https://github.com/greenplum-db/gpdb-archive/commit/f29ceca9189ecdf7d782c3c87183d0fa3e862cef -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
