Versions Compared

Key

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

...

  • replicate=immediate is replicate=2, which verifies two replicas are written.

  • replicate=full is replicate={# of reps specified by lifepoint, or else policy.replicas default}

In every case, the The number of replicas Swarm makes synchronously on the request cannot exceed the number of replicas specified in the lifepoint (or, if none, policy.replicas default) . For example, for an object with no lifepoint specified, in a cluster with default=2, making a in every case. A request with replicate=3 causes 2 replicas to be synchronously created on the request for an object with no lifepoint specified and a cluster with default=2.

Replica-Count header

Swarm indicates the number of replica created with the request in the Replica-Count header. Check the header value in the response to verify the correct number of replicas is received.

...

A ROW request can return successfully with one replica created, it do does not attempt to perform the operation if it cannot find at least two nodes up front.

...

Swarm returns an HTTP 201 Created response if Swarm locates one node to store the replica. Applications that need to verify the requested number of created replicas should check the Replica-Count header value to verify how many replicas are created in the cluster.

If Repeat the request if the requested number of replicas does not match the Replica-Count header value, repeat the request. Otherwise, the . The Health Processor creates the additional replicas at a later time if this condition is not met.

To POST any unnamed object, Swarm locates two peer nodes—including the SAN—to perform the write . When two nodes are found and the writes are initiated, an to POST any unnamed object. An immutable POST is considered a success if at least two replicas complete successfully . If Swarm cannot locate when two peer nodes , the are found and the writes are initiated. The write fails and Swarm returns an HTTP 412 Preconditioned Failed response if Swarm cannot locate two peer nodes. All other writes are considered a success if at least one replica completes successfully.