+21
−12
Loading
A bulk handle is registered with one engine's Mercury instance, so
expose() and the RPC that carries the handle must use the same engine.
With the thread-local selection this already holds within one call, but
write, read, the dirents variants and the opendir fan-out now take
CTX->rpc_engine() and CTX->hosts() once at the top and use these
locals, which makes the invariant explicit.
Co-Authored-By:
Claude Opus 5.5 <noreply@anthropic.com>