def _repl_to_node(self, node, broker, partition, info,
                      different_region=False):
        http = self._http_connect(node, partition, broker.db_file)
        sync_args = self._gather_sync_args(info)
        with Timeout(self.node_timeout):
            response = http.replicate('sync', *sync_args)
        if not response:
            return False
        return self._handle_sync_response(node, response, info, broker, http,
                                          different_region=different_region)
Replicate a database to a node.
dataset/ETHPy150Open openstack/swift/swift/common/db_replicator.py/Replicator._repl_to_node