Skip to content

Conversation

@shayne-fletcher
Copy link
Contributor

Summary: this is a small simplification: the spawned procs' ChannelAddrs already live in router: DialMailboxRouter, so keeping a HashMap<String, ChannelAddr> in procs was redundant. switching procs to a HashSet<String> makes it clear that its only responsibility is guarding against duplicate proc names; routing remains the router's job.

Differential Revision: D88300708

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Dec 3, 2025
@meta-codesync
Copy link

meta-codesync bot commented Dec 3, 2025

@shayne-fletcher has exported this pull request. If you are a Meta employee, you can view the originating Diff in D88300708.

Summary:

this is a small simplification: the spawned procs' `ChannelAddr`s already live in `router: DialMailboxRouter`, so keeping a `HashMap<String, ChannelAddr>` in `procs` was redundant. switching `procs` to a `HashSet<String>` makes it clear that its only responsibility is guarding against duplicate proc names; routing remains the router's job.

Differential Revision: D88300708
@meta-codesync
Copy link

meta-codesync bot commented Dec 4, 2025

This pull request has been merged in 65bb906.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot. fb-exported Merged meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants