Dell DX6004S DX Object Storage Application Guide - Page 36
Scsp Delete
View all Dell DX6004S manuals
Add to My Manuals
Save this manual to your list of manuals |
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