Distributed deadlock detection improvement - Cleanup of backend pid association
Open
technical debt
- Dominant language
- C
- Stars
- 12.8k
- Forks
- 794
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 31
Description
As we've discussed in #1529 on [this](https://github.com/citusdata/citus/pull/1529#discussion_r130727361) comment, we should revisit the logic to associate backends after the deadlock is found.
We currently iterate on all backends to find the `pid`s of the backends that involve in the deadlock. We shouldn't need that, instead, we could store the `pid`s of initiating processes at the start. (Or something like that)
Contributor guide
Assessment
This issue has not been assessed yet.