Dell DX6004S DX Object Storage Application Guide - Page 37

Unnamed Object DELETE Details, 3. Named Object DELETE Details, 4. Normal Responses to DELETE

Page 37 highlights

7.2. Unnamed Object DELETE Details The UUID of a deleted object is never reused, whether the object is immutable or mutable. The query argument ?alias=yes must be added to the URI portion of the HTTP request line for unnamed anchor stream object, as shown in the following example. Failure to include the ? alias=yes argument for an unnamed anchor stream delete will result in a 403 Forbidden response from DX Storage. DELETE /7A25E6067904EAC8002498CF1AE33023?alias=yes HTTP/1.1 Host: cluster.example.com User-Agent: DX Storage Client/0.1 7.3. Named Object DELETE Details After a named object is deleted, another object with the same name can be created in the same bucket. Unlike unnamed objects, whose UUIDs are not reused, names can be reused. 7.4. Normal Responses to DELETE For a list of response headers, see Section 4.6, "Normal Response Headers". The following response will be returned by the DX Storage cluster in the case where the requested content was found and is being deleted. HTTP/1.1 200 OK Castor-System-Cluster: cluster.example.com Castor-System-Created: Fri, 15 Oct 2010 18:16:54 GMT Content-Type: application/x-www-form-urlencoded Last-Modified: Fri, 15 Oct 2010 18:16:54 GMT Etag: "06eec5e2c3f1aadcb41ef7fd52adc049" Content-Length: 0 Date: Fri, 15 Oct 2010 21:43:51 GMT Server: CAStor Cluster/5.0.0 Normal redirect responses to DELETE are described below. HTTP/1.1 301 Moved Permanently Date: Wed, 1 Sept 2010 15:59:02 GMT Server: CAStor Cluster/5.0.0 Location: http://node-ip/name-or-uuid?auth=2096EFA659295BBB819D1FECCE77D2EF Content-Length: 0 The preceding response means the content can be deleted as requested, but another node in the cluster will complete the Delete. Furthermore, all future requests of this DX Storage cluster should be made through the new access node until another 301 response is received. The value of the Location header indicates which node in the cluster the redirect should go to. The client is expected to send another DELETE request using the exact URI contained in the Location header. HTTP/1.1 307 Temporary Redirect Date: Wed, 1 Sept 2010 15:59:02 GMT Server: CAStor Cluster 5.0.0 Location: http://node-ip/name-or-uuid?auth=2096EFA659295BBB819D1FECCE77D2EF Content-Length: 0 Copyright © 2010 Caringo, Inc. All rights reserved 32 Version 5.0 December 2010

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81

Copyright © 2010 Caringo, Inc.
All rights reserved
32
Version 5.0
December 2010
7.2. Unnamed Object DELETE Details
The UUID of a deleted object is never reused, whether the object is immutable or mutable.
The query argument
?alias=yes
must be added to the URI portion of the HTTP request line
for unnamed anchor stream object, as shown in the following example. Failure to include the
?
alias=yes
argument for an unnamed anchor stream delete will result in a 403 Forbidden response
from DX Storage.
DELETE /7A25E6067904EAC8002498CF1AE33023?alias=yes HTTP/1.1
Host: cluster.example.com
User-Agent: DX Storage Client/0.1
7.3. Named Object DELETE Details
After a named object is deleted, another object with the same name can be created in the same
bucket. Unlike unnamed objects, whose UUIDs are not reused, names
can
be reused.
7.4. Normal Responses to DELETE
For a list of response headers, see
Section 4.6, “Normal Response Headers”
.
The following response will be returned by the DX Storage cluster in the case where the requested
content was found and is being deleted.
HTTP/1.1 200 OK
Castor-System-Cluster: cluster.example.com
Castor-System-Created: Fri, 15 Oct 2010 18:16:54 GMT
Content-Type: application/x-www-form-urlencoded
Last-Modified: Fri, 15 Oct 2010 18:16:54 GMT
Etag: "06eec5e2c3f1aadcb41ef7fd52adc049"
Content-Length: 0
Date: Fri, 15 Oct 2010 21:43:51 GMT
Server: CAStor Cluster/5.0.0
Normal redirect responses to DELETE are described below.
HTTP/1.1 301 Moved Permanently
Date: Wed, 1 Sept 2010 15:59:02 GMT
Server: CAStor Cluster/5.0.0
Location: http://
node-ip
/
name-or-uuid
?auth=2096EFA659295BBB819D1FECCE77D2EF
Content-Length: 0
The preceding response means the content can be deleted as requested, but another node in the
cluster will complete the Delete. Furthermore, all future requests of this DX Storage cluster should
be made through the new access node until another 301 response is received. The value of the
Location header indicates which node in the cluster the redirect should go to. The client is expected
to send another DELETE request using the exact URI contained in the Location header.
HTTP/1.1 307 Temporary Redirect
Date: Wed, 1 Sept 2010 15:59:02 GMT
Server: CAStor Cluster 5.0.0
Location: http://
node-ip
/
name-or-uuid
?auth=2096EFA659295BBB819D1FECCE77D2EF
Content-Length: 0