Method and apparatus for object storage
First Claim
1. A method for object storage, comprising:
- in response to an update to metadata of an object in an object storage region to produce updated metadata of the object, recording, by a processor coupled to a memory, a metadata object associated with the object in a metadata change storage region separated from the object storage region,the metadata object including the updated metadata of the object and pointer information,the pointer information pointing to a first storage location representing a storage location of the object in the object storage region;
modifying, by the processor, index information associated with the object to produce modified index information indicating the update to the metadata and a second storage location representing a storage location of the metadata object in the metadata change storage region, the index information comprising status information of the object and location information indicating the first storage location, the status information comprising a first status indicating an existence of the object, a second status indicating a deletion of the object, and a third status indicating the update to the metadata of the object,in response to a request for compacting the object storage region, replacing the metadata of the object stored in the object storage region with the updated metadata in the metadata object stored in the metadata change storage region;
performing a compaction operation on the object storage region; and
modifying the index information of the object in the object storage region.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and an apparatus for object storage are disclosed. The method includes, in response to an update to metadata of an object in an object storage region to produce updated metadata of the object, recording a metadata object associated with the object in a metadata change storage region separated from the object storage region. The metadata object includes the updated metadata of the object and pointer information. The pointer information points to a first storage location representing a storage location of the object in the object storage region. The method also includes modifying index information associated with the object to produce modified index information. The modified index information indicates the update to the metadata and a second storage location representing a storage location of the metadata object in the metadata change storage region.
19 Citations
14 Claims
-
1. A method for object storage, comprising:
-
in response to an update to metadata of an object in an object storage region to produce updated metadata of the object, recording, by a processor coupled to a memory, a metadata object associated with the object in a metadata change storage region separated from the object storage region, the metadata object including the updated metadata of the object and pointer information, the pointer information pointing to a first storage location representing a storage location of the object in the object storage region; modifying, by the processor, index information associated with the object to produce modified index information indicating the update to the metadata and a second storage location representing a storage location of the metadata object in the metadata change storage region, the index information comprising status information of the object and location information indicating the first storage location, the status information comprising a first status indicating an existence of the object, a second status indicating a deletion of the object, and a third status indicating the update to the metadata of the object, in response to a request for compacting the object storage region, replacing the metadata of the object stored in the object storage region with the updated metadata in the metadata object stored in the metadata change storage region; performing a compaction operation on the object storage region; and modifying the index information of the object in the object storage region. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A computer program product, the computer program product comprising a computer readable storage medium having program instructions for object storage embodied therewith, the program instructions executable by a processor to cause the processor to perform:
-
in response to an update to metadata of an object in an object storage region to produce updated metadata of the object, recording a metadata object associated with the object in a metadata change storage region separated from the object storage region, the metadata object including the updated metadata of the object and pointer information, the pointer information pointing to a first storage location representing a storage location of the object in the object storage region; modifying index information associated with the object to produce modified index information indicating the update to the metadata and a second storage location representing a storage location of the metadata object in the metadata change storage region, the index information comprising status information of the object and location information indicating the first storage location, the status information comprising a first status indicating an existence of the object, a second status indicating a deletion of the object, and a third status indicating the update to the metadata of the object, in response to a request for compacting the object storage region, replacing the metadata of the object stored in the object storage region with the updated metadata in the metadata object stored in the metadata change storage region; performing a compaction operation on the object storage region; and modifying the index information of the object in the object storage region. - View Dependent Claims (7, 8, 9, 10)
-
-
11. An apparatus comprising a processor and a computer readable storage medium having program instructions for object storage embodied therewith, the program instructions executable by the processor, the apparatus comprising”
-
a record module configured to, in response to an update to metadata of the object storage region to produce updated metadata of the object, record a metadata object associated with the object in a metadata change storage region separated from the object storage region, the metadata object including the updated metadata of the object and pointer information, the pointer information pointing to a first storage location representing a storage location of the object in the object storage region; and a modification module configured to modify index information associated with the object to produce modified index information indicating the update to the metadata and a second storage location representing a storage location of the metadata object in the metadata change storage region, the index information comprising status information of the object and location information indicating the first storage location, the status information comprising a first status indicating an existence of the object, a second status indicating a deletion of the object, and a third status indicating the update to the metadata of the object, a replacement module configured to, in response to a request for compacting the object storage region, replace the metadata of the object stored in the object storage region with the updated metadata in the metadata object stored in the metadata change storage region; and a compaction module configured to perform a compaction operation on the object storage region; wherein the modification module is further configured to modify the index information of the object in the object storage region. - View Dependent Claims (12, 13, 14)
-
Specification