Skip to content

fix(vermeer): correct distributed closeness traversal - #374

Merged
imbajin merged 6 commits into
apache:masterfrom
hugegraph:fix/vermeer-closeness-correctness-20261105
Nov 5, 2026
Merged

imbajin merged 6 commits into
apache:masterfrom
hugegraph:fix/vermeer-closeness-correctness-20261105

Conversation

@imbajin

@imbajin imbajin commented Nov 5, 2026 •

Copy link
Copy Markdown
Member

Before → After

Use global source IDs, sample adjacency once per run, finish each local source from its own frontier, and aggregate stop slots after the compute barrier. Compute normalized closeness with 64-bit distance sums and add local output-completeness checks.

Validation boundary

The author reports Go 1.23.7 algorithms/worker race tests. Current review identifies unresolved max-step completion, per-worker versus global output gating, and traversal-test coverage issues: 🔗 org Computer #27 review. These changes do not establish atomic all-worker output or merge readiness. All-source state still scales with local sources times reachable vertices; performance batching is separate. No independent tests or cluster run were performed for this submission.

Source: 🔗 org Computer #27.

Visual overview

Vermeer change overview

Traversal design illustration: global IDs, fixed sampled adjacency, per-source completion and wider score accumulation. Current review still flags max-step and global output-gating issues; the diagram is not proof that partial distributed output is prevented, or that memory, cluster or RC acceptance has passed.

@imbajin
imbajin merged commit 37d189e into apache:master Nov 5, 2026
7 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.

2 participants