Burak Yucesoy
e9095e62ec
Decouple reference table replication
...
With this change we add an option to add a node without replicating all reference
tables to that node. If a node is added with this option, we mark the node as
inactive and no queries will sent to that node.
We also added two new UDFs;
- master_activate_node(host, port):
- marks node as active and replicates all reference tables to that node
- master_add_inactive_node(host, port):
- only adds node to pg_dist_node
2017-04-17 13:33:31 +03:00
Jason Petersen
4cdfc3a10f
Address review feedback
...
Should just about do it.
2017-04-03 11:44:57 -06:00
Jason Petersen
dd9365433e
Update documentation
...
Ensure all functions have comments, etc.
2017-04-03 11:19:15 -06:00
Jason Petersen
d904e96c59
Address MX CONCURRENTLY problems
...
Adds a non-transactional multi-command method to propagate DDLs to all
MX/metadata-synced nodes.
2017-04-03 11:19:15 -06:00
Jason Petersen
6f4886cd11
Revert "Remove unused SendCommandToWorker"
...
This reverts commit c8c308c109
.
2017-03-13 15:48:51 -06:00
Brian Cloutier
c8c308c109
Remove unused SendCommandToWorker
2017-03-08 16:30:23 +03:00
Andres Freund
78b085106a
Remove connection_cache.[ch].
2017-01-21 09:01:15 -08:00
Andres Freund
6ec34bed84
Remove remnants of commit_protocol.[ch].
2017-01-21 09:01:15 -08:00
Marco Slot
92c7567008
Convert worker_transactions to new connection API
2016-12-23 16:14:29 +01:00
Marco Slot
87c62d598e
Connectionapify SendCommandListToWorkerInSingleTransaction
2016-12-23 16:14:29 +01:00
Andres Freund
a77cf36778
Use connection_management.c from within connection_cache.c.
...
This is a temporary step towards removing connection_cache.c.
2016-12-07 11:44:24 -08:00
Eren Basak
fb88b167a7
Propagate node add/remove to the nodes with hasmetadata=true
...
This change propagates the changes done by `master_add_node` and `master_remove_node`
to the workers that contain metadata.
2016-12-02 14:43:32 +03:00
Marco Slot
c157c3b419
Disallow SendCommandListToWorkerInSingleTransaction when modifications have occurred
2016-11-02 12:26:56 +01:00
Burak Yucesoy
5a03acf2bf
Foreign Constraint Support for create_distributed_table and shard move
...
With this change, we now push down foreign key constraints created during CREATE TABLE
statements. We also start to send foreign constraints during shard move along with
other DDL statements
2016-10-21 15:38:55 +03:00
Eren Basak
cee7b54e7c
Add worker transaction and transaction recovery infrastructure
2016-10-18 14:18:14 +03:00