Commit Graph

17 Commits

Author SHA1 Message Date
chihe
347208f189 refactor(clientmetanode): hybrid cloud check inode/vol storage class when checking vol type
Signed-off-by: chihe <chi.he@oppo.com>
2024-12-26 09:24:22 +08:00
tangdeyi
d11e9142a2 feat(objectnode): object lock
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2023-08-30 20:05:32 +08:00
leonrayang
9a30b9f884 update: update to CubeFS
Signed-off-by: leonrayang <chl696@sina.com>
2022-08-22 18:16:09 +08:00
Shuoran Liu
8d620f863c refactor: execute gofmt to the whole repo
This commit does nothing but execute gofmt to the whole repo using the
following command:

$ find . -type f -name "*.go" | grep -v 'vendor' | xargs gofmt -w

Signed-off-by: Shuoran Liu <shuoranliu@gmail.com>
2021-09-24 15:47:02 +08:00
yuboLee
1000d725ab Fix: listObject and listObjectsV2 list result is not expected
Signed-off-by: yuboLee <pangbolee@gmail.com>
2020-07-17 17:07:23 +08:00
ansjsun
f0c164523e add console node
Signed-off-by: ansjsun <ansj-sun@163.com>
2020-07-03 12:21:11 +08:00
wenjia322
5b587bf0ce enhancement: add 'Expires' and 'Cache-Control' when putObject/copyObject/getObject/headObject
Signed-off-by: wenjia322 <buaa1214wwj@126.com>
2020-05-29 10:57:13 +08:00
yuboLee
6eb165c895 Add support for header Content-Disposition
Signed-off-by: yuboLee <pangbolee@gmail.com>
2020-05-21 16:00:38 +08:00
Mofei Zhang
01240bd867
Enhancement: partial support user-defined metadata
The PutObject interface supports setting user-defined metadata. The
GetObject and HeadObject interfaces can correctly return the stored
user-defined metadata.

Signed-off-by: Mofei Zhang <mofei2816@gmail.com>
2020-05-06 00:52:04 +08:00
Mofei Zhang
7a57837f74
Fix: third-party license information
Adjust the format of the license header information of the third-party
code used to make the format more compliant. The NOTICE file supplements
the third-party code NOTIC information and explains the use of the code.

Signed-off-by: Mofei Zhang <mofei2816@gmail.com>
2020-04-14 19:29:39 +08:00
Mofei Zhang
509d96c3d1
Enhancement: folder operations in S3 APIs
Supports folder operations in the same way as Amazon AWS S3.
  - Get folder meta info by HeadObject interface.
  - Create folder when header specifies Content-Type as
    application/directory and Content-Length as 0 on PutObject interface.
  - Delete an empty folder by DeleteObject interface.
  - The GetObject interface responds normally when the target is an
    existing directory.
  - Differentiate folders and files on the ListObject interface through the
    CommonPrefix property (already supported).

Following object storage interface haven been implemented folder operations:
  - HeadObject
  - GetObject
  - DeleteObject
  - DeleteObjects
  - ListObjects
  - ListObjectsV2

Signed-off-by: Mofei Zhang <mofei2816@gmail.com>
2020-03-30 17:01:45 +08:00
Mervin
fbbe1e0a7e
Refactor: param parse in object storage interface handlers
Signed-off-by: Mervin <mofei2816@gmail.com>
2020-03-10 00:49:13 +08:00
Mervin
69d2f5a07d
Add: object storage api for list extend attributes
Signed-off-by: Mervin <mofei2816@gmail.com>
2020-03-09 01:06:30 +08:00
wenjia322
af94502147 feature: add api CreateBucket
Signed-off-by: wenjia322 <buaa1214wwj@126.com>
2020-01-13 11:23:32 +08:00
wenjia322
0ea6447516 feature: cache authnode-info in objectnode and check user policy before calling handle function
Signed-off-by: wenjia322 <buaa1214wwj@126.com>
2020-01-08 18:36:04 +08:00
Mofei Zhang
ebfe9e297c
supplementary licence information and documents
Signed-off-by: Mofei Zhang <mofei2816@gmail.com>
2019-12-19 19:03:30 +08:00
Mofei Zhang
d609fedb5c feature: object storage interface
Add ObjectNode provides S3-compatibile APIs.
Fusion Storage interface expose two interface (POSIX and S3-compatible) for file operation.

Signed-off-by: Mofei Zhang <mofei2816@gmail.com>
2019-12-17 17:36:53 +08:00