Skip to content

Conversation

@gfphoenix78
Copy link
Contributor

The option differentialResynchronization is not defined in the options, which will cause gprecoverseg fails.

if self.__options.differentialResynchronization:
    self.logger.error("gprecoverseg differential recovery failed. Please check the gpsegrecovery.py log"
                      " file and rsync log file for more details.")
else:
    self.logger.error("gprecoverseg failed. Please check the output for more details.")

Because the code block is miss backported from GPDB upstream. The code was added in commit 07c4d13

The upstream
greenplum-db/gpdb-archive@b84f08e2e1a299ded905921 introduced this option

Fixes #ISSUE_Number

What does this PR do?

Type of Change

  • Bug fix (non-breaking change)
  • New feature (non-breaking change)
  • Breaking change (fix or feature with breaking changes)
  • Documentation update

Breaking Changes

Test Plan

  • Unit tests added/updated
  • Integration tests added/updated
  • Passed make installcheck
  • Passed make -C src/test installcheck-cbdb-parallel

Impact

Performance:

User-facing changes:

Dependencies:

Checklist

Additional Context

CI Skip Instructions


@my-ship-it my-ship-it requested a review from gongxun0928 July 31, 2025 06:19
The option differentialResynchronization is not defined in the options,
which will cause gprecoverseg fails.

if self.__options.differentialResynchronization:
    self.logger.error("gprecoverseg differential recovery failed. Please check the gpsegrecovery.py log"
                      " file and rsync log file for more details.")
else:
    self.logger.error("gprecoverseg failed. Please check the output for more details.")

Because the code block is miss backported from GPDB upstream.
The code was added in commit 07c4d13

The upstream
greenplum-db/gpdb-archive@b84f08e2e1a299ded905921
introduced this option
@gfphoenix78 gfphoenix78 merged commit ddb4f60 into apache:main Jul 31, 2025
47 of 48 checks passed
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.

3 participants