Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Scope & Purpose
Backport of #14404
The weakly-connected-components algorithm in Pregel has a small chance to return incorrect components.
If there is a part of the component only connected via OUTBOUND edges to the part of the component that defines the ID there was a chance that the ID was not transported against the OUTBOUND direction. The backwards communication was not correctly implemented.
e.g.
(6)->(2)->(3)->(4)->(5)->(1)
Should be one Component.
in the original implementation (6) and (2) would false create their own component, as the backwards connection (3) <- (2) was not retained until the compenentID 1 did arrive at (3).
Backports:
Related Information
(Please reference tickets / specification / other PRs etc)
Testing & Verification
(Please pick either of the following options)
Link to Jenkins PR run:
Documentation
External contributors / CLA Note
Please note that for legal reasons we require you to sign the Contributor Agreement
before we can accept your pull requests.