Dell DX6004S DX Object Storage Application Guide - Page 36

Scsp Delete

Page 36 highlights

Chapter 7. SCSP DELETE The following topics in this chapter discuss details about SCSP DELETE: • Section 7.1, "Introduction to DELETE" • Section 7.2, "Unnamed Object DELETE Details" • Section 7.3, "Named Object DELETE Details" • Section 7.4, "Normal Responses to DELETE" • Section 7.5, "Error Responses to DELETE" 7.1. Introduction to DELETE This section discusses general information about SCSP DELETE that applies to both named and unnamed objects. The DELETE message is a request for a specific content stream to be removed from a DX Storage cluster. The DELETE request is formatted as a simple HTTP request using the DELETE method as shown in the following examples: • Named object DELETE /bucket/photo.jpg HTTP/1.1 Host: cluster.example.com User-Agent: DX Storage Client/0.1 • Unnamed object DELETE /7A25E6067904EAC8002498CF1AE33023 HTTP/1.1 Host: cluster.example.com User-Agent: DX Storage Client/0.1 If the operation succeeds, the content associated with the name or UUID supplied in the request is no longer available. This does not imply that all copies of the content have been erased, only that the cluster now responds to any READ request for that UUID with a 404 Not Found error. An object can be deleted by an application or lifecycle as follows: • Application deleting an object All online replicas in a single cluster are removed immediately after a delete operation is performed for a object. (An online replica is one that resides on a cluster node that is on line at the time the delete is issued.) In addition, the cluster remembers the name or UUID has been deleted for 14 days, in the event that one or more nodes holding replicas of the deleted object are off line at the time the delete was issued. • Lifecycle deleting an object An object can have a storage policy defined by the application and stored along with it. Part of the storage policy might be an expiration period, beyond which the object is to be removed. In the case of a policy-defined deletion, all replicas, wherever they are stored, are deleted at approximately the same time and become unavailable at most one second after the expiration date and time. Copyright © 2010 Caringo, Inc. All rights reserved 31 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
31
Version 5.0
December 2010
Chapter 7. SCSP DELETE
The following topics in this chapter discuss details about SCSP DELETE:
Section 7.1, “Introduction to DELETE”
Section 7.2, “Unnamed Object DELETE Details”
Section 7.3, “Named Object DELETE Details”
Section 7.4, “Normal Responses to DELETE”
Section 7.5, “Error Responses to DELETE”
7.1. Introduction to DELETE
This section discusses general information about SCSP DELETE that applies to both named and
unnamed objects.
The DELETE message is a request for a specific content stream to be removed from a DX Storage
cluster. The DELETE request is formatted as a simple HTTP request using the DELETE method as
shown in the following examples:
Named object
DELETE /bucket/photo.jpg HTTP/1.1
Host: cluster.example.com
User-Agent: DX Storage Client/0.1
Unnamed object
DELETE /7A25E6067904EAC8002498CF1AE33023 HTTP/1.1
Host: cluster.example.com
User-Agent: DX Storage Client/0.1
If the operation succeeds, the content associated with the name or UUID supplied in the request is
no longer available. This does not imply that all copies of the content have been erased, only that
the cluster now responds to any READ request for that UUID with a 404 Not Found error.
An object can be deleted by an application or lifecycle as follows:
Application deleting an object
All online replicas in a single cluster are removed immediately after a delete operation is
performed for a object. (An
online replica
is one that resides on a cluster node that is on line at the
time the delete is issued.) In addition, the cluster remembers the name or UUID has been deleted
for 14 days, in the event that one or more nodes holding replicas of the deleted object are off line
at the time the delete was issued.
Lifecycle deleting an object
An object can have a
storage policy
defined by the application and stored along with it. Part
of the storage policy might be an expiration period, beyond which the object is to be removed.
In the case of a policy-defined deletion, all replicas, wherever they are stored, are deleted at
approximately the same time and become unavailable at most one second after the expiration
date and time.