alist/internal/fs
okatu-loli f1e43cf7d2 feat(s3): Add S3 object archive and thaw task management
This commit introduces comprehensive support for S3 object archive and thaw operations, managed asynchronously through a new task system.

- **S3 Transition Task System**:
  - Adds a new `S3Transition` task configuration, including workers, max retries, and persistence options.
  - Initializes `S3TransitionTaskManager` to handle asynchronous S3 archive/thaw requests.
  - Registers dedicated API routes for monitoring S3 transition tasks.

- **Integrate S3 Archive/Thaw with Other API**:
  - Modifies the `Other` API handler to intercept `archive` and `thaw` methods for S3 storage drivers.
  - Dispatches these operations as `S3TransitionTask` instances to the task manager for background processing.
  - Returns a task ID to the client for tracking the status of the dispatched operation.

- **Refactor `other` package for improved API consistency**:
  - Exports previously internal structs such as `archiveRequest`, `thawRequest`, `objectDescriptor`, `archiveResponse`, `thawResponse`, and `restoreStatus` by making their names public.
  - Makes helper functions like `decodeOtherArgs`, `normalizeStorageClass`, and `normalizeRestoreTier` public.
  - Introduces new constants for various S3 `Other` API methods.
2025-10-15 17:56:04 +08:00
..
archive.go perf: optimize IO read/write usage (#8243) 2025-04-12 16:55:31 +08:00
copy.go feat(task): allow retry canceled (#7852) 2025-01-27 20:18:10 +08:00
fs.go feat(alias): support writing to non-ambiguous paths (#8216) 2025-03-27 23:17:45 +08:00
get.go refactor: obj name mapping and internal path processing (#2733) 2022-12-17 19:49:05 +08:00
link.go feat(alias): support proxy and direct together 2023-03-14 13:46:27 +08:00
list.go feat: enhance permission control and label management (#9215) 2025-07-26 09:51:59 +08:00
other.go feat(s3): Add S3 object archive and thaw task management 2025-10-15 17:56:04 +08:00
put.go feat(task): add speed monitor (#7655) 2024-12-25 21:09:54 +08:00
s3_transition.go feat(s3): Add S3 object archive and thaw task management 2025-10-15 17:56:04 +08:00
walk.go perf(alias): disabled log on fs call (close #4054) 2023-04-07 00:02:07 +08:00