Commit Graph

4781 Commits

Author SHA1 Message Date
JasonHu520
ecff057179 docs(docs): update docs for scheduler of blobstore
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2025-04-28 16:46:43 +08:00
mawei029
34e6122824 docs(blobnode): update blobnode config qos docs
@formatter:off

Signed-off-by: mawei029 <mawei2@oppo.com>
2025-04-28 16:46:43 +08:00
mawei029
0aeb9e0adb refactor(blobnode): first wait token, and then read/write io
with: #1000064393

Signed-off-by: mawei029 <mawei2@oppo.com>
2025-04-28 11:30:09 +08:00
slasher
b1fa364a84 fix(blobnode): return user code for writing less body
. #1000076490

Signed-off-by: slasher <shenjie1@oppo.com>
2025-04-28 11:30:09 +08:00
slasher
8f7c5f1a09 chore(cli): list all broken chunks
. #23065780

Signed-off-by: slasher <shenjie1@oppo.com>
2025-04-28 11:30:09 +08:00
mawei029
640cb1e6ed chore(blobnode): parse shard header at position
with: #1000070129

Signed-off-by: mawei029 <mawei2@oppo.com>
2025-04-28 11:30:09 +08:00
mawei029
9b25f1aeb4 refactor(blobnode): config reload dont return json args, only return ok
with: #1000073970

Signed-off-by: mawei029 <mawei2@oppo.com>
2025-04-28 11:30:09 +08:00
mawei029
47de7947f4 refactor(blobnode): limit the maximum depth value of qos config
with: #1000074167

Signed-off-by: mawei029 <mawei2@oppo.com>
2025-04-28 11:30:09 +08:00
mawei029
d56977c8ca refactor(blobnode): datafile Read return io.ReadCloser, shard body io.ReadCloser
with: #1000064393

Signed-off-by: mawei029 <mawei2@oppo.com>
2025-04-28 11:30:09 +08:00
mawei029
9492b9d139 fix(blobnode): fix release bytespool buffer when return reader, add ut concurrence read and write
with: #1000064393

Signed-off-by: mawei029 <mawei2@oppo.com>
2025-04-28 11:30:09 +08:00
mawei029
2bd3104251 chore(blobnode): add cost time statistics when datafile delete shard
with: #23146103

Signed-off-by: mawei029 <mawei2@oppo.com>
2025-04-28 11:30:09 +08:00
slasher
82ddae18d4 feat(access): logging slow disk in get and put
. #1000037209

Signed-off-by: slasher <shenjie1@oppo.com>
2025-04-28 11:30:09 +08:00
mawei029
fc8d7649dc feat(blobnode): qos io hot change max concurrence limit count
with: #23146103

Signed-off-by: mawei029 <mawei2@oppo.com>
2025-04-28 11:30:09 +08:00
slasher
5d949cc7d7 docs(blobstore): add document of access directly read shard data
@formatter:off

Signed-off-by: slasher <shenjie1@oppo.com>
2025-04-28 11:30:09 +08:00
mawei029
413a35c2c6 refactor(blobnode): qos io delete concurrency, hot change delete max wait count
with: #23079658

close #3720

Signed-off-by: mawei029 <mawei2@oppo.com>
2025-04-28 11:30:09 +08:00
tangdeyi
543a0b993e fix(clustermgr): fix heartbeat disk err return
with #23092315

close #3699

Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2025-04-28 11:30:09 +08:00
mawei029
512e717991 feat(blobnode): write big/small io payload with header and footer
with: #23079652

close #3719

Signed-off-by: mawei029 <mawei2@oppo.com>
2025-04-28 11:30:09 +08:00
JasonHu520
a1fb8c24f8 feat(scheduler): add rate limit for delete
with: #23065620

+ #3720

Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2025-04-28 11:30:09 +08:00
mawei029
dd35b8f085 refactor(blobnode): optimize merge multi small io into single write, optimize read alloc memory
with: #23079652, #23080447

+ #3719

Signed-off-by: mawei029 <mawei2@oppo.com>
2025-04-28 11:30:09 +08:00
slasher
70b557d945 chore(common): sized crc32 with go 1.17
Add back transport later for TODO

@formatter:off

close #3718

Signed-off-by: slasher <shenjie1@oppo.com>
2025-04-28 11:30:09 +08:00
slasher
9059184293 feat(common): add crc32 sized block coder
. #23096104

+ #3718

Signed-off-by: slasher <shenjie1@oppo.com>
2025-04-28 11:30:09 +08:00
slasher
9085a00da3 feat(common): avoid crc32 sized coder allocation
. #23074869

+ #3718

Signed-off-by: slasher <shenjie1@oppo.com>
2025-04-28 11:30:09 +08:00
slasher
b4ed23d627 feat(common): crc32 encoder with append mode
. #22922161

+ #3718

Signed-off-by: slasher <shenjie1@oppo.com>
2025-04-28 11:30:09 +08:00
slasher
ac2ac1549a feat(common): crc32 checker with fix mode
return fixed decodable crc body

. #22922161

+ #3718

Signed-off-by: slasher <shenjie1@oppo.com>
2025-04-28 11:30:09 +08:00
slasher
f2cfda4126 feat(common): crc32 decoder with load mode
return head and data

. #22922161

+ #3718

Signed-off-by: slasher <shenjie1@oppo.com>
2025-04-28 11:30:09 +08:00
slasher
427d0ae09c feat(common): add zero copy and partial content crc32 en-decoder
. #22922161

+ #3718

Signed-off-by: slasher <shenjie1@oppo.com>
2025-04-28 11:30:09 +08:00
tangdeyi
3cb3892be7 fix(clustermgr): some minor bug fixes
1. put diskmgr refresh into loadData
2. fix check inconsistent vid
3. raft http server timeout can be configured
4. applyExpireVolume not double check volume expiration
5. applyAllocVolume not double check volume free size or health

with #23092315

close #3722

Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2025-04-28 11:30:09 +08:00
slasher
b31e484c9b fix(access): remove marker of listing broken disk
. #23065780

Signed-off-by: slasher <shenjie1@oppo.com>
2025-04-28 11:30:09 +08:00
JasonHu520
42f85990a5 perf(scheduler): optimize delete process
with: #23065620

close #3721

Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2025-04-28 11:30:09 +08:00
mawei029
a95dde77bf fix(blobnode): delete local disk after it is repaired, fix access DiskNotFound
@formatter:off

Signed-off-by: mawei029 <mawei2@oppo.com>
2025-04-28 11:30:09 +08:00
slasher
0d3ac68d65 feat(access): with other timeout in read only data shard
. #22782275

close #3717

Signed-off-by: slasher <shenjie1@oppo.com>
2025-04-28 11:30:09 +08:00
zhangjianwei
f4c9dac980 docs(cm): fix volume_inspect switch key
Signed-off-by: zhangjianwei <jianwei1216@qq.com>
2025-04-16 09:56:26 +08:00
liubingxing
3d51f7b6ba fix(cli): migrate metanode cmd cannot work with default limit mp count
Signed-off-by: liubingxing <liubbingxing@gmail.com>
2025-04-15 17:12:55 +08:00
liubingxing
e0ca16e6ad fix(cli): migrate metanode cmd cannot work with default limit mp count
Signed-off-by: liubingxing <liubbingxing@gmail.com>
2025-04-15 17:12:55 +08:00
liubingxing
ec394572c8 fix(master): fix chooseZoneNormal when multi zones and each one only has a node
Signed-off-by: liubingxing <liubbingxing@gmail.com>
2025-04-11 14:47:42 +08:00
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