frostfs-s3-gw/docs/tree_service.md
Denis Kirillov 9432782ce6
All checks were successful
/ DCO (pull_request) Successful in 2m5s
/ Builds (1.20) (pull_request) Successful in 2m40s
/ Builds (1.21) (pull_request) Successful in 2m33s
/ Vulncheck (pull_request) Successful in 2m22s
/ Lint (pull_request) Successful in 4m24s
/ Tests (1.20) (pull_request) Successful in 2m48s
/ Tests (1.21) (pull_request) Successful in 2m45s
[#401] Drop notifications
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
2024-06-25 15:49:37 +03:00

699 B

Tree service

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.

Each node keeps one of the types of data as a set of key-value pairs:

  • Bucket settings: lock configuration and versioning mode
  • Bucket tagging
  • Object tagging
  • Object metadata: OID, name, creation time, system metadata
  • Object locking settings
  • Active multipart upload info

Some data takes up a lot of memory, so we store it in FrostFS nodes as an object with payload. But we keep these objects' metadata in the Tree service too:

  • CORS
  • Metadata of parts of active multipart uploads