|
|
|
|
|
by ozgune
3131 days ago
|
|
It's actually both of these reasons, with reason (1) being the primary one. PostgreSQL allows interactive transaction blocks (meaning you don't have to submit all commands within a transaction block upfront). Citus extends Postgres and needs to provide the same semantics. That said, we regularly evaluate different techniques on distributed deadlock detection and avoidance. We have an FAQ that discusses deadlock avoidance methods in the context of Postgres. In the link below, the last question on "How can a distributed database prevent distributed deadlocks?" provides more detail: https://www.citusdata.com/blog/2017/08/31/databases-and-dist... |
|