Commit Graph

245 Commits

Author SHA1 Message Date
chihe
9c561ac9e3 feat(flashgroupmaster): support raft
close:#1000167427

Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit b7af94e2a4)
2025-12-24 16:59:49 +08:00
chihe
d95c94d0e8 feat(flashgroupmanager): support api for flashnode management
close:#1000154569

Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit 7d37d86f47)
2025-12-24 16:59:49 +08:00
chihe
7db7d4ddfc feat(flashgroupmanager): support api for flashgroup management
close:#1000153351

Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit 0f02785f81)
2025-12-24 16:59:49 +08:00
chihe
4497d7de7a feat(flashgroupmanager): support api service
close:#1000151163

Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit e40e6c0597)
2025-12-24 16:59:49 +08:00
zhumingze1108
2f8f2f92a7 fix(sdk): gofmt v3.5.2 for mege to master
Signed-off-by: zhumingze1108 <zhumingze@oppo.com>
2025-08-11 20:21:42 +08:00
Wu Huocheng
ddbff60e9c feat(master): forbidden to create data partition when the writable number reach config value
. #1000100007

Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-08 14:59:28 +08:00
Victor1319
c3ccdfc7e2 refactor(sdk): remove dp cache code from sdk, client, cli. #1000063488
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:27 +08:00
leonrayang
27ff3d3280 fix(master): Leader mismatch during volume cache synchoronize #23117176
Signed-off-by: leonrayang <chl696@sina.com>
2025-08-07 16:00:29 +08:00
slasher
a53b757e6d fix(flashnode): run testing in docker with no tmpfs
. #22200600

Signed-off-by: slasher <mcq.sejust@gmail.com>
2025-08-07 15:19:07 +08:00
slasher
d30f8cae5b feat(flashnode): run flashnode in docker
. #22115361

Signed-off-by: slasher <mcq.sejust@gmail.com>
2025-08-07 15:19:00 +08:00
slasher
131b332136 chore(ci): split run test for cubefs and blobstore
@formatter:off

Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-09 10:05:10 +08:00
slasher
d4288318de feat(ci): add docker for go 1.18
@formatter:off

close: #3782

Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:16 +08:00
slasher
e8adeff5fa chore(build): try to use the newest command docker compose
@formatter:off

Signed-off-by: slasher <shenjie1@oppo.com>
2025-04-09 16:41:55 +08:00
StevenLeiZhang
7a1921817a fix(build): grafana container can not start
close #3746

Signed-off-by: StevenLeiZhang <zhangleiic@163.com>
2025-03-31 10:15:06 +08:00
StevenLeiZhang
fbdd016bbb fix(build): run_docker.sh raises error
close #3743

Signed-off-by: StevenLeiZhang <zhangleiic@163.com>
2025-03-31 10:01:43 +08:00
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