Commit Graph

230 Commits

Author SHA1 Message Date
leonrayang
2e2250256c fix(docker): The filed version is obsolete due to the updated version of Docker Composeweq
Signed-off-by: leonrayang <chl696@sina.com>
2025-02-18 15:19:32 +08:00
Victor1319
0c406f55d9 refactor(master): resolve conflicts when picking to master branch. #22906448
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
leonrayang
3396accd80 feat(projectstructure): reorganize the module directory in the root to a suitable subdirectory
close:#22458839

Signed-off-by: leonrayang <chl696@sina.com>
2024-12-26 09:24:22 +08:00
Victor1319
7b8801af4e test(docker): support run in hybrid way for docker mod. #22816675
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
6cafecdb7d feat(masterclientcli): add property volStorageClass and allowedStorageClass to volume
now volType is not uesed while creating volume, but is maintained for compability

Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
7a915e87e0 feat(client): hybrid cloud supports the option to choose SSD or HDD data partition
Signed-off-by: chihe <chi.he@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
f70b3cfe38 feat(masterdatacli): hybrid cloud add datanode's mediaType
for module master and datanode; the cmd 'cfs-cli datanode info' can show datanode's mediaType

Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
leonrayang
6792a393df fix(master): simplify the process of FolloweRead jugement and resolve issues
Signed-off-by: leonrayang <chl696@sina.com>
2024-12-26 09:24:22 +08:00
leonrayang
cde492bba6 fix(docker): Update docker-compose to docker compose to adapt to github unbuntu env change
Signed-off-by: leonrayang <chl696@sina.com>
2024-08-06 15:21:40 +08:00
NaturalSelect
374018d88d fix(client): fix appendExtentKey extent conflict
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-22 17:10:59 +08:00
Victor1319
4df91ebc6e refactor(all): reslove merge conflicts between 3.3.x and 3.4.0.
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-07-18 16:57:38 +08:00
slasher
fa71952e55 feat(build): build with goreleaser
Signed-off-by: slasher <shenjie1@oppo.com>
2024-07-18 16:57:38 +08:00
zhaochenyang
b7cb75b8a0 feat(ci): add sast tools gosec and semgrep
Signed-off-by: zhaochenyang <zhaochenyang@oppo.com>
2024-07-18 16:57:38 +08:00
slasher
f97f692c27 chore(ci): replace blobstore checking with main format
Signed-off-by: slasher <shenjie1@oppo.com>
2024-07-16 11:39:45 +08:00
slasher
5c7898354f style(all): format all codes with golangci tools
closes #3371

@formatter:off

Signed-off-by: slasher <shenjie1@oppo.com>
2024-05-14 09:54:13 +08:00
S9054862
54fad0d873 fix(util): disable gohook by default
close: #21985685

Signed-off-by: S9054862 <huangzhibin1@oppo.com>
2024-03-27 14:24:50 +08:00
mingwei
da525628ab fix(docker): fix docker-compose yml
double '<<' isn't allowed to new version of docker-compose, change to
the new form.

Signed-off-by: mingwei <42128779+heymingwei@users.noreply.github.com>

fix(docker): fix docker-compose yml

double '<<' isn't allowed to new version of docker-compose, change to
the new form.

