cloudberry icon indicating copy to clipboard operation
cloudberry copied to clipboard

Fix force_parallel_mode to work as intended.

Open avamingli opened this issue 4 months ago • 1 comments

The force_parallel_mode GUC is meant to facilitate testing of parallel query plans, but it currently allows non-parallel plans to win even when force_parallel_mode is enabled. This behavior makes it difficult to debug parallel plans as intended.

Correct the behavior for testing purposes.

Authored-by: Zhang Mingli [email protected]

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


avamingli avatar Aug 02 '25 00:08 avamingli

This PR opened a whole can of worms. Just skimming through, there are a bunch of wrong results. Looks like it uncovered some hidden issues that’ll need to be checked one by one later.

avamingli avatar Aug 04 '25 03:08 avamingli