Allow other labels in sending to process
- Dominant language
- Elixir
- Stars
- 1.3k
- Forks
- 110
- PR merge metrics
- No merged PRs in 30d
Description
https://github.com/bitwalker/swarm/blob/7d2c2f4a97ce202b4ed111337c076ea275ec9ba2/lib/swarm/tracker/tracker.ex#L699
I am using a library which is intercepting GenServer.call and GenServer.cast below my module. Something fairly common in the OTP world. I need an option to tell Swarm to send calls using a specific label to get around this issue. See https://github.com/blackberry/Erlang-OTP/blob/3ec06ce97019eed9472a2cf8950ed23d7a2e6b9b/lib/stdlib/src/gen.erl#L146 .
Can we please add this option when registering the process?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start in lib/swarm/tracker/tracker.ex around line 699, then compare the referenced Erlang OTP gen.erl behavior. Trace process registration and call/cast sending to determine where the registration option belongs; done means a registered process can use a caller-specified label for calls without breaking existing behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- elixir, erlang
- Domain
- distributed-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100