Commit Graph

1 Commits (019f8219d2a1330478e8d14718732c2b52ae2e95)

Author SHA1 Message Date
Onder Kalaci 019f8219d2 Decouple reference table replication from master_add_node
This commit does the followings:

 - Refactor reference table replication logic for replicating to a
   single node instead of always replicating to all nodes
 - Add a new parameter to master_add_node(..,.., activate_node
   DEFAULT true)
   - If activate is true, replicate reference tables
   - Else, do not replicate reference tables
 - New API for activating node: master_activate_node(host, port)
    - currently only replicates reference tables
2017-01-23 18:11:55 +02:00