gohbase
gohbase copied to clipboard
RPC objects should not embed a Context
Not only is it a bad practice to store the Context
in a struct, but it actually led to a race condition being introduced when we added tracing (being fixed by PR #173). We should pass the Context
along with the RPC, and when we derive a new context due to tracing we just pass along the derived context.