Commit Graph

4746 Commits

Author SHA1 Message Date
liubingxing
cde83bd84f fix(client): dp near read do not work because NearHosts was replaced by Hosts
Signed-off-by: liubingxing <liubbingxing@gmail.com>
2025-04-10 15:28:04 +08:00
FourSpaces
b7635952e0 fix(objectnode): When S3 deletes an object, the empty folder is not recursively deleted
Signed-off-by: FourSpaces <cheng1483x@gmail.com>
2025-04-10 11:16:02 +08:00
FourSpaces
9cc87735fe fix(objectnode): S3 Folder not recursively deleted
Signed-off-by: FourSpaces <cheng1483x@gmail.com>
2025-04-10 11:16:02 +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
slasher
65889a5213 feat(util): try to wait with context in retry
cpu: Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz
BenchmarkWait
BenchmarkWait/success
BenchmarkWait/success-4     432140625    2.793 ns/op    0 B/op  0 allocs/op
BenchmarkWait/retry-3
BenchmarkWait/retry-3-4      97395789   12.27 ns/op     0 B/op  0 allocs/op
BenchmarkContext
BenchmarkContext/success
BenchmarkContext/success-4  449174043    2.641 ns/op    0 B/op  0 allocs/op
BenchmarkContext/retry-3
BenchmarkContext/retry-3-4    3177039  380.2 ns/op    232 B/op  3 allocs/op

@formatter:off

Closes #3758

Signed-off-by: slasher <shenjie1@oppo.com>
2025-04-09 16:41:55 +08:00
baihailong
11983f9888 feat(docs): add sdk user manual.
Signed-off-by: baihailong <baihailong@oppo.com>
2025-04-04 11:32:40 +08:00
baihailong
3e737aaf98 feat(docs): add sdk user manual.
Signed-off-by: baihailong <baihailong@oppo.com>
2025-04-02 09:54:27 +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
slasher
fbca71d06c perf(util): scale the capacity of buffer in o1
BenchmarkBytespool
BenchmarkBytespool-4  21887019  67.65 ns/op  28 B/op  1 allocs/op

@formatter:off

close #3740

Signed-off-by: slasher <shenjie1@oppo.com>
2025-03-24 14:16:30 +08:00
leonrayang
a92c8452cf fix(revert): align and reuse the Packet struct to reduce allocated memory
This reverts commit f4c3f8aa40.

Signed-off-by: leonrayang <chl696@sina.com>
2025-03-21 15:37:39 +08:00
daimaishusheng
f4c3f8aa40 perf(metanode): align and reuse the Packet struct to reduce allocated memory
Signed-off-by: daimaishusheng <tangjiankun1226@gmail.com>
2025-03-21 14:59:11 +08:00
zhaoguangbao
5e22523086 fix(raft): fix readIndex not set index.
Signed-off-by: zhaoguangbao <zhaoguangbao@xiaomi.com>
2025-03-20 17:12:07 +08:00
FourSpaces
18a63b6a17 fix(lcnode): The randomness of goroutine scheduling sequence may lead to errors
Signed-off-by: FourSpaces <cheng1483x@gmail.com>
2025-03-20 16:44:56 +08:00
yanbin027
f25c5b9cc7 feat(client): "client support aheadread"
Signed-off-by: yanbin027 <yanbin027@ke.com>
2025-03-20 14:18:21 +08:00
jrchyang
c918d5cfce fix(build): enable multi-thread compilation in rocksdb
Signed-off-by: jrchyang <yujrchyang@gmail.com>
2025-03-19 11:12:34 +08:00
Victor1319
ee92370d58 docs(docs): update yum rpm to 3.5.0.
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-03-19 09:47:13 +08:00
aaronwu2010
7d941bab3c docs(docs): Add one new single mode setup method.
Signed-off-by: aaronwu2010 <huochengwu@qq.com>
2025-03-18 17:36:02 +08:00
slasher
67a3eb55b9 fix(blobstore): unpacking imports in clustermgr api
@formatter:off

close #3725

Signed-off-by: slasher <shenjie1@oppo.com>
2025-03-18 11:18:23 +08:00
slasher
5c6586357c chore(testing): move mocks of iopool to testing
@formatter:off

