Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Version published after converting to the new editor

Use the query argument countreps=yes to request INFO to return the number and location of object replicas that are online in the cluster. (This was previously the default behavior but was changed as of 4.0 so that replicas are not counted unless specifically requested.)

To enable Swarm to return the replica count and location of an object, include theĀ countreps=yes query argument:

Code Block
languagexml
HEAD /mybucket/samplefile.txt?countreps=yes HTTP/1.1 
	Host: cluster.example.com 
	User-Agent: Swarm Client/0.1

...