Signed-off-by: mingwei <42128779+heymingwei@users.noreply.github.com>
2024-02-29 15:54:40 +08:00
NaturalSelect
96a24a26e9 chore(build): fix go 1.21 build cache
Signed-off-by: NaturalSelect <2145973003@qq.com>
2024-02-04 19:01:39 +08:00
NaturalSelect
2976aea433 chore: fix get_go_build_cache
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-01-24 19:00:11 +08:00
NaturalSelect
688270c480 chore: build in docker support build cache
Signed-off-by: NaturalSelect <2145973003@qq.com>
2024-01-23 15:15:31 +08:00
slasher
4ae8eb48e7 chore(proto): golangci lint apply into proto
Signed-off-by: slasher <shenjie1@oppo.com>
2024-01-12 14:21:16 +08:00
slasher
1d84f74acd chore(format): format all code with gofumpt
Signed-off-by: slasher <shenjie1@oppo.com>
2024-01-12 14:21:16 +08:00
NaturalSelect
c65758cf9c feat(ci): ci test support podman
Signed-off-by: NaturalSelect <2145973003@qq.com>
2024-01-09 14:19:28 +08:00
slasher
cef3ec9fb9 chore(docker): use variables in docker yml
Signed-off-by: slasher <shenjie1@oppo.com>
2024-01-09 14:19:28 +08:00
slasher
481fd33b9e chore(master): turn off logging of testing in docker
Signed-off-by: slasher <shenjie1@oppo.com>
2024-01-04 17:37:31 +08:00
slasher
fc431f6360 chore(ci): remove ltp in docker if no ltptest
Signed-off-by: slasher <shenjie1@oppo.com>
2023-12-28 17:13:05 +08:00
slasher
27c0b44a17 chore(blockcache): golangci lint apply into blockcache
Signed-off-by: slasher <shenjie1@oppo.com>
2023-12-28 17:13:05 +08:00
slasher
8234a93836 chore(lcnode): golangci lint apply into lcnode
Signed-off-by: slasher <shenjie1@oppo.com>
2023-12-28 17:13:05 +08:00
slasher
8f3e31faa8 feat(ci): show diffs of gofmt in ci format
Signed-off-by: slasher <shenjie1@oppo.com>
2023-12-27 10:23:10 +08:00
slasher
3fd0354057 feat(build): build with goreleaser
Signed-off-by: slasher <shenjie1@oppo.com>
2023-12-06 18:43:46 +08:00
zhaochenyang
4566e8810e feat(ci): add sast tools gosec and semgrep
Signed-off-by: zhaochenyang <zhaochenyang@oppo.com>
2023-12-06 17:05:54 +08:00
zhuzhengyi001
9f968b373d Enhancement: update dockerimage for s3test
Signed-off-by: zhuzhengyi001 <zhuzhengyi001@ke.com>
Signed-off-by: slasher <shenjie1@oppo.com>
2023-11-24 14:41:14 +08:00
leonrayang
88a5b8247d fix(metanode):add verlist to mp snapshot process
Signed-off-by: leonrayang <chl696@sina.com>
2023-11-17 14:19:20 +08:00
slasher
7f406e5d0e chore(cli): golangci lint apply into cli
Signed-off-by: slasher <shenjie1@oppo.com>
2023-10-23 15:31:07 +08:00
slasher
a679018192 build(storage): format code with go generate
Signed-off-by: slasher <shenjie1@oppo.com>
2023-09-18 15:22:58 +08:00
NaturalSelect
7b945319cd test(ci): show node information to help debug
Signed-off-by: NaturalSelect <2145973003@qq.com>
2023-09-15 14:33:24 +08:00
zhaochenyang
c645785ba2 reduce docker datanode disks value
Signed-off-by: zhaochenyang <zhaochenyang@oppo.com>
2023-08-30 20:05:32 +08:00
yhjiango
4401624f96 feat(objectnode): s3 sts and signature auth
1. sts federation token
2. signature auth code refactor

Signed-off-by: yhjiango <jiangyunhua@oppo.com>
2023-08-30 20:05:32 +08:00
baijiaruo
2b28251e71 fix ci startup failure problem
Signed-off-by: baijiaruo <huyao2@oppo.com>
2023-08-30 20:05:32 +08:00
Patrick Wu
8f9417b523 fix: 1.add parameters for lcnode task routine num. 2.return registration err when max concurrent lcnode reached
Signed-off-by: Patrick Wu <wuchunhuan@oppo.com>
2023-08-30 20:05:32 +08:00
Patrick Wu
f576dece63 fix: batchExpirationGetNum and scanCheckInterval config parameters can not load correctly
Signed-off-by: Patrick Wu <wuchunhuan@oppo.com>
2023-08-30 20:05:32 +08:00
leonrayang
4d81c6693c update: snapshot deletion and build test env
. inode 0 snapshot deletion and top layer deletion
. extentlist get inode don't need verion
. snapshot tools clean support 0 deletion
. update: build metanode basic test env

Signed-off-by: leonrayang <chl696@sina.com>
2023-08-30 20:05:32 +08:00
Patrick Wu
29e3110a93 S3 lifecycle
Signed-off-by: Patrick Wu <wuchunhuan@gmail.com>
2023-08-30 20:05:32 +08:00
leonrayang
5ae500768b feature: support multi version snapshot
Signed-off-by: leonrayang <chl696@sina.com>
2023-08-30 20:05:32 +08:00
tangdeyi
0bb8a4b6ea feat(objectnode): read/write cold volume buffer pool
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2023-08-04 18:08:38 +08:00
baijiaruo
b6019dd7df feat(ci): clear code scanning alert by Dockerfile
Signed-off-by: baijiaruo <baijiaruo@126.com>
2023-08-04 10:25:02 +08:00
baijiaruo
56e418f726 feat(docker): clear code scanning alert
Signed-off-by: baijiaruo <baijiaruo@126.com>
2023-08-03 15:30:55 +08:00
tangdeyi
a37e2a32e6 fix(objectnode): uploadPart compares the Content-Md5 with the body checksum
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
Signed-off-by: tangdeyi <deyitang94@gmail.com>
2023-07-20 10:58:50 +08:00
tangdeyi
9184d6fcd3 perf(objectnode): improve metadata operation performance
Signed-off-by: tangdeyi <deyitang94@gmail.com>
2023-07-20 10:58:50 +08:00
yhjiango
2040ce00a9 fix(objectnode): fix bucket policy and location processing
1. Fix the problem of returning 500 internal errors in PutBucketPolicy.
2. Add related parameter verification in GetBucketLocation.

Signed-off-by: yhjiango <jiangyunhua@oppo.com>
2023-07-20 10:58:50 +08:00