citusdata / citusdata/citus

Distributed deadlock detection improvement - Cleanup of backend pid association

Open
#1,553 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.