mirror of https://github.com/citusdata/citus.git
DESCRIPTION: Add GUC to control ddl creation behaviour in transactions Historically we would _not_ propagate objects when we are in a transaction block. Creation of distributed tables would not always work in sequential mode, hence objects created in the same transaction as distributing a table that would use the just created object wouldn't work. The benefit was that the user could still benefit from parallelism. Now that the creation of distributed tables is supported in sequential mode it would make sense for users to force transactional consistency of ddl commands for distributed tables. A transaction could switch more aggressively to sequential mode when creating new objects in a transaction. We don't change the default behaviour just yet. Also, many objects would not even propagate their creation when the transaction was already set to sequential, leaving the probability of a self deadlock. The new policy checks solve this discrepancy between objects as well. |
||
---|---|---|
.. | ||
commands | ||
connection | ||
deparser | ||
executor | ||
metadata | ||
operations | ||
planner | ||
progress | ||
relay | ||
sql | ||
test | ||
transaction | ||
utils | ||
worker | ||
.gitignore | ||
Makefile | ||
citus.control | ||
safeclib | ||
shared_library_init.c |