2022-06-28 07:05:51 +00:00
|
|
|
# Tree service
|
|
|
|
|
2023-03-24 12:49:23 +00:00
|
|
|
To get objects' metadata and system information, the S3 GW makes requests to the Tree service.
|
|
|
|
This is a service in FrostFS storage that keeps different information as a tree structure.
|
2022-06-28 07:05:51 +00:00
|
|
|
|
|
|
|
Each node keeps one of the types of data as a set of **key-value pairs**:
|
2023-03-24 12:49:23 +00:00
|
|
|
* Bucket settings: lock configuration and versioning mode
|
2022-06-28 07:05:51 +00:00
|
|
|
* Bucket tagging
|
|
|
|
* Object tagging
|
|
|
|
* Object metadata: OID, name, creation time, system metadata
|
|
|
|
* Object locking settings
|
|
|
|
* Active multipart upload info
|
|
|
|
|
2023-03-24 12:49:23 +00:00
|
|
|
Some data takes up a lot of memory, so we store it in FrostFS nodes as an object with payload.
|
2022-06-28 07:05:51 +00:00
|
|
|
But we keep these objects' metadata in the Tree service too:
|
|
|
|
* CORS
|
|
|
|
* Metadata of parts of active multipart uploads
|