Signed-off-by: slasher <shenjie1@oppo.com>
2025-03-18 11:18:23 +08:00
leonrayang
7653850560 feat(doc): Update the ROADMAP of 2025
Signed-off-by: leonrayang <chl696@sina.com>
2025-03-18 10:16:56 +08:00
Victor1319
99bd130e53 docs(docs): add version 3.5.0 to change log.
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-03-14 14:41:24 +08:00
Victor1319
bd38497923 docs(docs): remove upgrade 3.5 faq from docs.
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-03-14 14:41:24 +08:00
yuxiaobo
45e4e5868d fix(blobstore): Entries returns a slice of log entries in the range [lo,hi)
Signed-off-by: yuxiaobo <yxbstorm@gmail.com>
2025-03-13 09:14:38 +08:00
Victor1319
67ef38bd41 docs(docs): update upgrade 3.5.0 title level.
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-03-12 19:45:58 +08:00
Victor1319
2c13743c59 docs(docs): add faq upgrade file to sidbar.
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-03-12 17:08:24 +08:00
Victor1319
1355cddd80 docs(docs): add feature hybridcloud file to sidbar.
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-03-12 15:00:30 +08:00
Victor1319
e1b0c89706 docs(docs): correct some issuse abount docs. #23131054
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-03-11 18:42:50 +08:00
Victor1319
df9ff5fd79 docs(docs): add docs abount 3.5.0. #23131054
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-03-11 18:42:50 +08:00
zhaochenyang
13b9510a31 docs(doc): add cubefs lcnode config
Signed-off-by: zhaochenyang <zhaochenyang@oppo.com>
2025-03-11 18:42:50 +08:00
zhaochenyang
96b0587ca5 docs(doc): add cubefs lcnode design introduction
Signed-off-by: zhaochenyang <zhaochenyang@oppo.com>
2025-03-11 18:42:50 +08:00
Reliey
c2d9c0c31c feat(docs): update FAQ cases.
Signed-off-by: Reliey <616318745@qq.com>
2025-03-06 20:13:39 +08:00
slasher
7f1e02e668 chore(style): fix semgrep of ip v6 in document
Signed-off-by: slasher <shenjie1@oppo.com>
2025-03-03 11:07:46 +08:00
zjregee
1e55506ba3 docs(doc): Update the maturity level of cubefs to graduated
Signed-off-by: zjregee <zjregee@gmail.com>
2025-03-03 10:39:47 +08:00
shuqiang-zheng
3ae088f641 docs(doc): modify the csi driver image.
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-02-28 21:03:22 +08:00
slasher
c713d78265 chore(style): fix up semgrep for ip v4 and v6
Signed-off-by: slasher <shenjie1@oppo.com>
2025-02-19 10:05:11 +08:00
slasher
1f851540ac chore(test): add semgrep ignore paths
Signed-off-by: slasher <shenjie1@oppo.com>
2025-02-18 17:53:24 +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
Haifeng
5f9ccb2ccc update haifeng's email 2025-02-15 01:12:20 +08:00
yuxiaobo
2ba145511f feat(raftserver): the raft log is stored in rocksdb
Signed-off-by: yuxiaobo <yxbstorm@gmail.com>
2025-02-13 10:37:58 +08:00
aaronwu2010
f091672537 docs(doc): Fix some document mistake.
Signed-off-by: aaronwu2010 <huochengwu@qq.com>
2025-02-12 17:45:40 +08:00
slasher
f4d63c379c chore(github): upgrade codeql to v3
version: v3.28.9

Signed-off-by: slasher <shenjie1@oppo.com>
2025-02-12 10:03:23 +08:00
aaronwu2010
5c2e4153c7 docs(all): Add FAQ pages.
Signed-off-by: aaronwu2010 <huochengwu@qq.com>
2025-02-11 19:57:15 +08:00
Victor1319
23731ab7f5 fix(meta): fix metanode panic when append empty extents. #3648
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-02-10 09:45:16 +08:00
slasher
8e76523249 chore(github): upgrade action of upload-artifact
see more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Signed-off-by: slasher <shenjie1@oppo.com>
2025-02-08 15:27:14 +08:00
Haifeng Liu
8b116fb918
Update README.md
graduated + can be run in the cloud
2025-01-17 22:31:40 +08:00
FourSpaces
121b2c87e1 fix(othertools): java libcubefs compilation failure caused by path errors
Signed-off-by: FourSpaces <cheng1483x@gmail.com>
2025-01-17 11:15:18 +08:00
tangdeyi
c255d8f92f fix(clustermgr): fix abnormal hardState commit
with #22897498

Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2025-01-13 14:17:27 +08:00
morphes1995
4a96eeb26e fix(object): buffer optimization when calculate md5sum
Signed-off-by: morphes1995 <morphes1995@gmail.com>
2025-01-10 15:56:35 +08:00
Reliey
b0cd15e1c4 docs(doc): Modify fsck clean instructions.
Signed-off-by: Reliey <616318745@qq.com>
2025-01-09 19:12:02 +08:00