Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Info

New SEND

As of Swarm 11.2, SCSP SEND has been expanded to support all feed types and to use the new replication (PUSH) method. For backwards compatibility, the following legacy behavior of SEND is still supported. If a SEND request is missing the new required query arguments, then the behavior described here is in force. (v11.2)

The SCSP SEND method applies to both named and unnamed objects. The SEND request allows explicit transmission of a single object from a source cluster to a remote one, such as for keeping two clusters immediately synchronized. This feature is best used with a replication feed, which will act as a catch-up mechanism if the intracluster network is down or the SEND command should fail. 

...

SEND can only be used by an admin user. WIth With a SEND request, Swarm performs the appropriate GET/retrieve in the destination cluster to verify whether the object already exists there. 

...

You use the following headers with SEND requests:

Castor-System-Cluster

required

The value of the cluster.name setting of the destination cluster.

Castor-System-Target

required

The IP:port of a node or reverse proxy of the destination cluster.

Castor-System-Auth

optional

The username:password for an administrative account on the remote cluster,
only if it differs from the source cluster.

Responses to SEND

The request returns information about that request in the body of the response. SEND behaves much like a HEAD request, with the headers of the response resembling that of a HEAD request. 

...