slasher
6b2e7926be
fix(access): limit writer in pipe
...
@formatter:off
Signed-off-by: slasher <shenjie1@oppo.com>
2026-06-22 11:11:24 +08:00
xiejian
e286733d88
fix(shardnode): clean up prometheus labels on shard/disk removal
...
with: #1000420047
Signed-off-by: xiejian <xiejian3@oppo.com>
2026-05-25 10:40:13 +08:00
JasonHu520
9f669c9dcc
fix(proxy): use route item version instread of volume
...
with: #1000987849
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2026-05-21 11:27:33 +08:00
JasonHu520
3f66f4673b
feat(cli): when migrate node check volume unit unavailable
...
with: #1000420094
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2026-05-20 19:10:42 +08:00
xiejian
bb7e06259b
fix(clustermgr): use actual range count for shard init done check
...
with: #1000979225
Signed-off-by: xiejian <xiejian3@oppo.com>
2026-05-18 19:10:24 +08:00
xiejian
612b656595
refactor(shardnode): improve tracing and volume cache consistency
...
with: #1000420040
Signed-off-by: xiejian <xiejian3@oppo.com>
2026-05-15 11:02:25 +08:00
tangdeyi
5819c292a8
fix(clustermgr): fix the volume and shard route field persistence
...
with #1000431984
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2026-05-14 09:35:07 +08:00
xiejian
9dba0f1a9f
feat(access): support gradual repair message routing to shardnode
...
with: #1000959605
Signed-off-by: xiejian <xiejian3@oppo.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-12 17:51:53 +08:00
tangdeyi
22accdacd7
fix(clustermgr): fix route overflow causing abnormal cleanup process
...
with #1000431984
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2026-05-12 15:45:40 +08:00
JasonHu520
736b07427b
fix(scheduler): fixup repair task lock failed
...
with: #1000941756
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2026-05-07 16:23:59 +08:00
slasher
05433024c1
fix(clustermgr): fixup repaired disk's node id
...
. #1000431984
Signed-off-by: slasher <shenjie1@oppo.com>
2026-05-07 10:23:09 +08:00
xiejian
7ac5d2eb6d
fix(clustermgr): skip Repaired/Dropped disks in hostPathFilter on node host update
...
with: #1000453093
Signed-off-by: xiejian <xiejian3@oppo.com>
2026-05-06 19:30:46 +08:00
JasonHu520
16b5d3e6f1
fix(blobnode): fix disk meta info crc not match for fallback last version
...
with: #1000887229
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2026-04-21 09:23:09 +08:00
slasher
32fa5e55b1
fix(clustermgr): minus reserved space once on replica node
...
. #1000192943
Signed-off-by: slasher <shenjie1@oppo.com>
2026-04-21 09:23:09 +08:00
slasher
9bff191118
chore(clustermgr): fixup logging format of disk id
...
. #1000431984
Signed-off-by: slasher <shenjie1@oppo.com>
2026-04-21 09:23:09 +08:00
slasher
2c1a8821b3
docs(blobstore): update documentation for new version
...
. #1000431984
Signed-off-by: slasher <shenjie1@oppo.com>
2026-04-21 09:23:09 +08:00
xiejian
c2d0d7992e
fix(clustermgr): skip not enabled codemode when getWeightedDataUnitCount
...
with #1000518879
Signed-off-by: xiejian <xiejian3@oppo.com>
2026-04-21 09:23:09 +08:00
xiejian
7acad970e0
feat(proxy): print codemode config when start serve
...
with: #1000420053
Signed-off-by: xiejian <xiejian3@oppo.com>
2026-04-21 09:23:09 +08:00
xiejian
ec7940db5c
fix(proxy): check volume routeversion before update to cache
...
with: #1000419929
Signed-off-by: xiejian <xiejian3@oppo.com>
2026-04-21 09:23:09 +08:00
slasher
193bfb416b
feat(clustermgr): create volume route for admin interface
...
. #1000431984
Signed-off-by: slasher <shenjie1@oppo.com>
2026-04-21 09:23:09 +08:00
slasher
ad09ec279d
chore(cli): move args of clustermgr volume list to flags
...
. #1000657118
Signed-off-by: slasher <shenjie1@oppo.com>
2026-04-21 09:23:09 +08:00
slasher
3269ca5906
fix(blobnode): fixup blobnode write trace of net reader
...
. #1000657118
Signed-off-by: slasher <shenjie1@oppo.com>
2026-04-21 09:23:09 +08:00
JasonHu520
c73f38b2f4
fix(scheduler): manual migrate task also should fresh disk info
...
with: #1000744290
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2026-04-21 09:23:09 +08:00
JasonHu520
0c7f1fbb42
fix(scheduler): follower also should load normal disk
...
with: #1000744290
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2026-04-21 09:23:09 +08:00
JasonHu520
48e9013b93
fix(scheduler): update disk info for inspect task
...
with: #1000744290
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2026-04-21 09:23:09 +08:00
xiejian
407a763600
fix(proxy): set the correct number of volumes to buffer upon restart
...
with: #1000705228 #1000420053
Signed-off-by: xiejian <xiejian3@oppo.com>
2026-04-21 09:23:09 +08:00
slasher
df7cec5ad0
feat(cli): add filter rack for choosing nodes
...
. #1000645443
Signed-off-by: slasher <shenjie1@oppo.com>
2026-04-21 09:23:09 +08:00
slasher
dec013044a
style(common): using generic version of functions
...
. #1000657118
Signed-off-by: slasher <shenjie1@oppo.com>
2026-04-21 09:23:09 +08:00
xiejian
a07809fc95
refactor(shardnode): reorganize shardnode cli tools
...
with: #1000685347
Signed-off-by: xiejian <xiejian3@oppo.com>
2026-04-21 09:23:09 +08:00
xiejian
6272fa3d38
fix(shardnode): encode blob task stats in correct way
...
with: #1000420040
Signed-off-by: xiejian <xiejian3@oppo.com>
2026-04-21 09:23:09 +08:00
xiejian
94da88c382
fix(shardnode): set default retry times for slice repair config
...
with: #1000420040
Signed-off-by: xiejian <xiejian3@oppo.com>
2026-04-21 09:23:09 +08:00
slasher
ae2107cc6c
feat(cli): show blocking volume of migrate node, create task auto
...
. #1000645443
Signed-off-by: slasher <shenjie1@oppo.com>
2026-04-21 09:23:09 +08:00
slasher
ac1f02e5c9
feat(cli): greedy find safe nodes to move
...
. #1000645443
Signed-off-by: slasher <shenjie1@oppo.com>
2026-04-21 09:23:09 +08:00
xiejian
9c76be3c6a
fix(shardnode): fix sliceRepiarMgr components not initialized
...
with: #1000420040
Signed-off-by: xiejian <xiejian3@oppo.com>
2026-04-21 09:23:09 +08:00
mawei029
ac7ac4b7bb
fix(blobnode): blobnode start up change ip, add node with local node id
...
with: #1000464074
Signed-off-by: mawei029 <mawei2@oppo.com>
2026-04-21 09:23:09 +08:00
tangdeyi
8d37f14b22
fix(clustermgr): fix update node info
...
with #1000596325
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2026-04-21 09:23:09 +08:00
xiejian
44ff52987e
feat(shardnode): support ip change for blob delete and slice repair process
...
with: #1000567432
Signed-off-by: xiejian <xiejian3@oppo.com>
2026-04-21 09:23:09 +08:00
xiejian
c2c9db173b
feature(shardnode): init shardnode metrics report
...
with: #1000503826
Signed-off-by: xiejian <xiejian3@oppo.com>
2026-04-21 09:23:09 +08:00
xiejian
c0a5c67060
feature(shardnode): metadata statistics implementation
...
with: #1000464391
Signed-off-by: xiejian <xiejian3@oppo.com>
2026-04-21 09:23:09 +08:00
xiejian
6dcf03ab41
refactor(shardnode): rename del_blob.go
...
with: #1000420040
Signed-off-by: xiejian <xiejian3@oppo.com>
2026-04-21 09:23:09 +08:00
xiejian
4d5b05ec0d
feat(shardnode): init execute repair message process
...
with: #1000420040
Signed-off-by: xiejian <xiejian3@oppo.com>
2026-04-21 09:23:09 +08:00
xiejian
073b7aee84
refactor(shardnode): rename blobdeleter package to message
...
with: #1000420040
Signed-off-by: xiejian <xiejian3@oppo.com>
2026-04-21 09:23:09 +08:00
xiejian
43248c2656
refactor(shardnode): 1.extract public blob message process components
...
2.update punish message process
with: #1000420040
Signed-off-by: xiejian <xiejian3@oppo.com>
2026-04-21 09:23:09 +08:00
mawei029
2294b13288
fix(blobnode): read format json backward compatible, check crc with old version
...
with: #1000464074
Signed-off-by: mawei029 <mawei2@oppo.com>
2026-04-21 09:23:09 +08:00
tangdeyi
e122cb60f3
feat(clustermgr): add cluster readonly manager api
...
with #1000596325
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2026-04-21 09:23:09 +08:00
tangdeyi
412fa7a48d
fix(clustermgr): total free chunk only stats normal disk
...
#1000518879
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2026-04-21 09:23:09 +08:00
slasher
6518595f6e
feat(access): no distance for crossing idc getting
...
. #1000573599
Signed-off-by: slasher <shenjie1@oppo.com>
2026-04-21 09:23:09 +08:00
slasher
8e85d22aee
feat(proxy): changeable expiration config for volume and disk
...
. #1000570314
Signed-off-by: slasher <shenjie1@oppo.com>
2026-04-21 09:23:09 +08:00
slasher
c047eecb51
feat(access): disk info expire in access memory
...
. #1000558473
Signed-off-by: slasher <shenjie1@oppo.com>
2026-04-21 09:23:09 +08:00
xiejian
e93202c7c9
refactor(proxy): replace VersionVolume with VolumeInfo
...
with: #1000419929
Signed-off-by: xiejian <xiejian3@oppo.com>
2026-04-21 09:23:09 +08:00
xiejian
00919b446f
feat(proxy): update volume cache by apply route update from clustermgr
...
with: #1000419929
Signed-off-by: xiejian <xiejian3@oppo.com>
2026-04-21 09:23:09 +08:00
slasher
ac43310e84
feat(cli): using disk host for command
...
. #1000557660
Signed-off-by: slasher <shenjie1@oppo.com>
2026-04-21 09:23:09 +08:00
slasher
0be8a2d820
feat(access): using disk host for put and get
...
. #1000557660
Signed-off-by: slasher <shenjie1@oppo.com>
2026-04-21 09:23:09 +08:00
tangdeyi
54a61cea8c
feat(clustermgr): multi create volume optimization
...
1. volume creation is limited by idc/disk free chunk
2. volume creation count can be configured by codemode ratio
3. volume creation can be triggered by volume writable space
with #1000518879
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2026-04-21 09:23:09 +08:00
tangdeyi
48d2dfdf6c
feat(clustermgr): update disk lastupdate when disk status changes
...
with #1000518879
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2026-04-21 09:23:09 +08:00
tangdeyi
6499ead6d5
feat(clustermgr): raft filewal cleans trash log by itself
...
with #1000543617
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2026-04-21 09:23:09 +08:00
tangdeyi
8b085fbac6
feat(clustermgr): clustermgr support blobnode ip change
...
with #1000453093
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2026-04-21 09:23:09 +08:00
JasonHu520
28c5590b25
feat(scheduler): support ip change for delete and shard repair process
...
with: #1000426729
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2026-04-21 09:23:09 +08:00
JasonHu520
df1a79c29d
feat(scheduler): support ip change for blobnode
...
with: #1000426729
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2026-04-21 09:23:09 +08:00
tangdeyi
3ffb090df4
feat(clustermgr): volume route add volume base info
...
with #1000431984
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2026-04-21 09:23:09 +08:00
mawei029
db13083205
feat(blobnode): support blobnode ip change with nodeID
...
with: #1000464074
Signed-off-by: mawei029 <mawei2@oppo.com>
2026-04-21 09:23:09 +08:00
tangdeyi
be22aad2b7
feat(clustermgr): create and update volume route
...
with #1000431984
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2026-04-21 09:23:09 +08:00
mawei029
2b2efeb073
fix(blobnode): we need check old disk status
...
when hot register disk; and check cluster id when add disk
with: #1000528521
Signed-off-by: mawei029 <mawei2@oppo.com>
2026-04-21 09:23:09 +08:00
JasonHu520
0e08c6e443
feat(scheduler): balance task access new alloc interface of cm
...
with: #1000527051
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2026-04-21 09:23:09 +08:00
mawei029
f66d9bd2ae
chore(blobnode): optimize stop blobnode, add some print log
...
with: #1000486493
Signed-off-by: mawei029 <mawei2@oppo.com>
2026-04-21 09:23:09 +08:00
xiejian
e0c1414bba
feat(proxy): supports independent config of volume cache for different codemode
...
with: #1000420053
Signed-off-by: xiejian <xiejian3@oppo.com>
2026-04-21 09:23:09 +08:00
slasher
06f8fb00cf
feat(log): apply async logger to app and api
...
. #1000453008
Signed-off-by: slasher <shenjie1@oppo.com>
2026-04-21 09:23:09 +08:00
slasher
b5fc5b8a23
feat(log): drop logging if aync queque is full
...
. #1000453008
Signed-off-by: slasher <shenjie1@oppo.com>
2026-04-21 09:23:09 +08:00
slasher
3771f8a0be
feat(log): add async logger in util
...
. #1000453008
Signed-off-by: slasher <shenjie1@oppo.com>
2026-04-21 09:23:09 +08:00
tangdeyi
e5e1848ef0
feat(clustermgr): alloc chunk at disk level in balance case
...
with #1000479337
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2026-04-21 09:23:09 +08:00
slasher
142434da6e
fix(access): return 499 if alloc canceled
...
. #1000508589
Signed-off-by: slasher <shenjie1@oppo.com>
2026-04-21 09:23:09 +08:00
mawei029
b572bb6be4
feat(blobnode): we can hot query, qos current statistic
...
with: #1000415457
Signed-off-by: mawei029 <mawei2@oppo.com>
2026-04-21 09:23:09 +08:00
zhangjianwei2
00fa06c716
feat(bssdk): support specify code_mode and cluster_id for access sdk put api
...
fixes: https://github.com/cubefs/cubefs/issues/3954
@formatter:off
Signed-off-by: zhangjianwei2 <zhangjianwei2@cmss.chinamobile.com>
2026-04-21 09:23:09 +08:00
yuzhiqiang
ed09c33f3b
feat(blobnode): supports mounting meta directories separately for each disk
...
@formatter:off
Signed-off-by: yuzhiqiang <yuzhiqiang_yewu@cmss.chinamobile.com>
2026-04-21 09:23:09 +08:00
JasonHu520
199a945da0
perf(scheduler): optimize volume lock and disk limiting conflicts
...
with: #1000414417
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2026-04-21 09:23:09 +08:00
mawei029
67e82011b3
fix(blobnode): fix clean lost disk metric when startup
...
fix fatal when lost disk has already marked broken disk
with: #1000389434 , #1000389466
Signed-off-by: mawei029 <mawei2@oppo.com>
2026-04-21 09:23:09 +08:00
slasher
5a588bb032
feat(access): retry uniqe proxy service in access
...
. #1000403229
Signed-off-by: slasher <shenjie1@oppo.com>
2026-04-21 09:23:09 +08:00
xiejian
b6ee58a15f
feat(shardnode): synchronize the latest volume alloc process of proxy
...
with: #1000389284
Signed-off-by: xiejian <xiejian3@oppo.com>
2026-04-21 09:23:09 +08:00
JasonHu520
c7188afc2a
feat(scheduler): acquire task no more aware task switch status
...
with: #1000380867
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2026-04-21 09:23:09 +08:00
yanghonggang
e3bc840a4e
refactor(blobstore): reuse stream mempool and lazy init in access
...
* blobstore/sdk/sdk_client.go: sdkHandler now reuses the memory pool from
the underlying stream handler instead of relying on a separate init()
* blobstore/api/access/client.go: Delay memory pool allocation until
New() is called, removing the forced init() allocation
close #3918
@formatter:off
Signed-off-by: yanghonggang <yanghonggang_yewu@cmss.chinamobile.com>
Signed-off-by: zhangjianwei2 <zhangjianwei2_yewu@cmss.chinamobile.com>
2026-04-21 09:23:09 +08:00
Cloudstriff
ec4630026b
feat(blobstore): init cpp version package directory
...
with #1000382944
Signed-off-by: Cloudstriff <chenjiong@oppo.com>
2026-04-21 09:23:09 +08:00
leonrayang
4d6c55a9ab
feat(doc): 2026 Roadmap Update
...
Signed-off-by: leonrayang <changliang@oppo.com>
2026-04-20 17:13:00 +08:00
chihe
80a062bf2c
fix(doc): modify change log
...
@formatter:off
Signed-off-by: chihe <chihe@oppo.com>
2025-12-26 14:59:44 +08:00
clinx
0bcdcee745
fix(flash): fix codeQL issue
...
@formatter:off
Signed-off-by: clinx <chenlin1@oppo.com>
2025-12-26 11:30:38 +08:00
leonrayang
0b02c44208
fix(client): Disable xattr security.capability to avoid useless request to backend
...
close:#1000519910
@formatter:off
Signed-off-by: leonrayang <changliang@oppo.com>
2025-12-25 14:43:17 +08:00
leonrayang
2b6173f7e6
fix(doc): Delete and update the usage of some outdated project names
...
@formatter:off
Signed-off-by: leonrayang <changliang@oppo.com>
2025-12-25 14:42:34 +08:00
clinx
43c448a75b
fix(flash): change the reserved space of flashnode
...
with: #1000568547
Signed-off-by: clinx <chenlin1@oppo.com>
2025-12-25 14:42:00 +08:00
Victor1319
0424ada0fc
fix(fuse): revert maxWrite constant to 128kB.
...
close:#1000511705
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-12-25 14:41:44 +08:00
chihe
81643df8cb
fix(master): add triggerCondition for dataNode balance
...
@formatter:off
Signed-off-by: chihe <chihe@oppo.com>
2025-12-24 19:31:51 +08:00
chihe
aa70981991
feat(doc): update docs for v3.5.3
...
@formatter:off
Signed-off-by: chihe <chihe@oppo.com>
2025-12-24 17:01:37 +08:00
clinx
68177b7812
fix(client): prevent directory and parent inode from referencing each other
...
with: #1000568547
Signed-off-by: clinx <chenlin1@oppo.com>
2025-12-24 17:01:37 +08:00
chihe
2816bd85d9
enhance(client): change default value for aheadReadMem
...
close:#1000517044
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit 95cef5547c )
2025-12-24 17:01:37 +08:00
chihe
85d119ca04
fix(client): add minAheadReadSize
...
close:#1000517044
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit 6abbbe772e )
2025-12-24 17:01:37 +08:00
clinx
a02b6e578b
fix(client): avoid errors being suppressed
...
with: #1000551797
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit f21efa70db )
2025-12-24 17:01:37 +08:00
clinx
8bc35a2abe
fix(client): On successful tiny extent write, return connection to pool
...
with: #1000551797
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit fd5065ca36 )
2025-12-24 17:01:36 +08:00
clinx
22b8f7d086
fix(client): only read req data
...
with: #1000412030
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit d64ae846e0 )
2025-12-24 17:01:36 +08:00
chihe
fec6c03fe4
fix(client): sync flush when new ek is created
...
close:#1000511680
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit 43724a4d6d )
2025-12-24 17:01:36 +08:00
Victor1319
d8638e22b5
refactor(master): use IsDeleted for volume status checks.
...
close:#1000542120
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
(cherry picked from commit 0ad5c80c05 )
2025-12-24 17:01:36 +08:00
chihe
57321ed6b5
fix(client): wait for all asynchronous flush requests to complete
...
close:#1000511680
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit e3acdb7c1f )
2025-12-24 17:01:36 +08:00
Victor1319
5cf66705de
fix(meta): enhance txRename_ll.
...
close:#1000527746
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
(cherry picked from commit d766464509 )
2025-12-24 17:01:35 +08:00
chihe
b47bc52042
fix(client): fix putAheadReadBlock Blocking issue
...
close:#1000412030
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit ccb7de44bb )
2025-12-24 17:01:35 +08:00
clinx
a21a0b6b4c
fix(client): update client first
...
with: #1000412030
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit c406e88c58 )
2025-12-24 17:01:35 +08:00
shuqiang-zheng
846adfbad5
fix(master): adjust shutdown order of disk/DP decommission goroutines on leader change.
...
close : #1000520724
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
(cherry picked from commit 31aaaf00ad )
2025-12-24 17:01:34 +08:00
Victor1319
e22d16caeb
fix(client): set FuseServeThreads default to 0
...
close:#1000451308
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
(cherry picked from commit 268e113f7b )
2025-12-24 17:01:34 +08:00
chihe
fdf9862387
fix(client): check remain size for cache block
...
close:#1000516353
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit a45ba8a82a )
2025-12-24 17:01:34 +08:00
chihe
393e6b4e4c
fix(client): if directIO is enabled, wait for flush before write
...
close:#1000511680
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit 109e4f1998 )
2025-12-24 17:01:34 +08:00
shuqiang-zheng
34bdb46979
fix(master): check diskErr only for markDecommission DPs.
...
close : #1000511821
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
(cherry picked from commit e485333226 )
2025-12-24 17:01:34 +08:00
clinx
d5ae6348ce
fix(client): close call debug.stack
...
with: #1000451308
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit ad09488065 )
2025-12-24 17:01:33 +08:00
clinx
bf75d08969
fix(client): write meta conflict
...
with: #1000451308
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 2f6568e81c )
2025-12-24 17:01:33 +08:00
zhumingze
a1c14cbcb3
fix(master): logic adapts for decommission parts of the dp on the node. #1000441588
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
(cherry picked from commit 09adcf3912 )
2025-12-24 17:01:33 +08:00
clinx
17a4db2642
fix(client): change update extents by inodecache
...
with:#1000451308
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 09e2646fac )
2025-12-24 17:01:32 +08:00
clinx
08895b35ab
fix(client): set FuseServeThreads default value to 64
...
with: #1000451308
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 37bce4a424 )
2025-12-24 17:01:32 +08:00
shuqiang-zheng
606dd18675
fix(master): set decommissionFail only after removing all failed DPs from queue
...
close : #1000479261
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
(cherry picked from commit 54d63c4424 )
2025-12-24 17:01:32 +08:00
clinx
3572394cf8
fix(client): clear resource base on sdk init remote client
...
with: #1000451308
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 0782d0ec50 )
2025-12-24 17:01:32 +08:00
clinx
d35a07e841
fix(flash): update read metric
...
with: #1000451308
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 1581da2e1c )
2025-12-24 17:01:31 +08:00
shuqiang-zheng
5bea69cd67
feat(master): the dp decommission progress will not exceed 100%.
...
close : #1000471110
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
(cherry picked from commit c171ba1a1c )
2025-12-24 17:01:31 +08:00
chihe
7a618a44ad
fix(client): use sync flush if open file as directIO
...
close:#1000464581
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit 34fb8cdeb2 )
2025-12-24 17:01:31 +08:00
Victor1319
cbbead5859
fix(master): avoid to invoke partition lock in dpmap func.
...
close:#1000459767
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
(cherry picked from commit 03cb604303 )
2025-12-24 17:01:31 +08:00
chihe
698b727acb
fix(client): quit asyncFluashManager when streamer is closed
...
@formatter:off
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit 27a5ac6e57 )
2025-12-24 17:01:31 +08:00
clinx
3b2ffbcf7a
fix(flash): for legacy OpFlashNodeHeartbeat
...
with: #1000451308
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 40f13d22db )
2025-12-24 17:01:30 +08:00
chihe
903c2eede2
fix(client): delete inode cache when write streamer is timeout
...
@formatter:off
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit 428066c973 )
2025-12-24 17:01:30 +08:00
clinx
76e0ae04a8
fix(flash): select availbale disk by real left space
...
with: #1000444307
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 86f06bc00f )
2025-12-24 17:01:30 +08:00
chihe
70dcb4f740
fix(client): clear all blockCache when truncating file
...
close:#1000310987
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit 3c7771df51 )
2025-12-24 17:01:30 +08:00
chihe
39ee65f326
fix(client): fix some bugs for metaCacheAcceleration
...
@formatter:off
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit ad947942d1 )
2025-12-24 17:01:29 +08:00
Victor1319
80eb869ebe
feat(stream): enhance connection pool management with cost tracking. #1000402826
...
- Add cost tracking to connection pool objects
- Implement SetUseCostPool method for connection pool
- Update connection handling to utilize cost in PutConnectV2
- Introduce PoolInterface for improved pool management
- Create PoolWithCost for managing connections based on cost
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
(cherry picked from commit 767f5e9ae2 )
2025-12-24 17:01:29 +08:00
chihe
1d422c8bc0
fix(client): enhance the logic of looking up for directory
...
@formatter:off
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit 36f1e4569f )
2025-12-24 17:01:29 +08:00
Victor1319
b6103ad53f
feat(client): enhance directory lookup with lazy loading of child directories. #1000402826
...
- Add sync.Once to Dir struct for lazy initialization
- Implement lazy loading of child directories in Lookup method
- Update InodeGet to use InodeGetExt_ll for better performance
- Modify extents handling logic in InodeGet method
- Rename getExtetnsPool to GetExtetnsPool for consistency
Signed-off-by: [Your Name] <your.email@example.com>
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
(cherry picked from commit 8f1b4a54be )
2025-12-24 17:01:28 +08:00
chihe
84d84f5a08
feat(client): support metaCacheAcceleration
...
@formatter:off
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit d88c999c35 )
2025-12-24 17:01:28 +08:00
Victor1319
360f72e9db
fix(client): update inode expiration time and enhance logging for extents. #1000402826
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-12-24 17:01:28 +08:00
clinx
4ae784e64b
fix(flash): compatibility for historical opcodes
...
with: #1000412152
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit ce34ed7fdd )
2025-12-24 17:01:27 +08:00
clinx
9cd6c92dd3
fix(flash): check mount point and add metrics
...
with: #1000414729
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit a9c84eca6b )
2025-12-24 17:01:25 +08:00
chihe
4958298824
fixc(client): fix bug with evictCacheBlock
...
close:#1000412030
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit 59142af7e0 )
2025-12-24 17:01:25 +08:00
clinx
e8239124a6
fix(client): fix ut fail
...
close : #1000412030
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit dc49d7a695 )
2025-12-24 17:01:25 +08:00
chihe
e5ba5d31c9
fix(client): use extentOffset to create block key for aheadRead
...
close:#1000412030
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit 0e84a32213 )
2025-12-24 17:01:25 +08:00
chihe
110bdf5a17
fix(client): update rightOffset to make window for aheadRead move forward
...
@formatter:off
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit dcaeee8970 )
2025-12-24 17:01:25 +08:00
shuqiang-zheng
61ff222b32
fix(master): fixed an issue where disks successfully decommissioned were re-marked .
...
close : #1000412387
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
(cherry picked from commit d4ecea0527 )
2025-12-24 17:01:25 +08:00
clinx
63c1e7d8d7
fix(client): Fix the issue of the client refreshing metadata unexpectedly
...
with: #1000409494
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 26bcf93666 )
2025-12-24 17:01:25 +08:00
zhumingze
7b39125377
fix(master): Modify the display information of lostDisk status. #1000409772
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
(cherry picked from commit f384d50b27 )
2025-12-24 17:01:25 +08:00
clinx
9903d1f151
fix(flash): avoid application startup failure due to errors in a single disk
...
with:#1000409494
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 694d52120c )
2025-12-24 17:01:24 +08:00
chihe
e1b02e33b4
fix(client): check dp when creating or excuting task for aheadRead
...
close;#1000406278
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit 6ec3410805 )
2025-12-24 17:01:24 +08:00
chihe
e60f814e64
fix(client): reset offset for aheadReading tinyExtent
...
@formatter:off
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit dc5d876568 )
2025-12-24 17:01:24 +08:00
Victor1319
5f9412e03d
feat(client): add TCP keep-alive time configuration for connection pools. #1000402826
...
- Implement TcpAliveTime option in mount options
- Set TCP keep-alive time for stream and ahead read connection pools
- Update connection pool to accept timeout and minimum capacity parameters
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
(cherry picked from commit d96c5db9a3 )
2025-12-24 17:01:24 +08:00
clinx
6a0f7b8cd1
feat(flashnode): client warm up meta data with path
...
with: #1000150848
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 6e6373b1d6 )
2025-12-24 17:01:23 +08:00
clinx
c02f9bc031
fix(flash): check for a stop event when receiving a pause command
...
with: #1000394421
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 7f484f126f )
2025-12-24 17:01:23 +08:00
chihe
be579d8c22
fix(client): fix s3test CI test issue
...
close:#1000363069
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit 18d5d20b71 )
2025-12-24 17:01:23 +08:00
clinx
cd086fcb46
fix(flash): warm up task set force remote cache true
...
with: #1000390069
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 272660d7cb )
2025-12-24 17:01:22 +08:00
chihe
9f3548653a
refactor(client): new sliding algorithm for readAhead
...
close:#1000048465
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit c2d6947a71 )
2025-12-24 17:01:22 +08:00
chihe
407b49211d
feat(client): support defining the size of cacheBlockSize
...
close:#1000261380
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit d2031e685c )
2025-12-24 17:01:22 +08:00
clinx
8ab32b038a
fix(flash): increase reserve space for flash node
...
with: #1000386811
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 2881c1ce33 )
2025-12-24 17:01:22 +08:00
clinx
144674ee30
feat(falsh): check file size limits for warm up task
...
with: #1000383519
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 03ae1861c7 )
2025-12-24 17:01:22 +08:00
clinx
15f85f11a7
fix(flash): Double-check to prevent deleting newly created data
...
with: #1000379203
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 97365b5b2e )
2025-12-24 17:01:22 +08:00
clinx
7d6f427942
fix(flash): Avoid printing garbled characters
...
with: #1000371716
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 31e326f36d )
2025-12-24 17:01:22 +08:00
shuqiang-zheng
5251e6a78f
feat(master): Record the decommission term when the dataNode is decommissioned.
...
close : #1000362788
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
(cherry picked from commit 8a0b0e5b67 )
2025-12-24 17:01:21 +08:00
clinx
2a9b335268
fix(client): put interface uses custom errors to avoid obtaining pointer errors
...
with: #1000371716
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 578c7abb49 )
2025-12-24 17:01:21 +08:00
chihe
7b045f2004
fix(client): flush as sequnce
...
close:#1000363069
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit d7ee0324af )
2025-12-24 17:01:21 +08:00
chihe
127bdc8899
fix(client): calculate remainsize in doMultiAheadRead
...
close:#1000367076
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit bea4dd6439 )
2025-12-24 17:01:21 +08:00
shuqiang-zheng
2b3734bdad
fix(master): fix the issue about dp marked decommission state.
...
close : #1000365149
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
(cherry picked from commit e17f460bd2 )
2025-12-24 17:01:21 +08:00
shuqiang-zheng
1c580ae8ab
fix(master): display the weight and decommission type.
...
close : #1000362788
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
(cherry picked from commit ef8d06e97e )
2025-12-24 17:01:20 +08:00
clinx
5554fe1e05
fix(flash): free allocated size after write data completed
...
with: #1000360870
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 61e58f7098 )
2025-12-24 17:01:20 +08:00
clinx
e226b5cd07
fix(client): Remove unused time statistics fields
...
with: #1000359075
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 6f96108973 )
2025-12-24 17:01:20 +08:00
clinx
36480cc4eb
fix(client): update client dp info by master
...
with: #1000359075
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 5ea3b0ced5 )
2025-12-24 17:01:20 +08:00
chihe
1f27e9bd37
fix(client): fix errMsg for aheadRead
...
close:#1000367076
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit b2498aabf3 )
2025-12-24 17:01:19 +08:00
clinx
6ee91cd64c
fix(flash): avoid returning network EOF
...
with: #1000360870
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 086034cb92 )
2025-12-24 17:01:19 +08:00
clinx
b586dcd2a9
fix(flash): change the write packet size to 64K to avoid timeout
...
with:#1000360870
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 6e73ed2cd0 )
2025-12-24 17:01:19 +08:00
chihe
49bbf008be
fix(client): do not wait for async flush if stream is error
...
close:#1000363069
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit b5b2d3644c )
2025-12-24 17:01:19 +08:00
clinx
02f98822d1
fix(flash): set connection deadline with ctx for put
...
with: #1000360870
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit b07e38d8b1 )
2025-12-24 17:01:18 +08:00
clinx
207f7b859a
fix(flash): do not put cache miss error to warn
...
with: #1000360870
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 6503c0d7cc )
2025-12-24 17:01:18 +08:00
shuqiang-zheng
a721af2489
fix(master): fix issue about querying the decommissioning progress of a disk.
...
close : #1000362788
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
(cherry picked from commit 45d91e1387 )
2025-12-24 17:01:18 +08:00
clinx
ed1f826956
fix(flash): print cache miss error to debug log file
...
with: #1000360870
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit e306c6f6fb )
2025-12-24 17:01:18 +08:00
shuqiang-zheng
f4ff24068e
fix(master): fix an issue about maximum rollback count.
...
close : #1000359057
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
(cherry picked from commit 53ef100852 )
2025-12-24 17:01:18 +08:00
shuqiang-zheng
8042b39daa
fix(master): fix panic caused by lack of locking during concurrent access to the rafts map.
...
close : #1000356742
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
(cherry picked from commit 5635b02677 )
2025-12-24 17:01:17 +08:00
shuqiang-zheng
97855da728
fix(master): fix the issue of inaccurate disk and node decommission progress due to leader changes.
...
close : #1000349627
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
(cherry picked from commit 65ac8ca7b2 )
2025-12-24 17:01:17 +08:00
clinx
29052a66e7
fix(flash): free pre-allocated space after file creation
...
with:#1000360870
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 77eb7c264c )
2025-12-24 17:01:17 +08:00
chihe
1ce947de7b
fix(clinet): shuffle the order of hosts for aheadread
...
close:#1000340945
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit f49728b4be )
2025-12-24 17:01:16 +08:00
clinx
02f6ab6370
fix(flash): change keyToDiskMap type
...
with: #1000356686
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 750ea762d1 )
2025-12-24 17:01:16 +08:00
clinx
e9e4a82869
fix(flash): the master distributes the flashkeylimit value
...
with: #1000356686
Signed-off-by: clinx <chenlin1@oppo.com>
2025-12-24 17:01:16 +08:00
clinx
c38343e211
fix(flash): the read and write rate limit sizes using master config
...
with: #1000356820
Signed-off-by: clinx <chenlin1@oppo.com>
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 76dd0886b5 )
2025-12-24 17:01:16 +08:00
chihe
a83b7d2678
fix(client): fix the issue with the timing of triggering the addNextTask task
...
close:#1000354285
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit de243a2a87 )
2025-12-24 17:01:15 +08:00
Victor1319
d1291ff9f0
fix(cluster): update infos to handle discard partitions.
...
close:#1000355377
- Modify function signature to include ignoreDiscard parameter
- Update logic to skip discarded data partitions when requested
- Ensure compatibility with existing data node retrieval logic
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
(cherry picked from commit d24e646004 )
2025-12-24 17:01:15 +08:00
clinx
5561a1d3a6
fix(flash): check key limit with no wait
...
with: #1000355286
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit b6771c282a )
2025-12-24 17:01:15 +08:00
chihe
220d470ac2
fix(client): fixing the prefetching sliding window logic
...
close:#1000354285
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit 5657874b3f )
2025-12-24 17:01:15 +08:00
chihe
663d97f009
fix(client): add unit test for aheadread
...
@formatter:off
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit 9d45588a13 )
2025-12-24 17:01:14 +08:00
clinx
41aa1cf2c1
feat(flash): atomic update request result
...
with: #1000347719
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 52a3674321 )
2025-12-24 17:01:14 +08:00
clinx
d10274f4a4
fix(flash): config client flow limit by master
...
with: #1000347719
Signed-off-by: clinx <chenlin1@oppo.com>
2025-12-24 17:01:14 +08:00
clinx
3aa98d5fae
fix(flash): pull handleReadTimeout when flashnode start
...
with: #1000347719
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit dfa3e22413 )
2025-12-24 17:01:14 +08:00
clinx
ea4f49f026
fix(flash): change log level to warn
...
with: #1000347719
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 53edbd9d19 )
2025-12-24 17:01:14 +08:00
chihe
01dfa9f09e
fix(client): fix bugs in partly hit scenarios of the prefetch function
...
@formatter:off
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit 19ea486af1 )
2025-12-24 17:01:13 +08:00
dengxiaochao
d794dc4647
fix(sdk): incorrect offset when aheadread copy cacheBlock to req data buffer
...
@formatter:off
Signed-off-by: dengxiaochao <dengxiaochao@bilibili.com>
(cherry picked from commit a5f9ecd148 )
2025-12-24 17:01:13 +08:00
clinx
6125ac66b7
fix(flash): to load blockv2 need to init key limieter
...
with: #1000347719
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 6685b34b2e )
2025-12-24 17:01:13 +08:00
clinx
cd4078e069
fix(client): add flow limit for object operation
...
with: #1000343199
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit d4c2520e8f )
2025-12-24 17:01:13 +08:00
clinx
bebe48c0ca
feat(flash): add key limiter for cache read
...
with: #1000274394
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 951e600424 )
2025-12-24 17:01:12 +08:00
shuqiang-zheng
4b3a8708ce
fix(master): Optimize the reporting metrics for bad disks that fail to decommission promptly.
...
close : #1000336199
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
(cherry picked from commit dfcc603a03 )
2025-12-24 17:01:12 +08:00
shuqiang-zheng
08b78954ca
fix(master): fix an issue where token might consume twice.
...
close : #1000336199
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
(cherry picked from commit 654d5bfcf2 )
2025-12-24 17:01:12 +08:00
chihe
5c83c917a1
fix(client): read from leader when excuting ahead read
...
close:#1000340945
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit a59c4c71ed )
2025-12-24 17:01:11 +08:00
zhumingze
8960c9388e
fix(master): Don't show disk decommissionSuccess alerts triggered by node decommission.
...
.#1000336575
Signed-off-by: zhumingze <zhumingze@oppo.com>
(cherry picked from commit 2f64db405b )
2025-12-24 17:01:11 +08:00
clinx
5f948db14a
fix(cache): modify the retry logic to adapt to the first packet timeout duration
...
with: #1000343199
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 9808c33d84 )
2025-12-24 17:01:10 +08:00
clinx
358058c74a
fix(cache): improve read concurrency
...
with: #1000326585
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit e2b5003956 )
2025-12-24 17:01:10 +08:00
Victor1319
c68437384a
fix(master): enhance error handling in getVolSimpleInfo
...
close:#1000337685
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
(cherry picked from commit f47bc8ba9e )
2025-12-24 17:01:10 +08:00
shuqiang-zheng
0663e062b8
feat(master): check vol deletion when traversing dp decommission queue.
...
close : #1000329496
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
(cherry picked from commit 37db5cf3b1 )
2025-12-24 17:01:10 +08:00
shuqiang-zheng
17b991b351
feat(master): add status update records to dp decommission process for querying.
...
close : #1000329528
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-12-24 17:01:10 +08:00
shuqiang-zheng
eab8a04023
feat(master): add retries for ignore dataPartitions during disk decommission.
...
close : #1000329518
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
(cherry picked from commit e1165a242e )
2025-12-24 17:01:09 +08:00
shuqiang-zheng
1c0a800f93
fix(master): add display of remainingDpCnt when querying disk or dataNode decommission progress.
...
close : #1000329505
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
(cherry picked from commit 83748a2a03 )
2025-12-24 17:01:09 +08:00
chihe
99b040a620
fix(client): cleanup eh when flush is completed
...
close:#1000310987
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit d1e7e412e0 )
2025-12-24 17:01:09 +08:00
chihe
1cf8acde1c
fix(client): fix error for ltp
...
close:#1000310987
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit 65c1b4a878 )
2025-12-24 17:01:09 +08:00
chihe
14266c2d3e
fix(client): cache blocks will not be evicted when they are not read.
...
close:#1000310987
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit 428255293e )
2025-12-24 17:01:08 +08:00
clinx
d2d6db8824
fix(flash): set file lru size to 100000
...
with: #1000311735
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit f2454cab0c )
2025-12-24 17:01:08 +08:00
clinx
e4eaed9441
fix(cli): configure sameZoneTimeout via VOL for file cluster
...
with: #1000311735
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 19bcefeb45 )
2025-12-24 17:01:08 +08:00
Victor1319
e2ef7066d7
fix(master): reset leader node stat when leader change. #1000317232
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
(cherry picked from commit 2b7fe94f49 )
2025-12-24 17:01:07 +08:00
clinx
83b5714dc8
fix(flashnode): enhance LRU retrieval speed
...
with: #1000303671
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit fd5060d2ad )
2025-12-24 17:01:07 +08:00
clinx
b6b085c356
fix(client): right aligned for reading block
...
close : #1000303671
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 049da98617 )
2025-12-24 17:01:07 +08:00
Victor1319
99e41928dd
feat(cmd): add healthy and ready check url. #1000296298
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
(cherry picked from commit 2802e5e486 )
2025-12-24 17:01:07 +08:00
Victor1319
6283610ad4
fix(meta): fix meta panic when log extent info. #1000286609
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
(cherry picked from commit aae1646931 )
2025-12-24 17:01:07 +08:00
clinx
57bea86ae0
fix(flash): print hanging size
...
with: #1000307099
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 7a249e1d99 )
2025-12-24 17:01:07 +08:00
chihe
7f9177766d
fix(client): do not clean extent handler if flush is async
...
close:#1000306048
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit 70c41c1f85 )
2025-12-24 17:01:06 +08:00
clinx
d9b73e6990
fix(master): set right ReducingSlots status
...
with: #1000307099
Signed-off-by: clinx <chenlin1@oppo.com>
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit d0410e887d )
2025-12-24 17:01:06 +08:00
clinx
7dcd384f53
fix(client): set DefaultRemoteCacheSameRegionTimeout to 20 ms
...
with: #1000303671
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 862c7f1171 )
2025-12-24 17:01:06 +08:00
clinx
55609e0f8b
fix(flash): set block allocate size equal to request length
...
with: #1000292905
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 91bb7d441d )
2025-12-24 17:01:06 +08:00
clinx
82d52a297d
fix(master): long-term unused slot activation employs a gradual addition approach.
...
with: #1000292905
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit bdf08f93a5 )
2025-12-24 17:01:06 +08:00
clinx
7b773fbebb
fix(flash): store fg slots when slots changed
...
with: #1000292546
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit bdf1f207bd )
2025-12-24 17:01:06 +08:00
clinx
850bfb9305
fix(flash): record evict count on delete element
...
with: #1000150848
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit f10253c7a3 )
2025-12-24 17:01:05 +08:00
clinx
2ce4af6a64
fix(flashnode): clean streamer resource at consumer finish
...
with: #1000150848
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit c3737e9b38 )
2025-12-24 17:01:05 +08:00
clinx
0270edc70e
fix(flashnode): cache expired data
...
close:#1000150848
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 2fc64021af )
2025-12-24 17:01:05 +08:00
chihe
c1638c3c16
fix(flashnode): evict stream when file is warmed
...
close:#1000150848
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit 1f0a1dbfc3 )
2025-12-24 17:01:04 +08:00
clinx
16dd2c30e0
fix(client): close conn when aysnc write failed
...
with: #1000293406
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 497c4cb4c2 )
2025-12-24 17:01:04 +08:00
zhumingze
ff1f157f20
fix(master): add some log to locate migrate mp problem. #1000295064
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
(cherry picked from commit f6359bf1e8 )
2025-12-24 17:01:04 +08:00
chihe
1803b18700
fix(client): reduce the memory usage of the aheadRead
...
@formatter:off
Signed-off-by: chihe <chihe@oppo.com>
2025-12-24 17:01:04 +08:00
Victor1319
eaf52bfdaa
refactor(data): refactor the usage of the buffer pool during the prefetch process. #1000048465
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
(cherry picked from commit 693f7e4996 )
2025-12-24 17:01:03 +08:00
Victor1319
3214ae5787
refactor(fuse): refactor fuse read performance. #1000261380
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
(cherry picked from commit 6dee04aa85 )
2025-12-24 17:01:03 +08:00
chihe
2c4f7630c1
fix(client): fix ltp error for async fluash
...
@formatter:off
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit 9153aec096 )
2025-12-24 17:01:03 +08:00
leonrayang
2ad10f37f0
feat(client): Add async flush, reduce the close handler time cost @formatter:off
...
Signed-off-by: leonrayang <changliang@oppo.com>
(cherry picked from commit 0aaead993e )
2025-12-24 17:01:03 +08:00
chihe
789acc67c5
feat(master): call sdk of flashgroupmanager
...
close:#1000151163
Signed-off-by: chihe <chihe@oppo.com>
2025-12-24 17:01:03 +08:00
clinx
a7acee10ec
fix(flash): config init remote client timeout
...
with: #1000285575
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit e11e67210d )
2025-12-24 17:01:02 +08:00
clinx
763517e3c1
fix(flash): set read and write flow by master
...
with: #1000285575
Signed-off-by: clinx <chenlin1@oppo.com>
2025-12-24 17:01:02 +08:00
clinx
042d9a15ab
fix(client): check whether the data has been fully read before reading
...
with: #1000286146
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit e05a97fbb1 )
2025-12-24 17:01:02 +08:00
clinx
d513c94cd8
fix(flash): correct the log information
...
with: #1000275887
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 25b958ca13 )
2025-12-24 17:01:02 +08:00
clinx
984f3daf11
fix(client): Add retry logic when an error occurs while fetching remote configuration information
...
with: #1000275887
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit dff1e3525b )
2025-12-24 17:01:02 +08:00
clinx
b52dc796cf
fix(tool): print stat log for remote cache test tool
...
with:#1000275887
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 32641daf6d )
2025-12-24 17:01:01 +08:00
clinx
62eece5dc5
fix(flashnode): change the flashnode report time during leader chang #1000275887
...
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 94a90af9ae )
2025-12-24 17:01:01 +08:00
clinx
3f8d101613
fix(flash): adjust some log descriptions and default values
...
close:#1000257468
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit d7e6e6ccb1 )
2025-12-24 17:01:01 +08:00
clinx
f8de40fc15
fix(flashnode): use disk path to stat capacity#1000272437
...
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit ff5732f1ec )
2025-12-24 17:01:01 +08:00
clinx
288ad296c7
fix(flash): print statfs error
...
close:#1000271802
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 880b56b124 )
2025-12-24 17:01:01 +08:00
clinx
49b81bf67f
fix(client): wait for caching data for read operation #1000267457
...
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit eb9e348047 )
2025-12-24 17:01:01 +08:00
clinx
a6025f3b42
fix(client): restore connection addresses removed after network disconnection #1000267457
...
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 45347dee6b )
2025-12-24 17:01:00 +08:00
clinx
184b6a1535
feat(tool): remove specific key #1000250043
...
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 6fe627bd87 )
2025-12-24 17:01:00 +08:00
clinx
abd4b9c722
fix(flashenode): Be compatible with both FUSE and SDK method invocations
...
close:#1000250043
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 15d6d1d3f1 )
2025-12-24 17:01:00 +08:00
clinx
e49098d7a7
fix(flashnode): fix the log filename and request parameters in the URL #1000257468
...
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 969c554f78 )
2025-12-24 17:01:00 +08:00
clinx
4cafd415d7
feat(sdk): skip processing when single Put loads insufficient data.
...
close:#1000151053
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 0f3b1f8c1b )
2025-12-24 17:00:59 +08:00
clinx
b284a10680
client(sdk): read data with random#1000151053
...
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 3e175326ac )
2025-12-24 17:00:59 +08:00
clinx
04243536dc
client(sdk): optimize the read process #1000151053
...
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 66a10d3e38 )
2025-12-24 17:00:59 +08:00
baihailong
b3c5db3eee
fix(sdk): conn SetReadDeadline and reader specify ctx. #1000151163
...
Signed-off-by: baihailong <baihailong@oppo.com>
(cherry picked from commit 8fb8ae389c )
2025-12-24 17:00:59 +08:00
chihe
625b6f1f36
fix(tools): close reader when read is completed
...
close:#1000151163
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit c3b0722c7a )
2025-12-24 17:00:59 +08:00
clinx
bab0f6d6a3
fix(flashnode): use the CLI to set the hot key miss count.
...
close:#1000150848
Signed-off-by: clinx <chenlin1@oppo.com>
2025-12-24 17:00:59 +08:00
chihe
45dcc10e6a
fix(flashnode): fixed the infinite loop issue in GetObject.
...
close:#1000151055
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit c5e2315c7d )
2025-12-24 17:00:59 +08:00
chihe
58771c8dc2
feat(remotecache): add config tool
...
close:#1000151163
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit 037348725c )
2025-12-24 17:00:58 +08:00
clinx
54da526123
feat(flashnode): print client reqid in server log #1000150848
...
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 52142b16c2 )
2025-12-24 17:00:58 +08:00
baihailong
f567742019
fix(cli): cluster info show remotecache config. #1000151055
...
Signed-off-by: baihailong <baihailong@oppo.com>
(cherry picked from commit f414efe63e )
2025-12-24 17:00:58 +08:00
chihe
48f600d419
feat(flashnode): add benchmark tool
...
close:#1000151163
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit 7dee432348 )
2025-12-24 17:00:58 +08:00
chihe
56b5d8960b
feat(sdk): client send heartbeat to flashnode.#1000151055
...
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit 9c1263aa86 )
2025-12-24 17:00:37 +08:00
baihailong
6e84aad323
fix(sdk): excute updateRemoteCacheConfig before UpdateFlashGroups.
...
close:#1000151055
Signed-off-by: baihailong <baihailong@oppo.com>
(cherry picked from commit 7e2db85306 )
2025-12-24 17:00:37 +08:00
baihailong
0a5aa265de
feat(flashgroupmanager): enable set remotecache config.#1000181329
...
Signed-off-by: baihailong <baihailong@oppo.com>
(cherry picked from commit 84192cb594 )
2025-12-24 17:00:36 +08:00
chihe
3c7fb3cbec
fix(sdk): enable remoteCacheClient init log.#1000151055
...
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit bf87156ac3 )
2025-12-24 17:00:14 +08:00
baihailong
f658776889
fix(sdk): modify get and put packet size to 32k.#1000151055
...
Signed-off-by: baihailong <baihailong@oppo.com>
(cherry picked from commit ff74a2a190 )
2025-12-24 17:00:13 +08:00
clinx
d760b25ce1
fix(flashnode): rate limiting based on actual written data flow
...
close:#1000150848
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 4320c3fc7c )
2025-12-24 17:00:13 +08:00
baihailong
23763d4219
fix(sdk): When the required read length is exceeded, reader returns EOF. #1000151055
...
Signed-off-by: baihailong <baihailong@oppo.com>
(cherry picked from commit bfb1440bbb )
2025-12-24 17:00:12 +08:00
clinx
72158dbc22
feat(flashnode): add metric info for put block #1000150848
...
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit bcb1482c32 )
2025-12-24 17:00:12 +08:00
baihailong
169152fb41
feat(flashnode): support read block.#1000151055
...
Signed-off-by: baihailong <baihailong@oppo.com>
(cherry picked from commit c7aac8a558 )
2025-12-24 17:00:12 +08:00
clinx
64b8dbf0c6
fix(flashnode): check file length using allocated size #1000150848
...
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit c094de085f )
2025-12-24 17:00:11 +08:00
clinx
7a02e89572
feat(flashnode): write data with 4KB alignment #1000150848
...
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 24336a6bbb )
2025-12-24 17:00:11 +08:00
chihe
9e5daafdb8
feat(flashnode): support put block to flashnode #1000150848
...
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit 0929e28a07 )
2025-12-24 16:59:50 +08:00
baihailong
e95b3c523e
fix(flashgroupmanager): cluster info list all master nodes.
...
close#1000181329
Signed-off-by: baihailong <baihailong@oppo.com>
(cherry picked from commit 5074b878b1 )
2025-12-24 16:59:49 +08:00
chihe
695d57db88
feat(flashgroupmanager): support reverse proxy
...
close:#1000170146
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit 1334c95a9c )
2025-12-24 16:59:49 +08:00
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
chihe
f538ba0612
fix(sdk): rename RemoteCacheBase to RemoteCacheClient.#1000151055
...
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit c98b7cbd7e )
2025-12-24 16:59:10 +08:00
chihe
a0415ef82d
enhance(sdk): refactor sdk for remotecache.#1000151055
...
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit a63ec1abb6 )
2025-12-24 16:58:18 +08:00
chihe
d2c12c4813
enhance(flashnode): restruct the dirctory for code
...
close:#1000149211
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit 22f7c23bee )
2025-12-23 16:15:17 +08:00
tan changzhi
6915dfd4b6
fix(master): expand quota id range to support more quota settings
...
Signed-off-by: tan changzhi <544463199@qq.com>
2025-12-16 14:30:56 +08:00
yuzhiqiang
2912760ee5
fix(blobstore): avoid unnecessary work for disabled codemodes
...
Signed-off-by: yuzhiqiang <yuzhiqiang_yewu@cmss.chinamobile.com>
2025-11-19 09:56:58 +08:00
yuzhiqiang
b4a41d9007
fix(blobstore): still sleeps and waits when configured to delete immediately
...
Signed-off-by: yuzhiqiang <yuzhiqiang_yewu@cmss.chinamobile.com>
2025-11-13 16:32:05 +08:00
Victor1319
070b82370d
style(api): improve code comments for clarity and consistency. #3942
...
- Add spaces after comment slashes for better readability
- Standardize comment formatting across multiple files
- Enhance clarity of comments in data partition handling
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-11-11 20:23:43 +08:00
RpLi
655dfbf4d9
feature(master): Automated data distribution balance of datanode
...
Signed-off-by: RpLi <vsian_v@outlook.com>
2025-10-31 23:38:50 +08:00
tangdeyi
e21194a9db
fix(clustermgr): fix bn oversold freechunk use in allocator
...
with #1000255629
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2025-10-30 22:30:42 +08:00
yuzhiqiang
a1bf7cc1c7
fix(blobstore): adjust the log level for specific error types
...
adjust the log level to reduce unnecessary log output
Signed-off-by: yuzhiqiang <yuzhiqiang_yewu@cmss.chinamobile.com>
2025-10-22 15:22:43 +08:00
slasher
e502bbbc0b
fix(cli): proxy erase ALL with interval
...
. #21966006
Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-22 14:19:26 +08:00
slasher
b758e6ae43
chore(docs): update document of access and rpc
...
update to blobstore v1.5.1
@formatter:off
Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-15 10:58:51 +08:00
xiejian
8960fc7232
feat(shardnode): no need to wait apply member change when delete shards of broken disk
...
with #1000176986
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-10-13 15:49:59 +08:00
xiejian
5a0a424edb
fix(shardnode): avoid concurrent map iteration and map write
...
when deleteSlice() failed in blob delete process
with: #1000357684
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-10-13 15:49:52 +08:00
xiejian
b19837d3b5
fix(shardnode): update clear trash shard task process
...
with: #1000362906
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-10-13 15:47:54 +08:00
xiejian
d936cd4284
fix(shardnode): when disk broken and volume not updated should not delete blob success
...
with: #1000357684
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-10-13 15:47:54 +08:00
mawei029
71124329b4
fix(bssdk): handle shard node client timeout error, punish with threshold
...
with: #1000355280
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-10-13 15:47:54 +08:00
mawei029
e4d5e0f8c3
fix(blobnode): update leader from new host, may need exclucde multiple disk
...
with: #1000348559
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-10-13 15:47:54 +08:00
slasher
7d153130f0
chore(testing): move mock qos file to mockblobnode
...
. #1000145567
Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-13 15:47:54 +08:00
slasher
26f9bb3669
feat(access): update shard leader when delete message failed
...
. #1000306808
Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-13 15:47:54 +08:00
xiejian
6ac6e515a2
fix(shardnode): blobdeleter: when no more delete msg created and then punish a msg
...
punish operation can't take effect
with: #1000346246
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-10-13 15:47:54 +08:00
mawei029
d45a599ef8
fix(blobnode): we should remove old broken disk when show progess at next round inspction
...
with: #1000348559
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-10-13 15:47:54 +08:00
mawei029
9bde9f9467
chore(blobnode): data inspect clean metric api, inspect print log
...
with: #1000343886
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-10-13 15:47:54 +08:00
slasher
29eb157da0
feat(rpc2): reuse stream of definded errors
...
. #1000347649
Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-13 15:47:54 +08:00
mawei029
0e239bbda4
fix(bssdk): update shard node leader, need change next shard node host
...
with: #1000347594
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-10-13 15:47:54 +08:00
xiejian
43780a871a
fix(shardnode): blobdeleter: 1 fix deleteStage abnormal reset
...
2 avoid repeated list delete messages from storage
with: #1000346246
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-10-13 15:47:54 +08:00
slasher
42ebc216ca
fix(rpc): atomic error with all type
...
. #1000341010
Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-13 15:47:54 +08:00
xiejian
f4b8b362ac
fix(shardnode): fix not record delete stage when delete shard failed in blobdeleter
...
with: #1000335110
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-10-13 15:47:19 +08:00
xiejian
a1b9bbb10c
feat(shardnode): 1.add delete log for blobdeleter, add some trace log
...
with: #1000042472
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-10-13 15:29:35 +08:00
xiejian
0cbe1e276b
feat(shardnode): support http rpc service
...
with: #1000324330
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-10-13 15:29:35 +08:00
slasher
44d2151d55
fix(trace): thread safe in trace span logging
...
. #1000320592
Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-13 15:29:35 +08:00
mawei029
c998151d88
chore(blobnode): optimize unstable io pool ut tests
...
with: #1000334360
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-10-13 15:29:35 +08:00
mawei029
c93391332d
fix(blobnode): fix data inspect mistakenly flagged bid
...
with: #1000322051
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-10-13 15:29:35 +08:00
xiejian
a587a62b53
feat(shardnode): support show delete blob stats
...
with: #1000042472
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-10-13 15:29:35 +08:00
slasher
76310260ee
feat(access): write delete message to shardnode
...
. #1000306808
Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-13 15:29:35 +08:00
slasher
5a0e61dbbd
chore(util): parse size in json configuration
...
. #1000334184
Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-13 15:29:35 +08:00
slasher
81136e138e
chore(util): alignment adds full size and blocks
...
. #1000334184
Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-13 15:29:35 +08:00
xiejian
3dafd80165
feat(shardnode): support set config to kinds of time unit in json string
...
with: #1000042472
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-10-13 15:29:35 +08:00
xiejian
c58a38222a
refactor(api): rename parse.go to proto.go
...
with: #1000042472
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-10-13 15:29:35 +08:00
xiejian
0b116a1097
feat(shardnode): support function for building blob name or item id with shardkeys
...
change shardkeys type from [][]byte to []string
with: #1000042472
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-10-13 15:29:35 +08:00
mawei029
0d5c51eca8
fix(blobnode): when task call io pool submit, but ctx is cancel, fix return error
...
with: #1000309518
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-10-13 15:29:35 +08:00
mawei029
cdfce1c0ab
tools(blobnode): disk drop stat check tool, support get blobnode ip from net_card
...
with: #1000334360
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-10-13 15:29:35 +08:00
JasonHu520
daa85f973b
fix(scheduler): update blob delete process for updating volume strategy
...
with: #1000304421
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2025-10-13 15:29:35 +08:00
mawei029
186cca127a
fix(bssdk): change blob name type from bytes to string
...
with: #1000181642
Signed-off-by: mawei029 <mawei2@oppo.com>
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-10-13 15:29:35 +08:00
xiejian
8704c5b061
fix(shardnode): change blob name and item id data type from bytes to string
...
with: #1000181642
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-10-13 15:29:35 +08:00
mawei029
75fec3ce29
chroe(blobnode): qos dynamic print log with disk id, the same target does not change
...
with: #1000334360
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-10-13 15:29:35 +08:00
mawei029
ac218c0fbb
fix(blobnode): qos config hot modify, qos dynamic update limiter
...
with: #1000291897
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-10-13 15:29:35 +08:00
mawei029
bb4b64cc13
chroe(blobnode): increase the speed of ut, blobnode/core saving 30 seconds time
...
with:#1000334360
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-10-13 15:29:35 +08:00
slasher
5f9600d088
chore(cli): show oversold free chunks
...
. #1000334184
Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-13 15:29:35 +08:00
slasher
ad13597835
fix(proxy): proxy erase success if cache file not exist
...
. #21966006
Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-13 15:29:35 +08:00
slasher
72cb5e8a87
feat(util): add Any2String and String2Any
...
. #1000334184
Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-13 15:29:35 +08:00
mawei029
ed90619ed6
fix(blobnode): fix data inspect concurrent write or read map
...
with: #1000287722
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-10-13 15:29:35 +08:00
mawei029
3ae408e632
feat(blobnode): optimize log print, query inspect progress, record local log
...
with: #1000276667 , #1000276672
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-10-13 15:29:35 +08:00
xiejian
39622270c8
fix(scheduler): record DiskDrop and ManualMigrate task in cache
...
with: #1000088302
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-10-13 15:29:35 +08:00
JasonHu520
05c3635ff4
perf(blobnode): batch read support config timeout independently
...
with: #1000285347
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2025-10-13 15:29:35 +08:00
xiejian
9caef0e93d
refactor(shardnode): rename delete_stage.go to extent_msg.go
...
with: #1000042472
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-10-13 15:29:35 +08:00
xiejian
59ec91cf3c
refactor(shardnode): replace msg.go from base to blobdeleter
...
with: #1000042472
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-10-13 15:29:35 +08:00
xiejian
a851e43681
fix(shardnode): fix bugs of delete blob process
...
with: #1000042472
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-10-13 15:29:35 +08:00
mawei029
d9d494ef80
feat(blobnode): dynamic update qos limiter
...
with: #1000260946 , #1000213241
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-10-13 15:29:35 +08:00
JasonHu520
dcc95a03af
fix(scheduler): fix stats interface for not response delete
...
and repair process with follower
with: #1000262678
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2025-10-13 15:29:35 +08:00
Cloudstriff
861046913b
feat(util): use multi queue and thread pool to read or write data in large file
...
with #1000262058
Signed-off-by: Cloudstriff <chenjiong@oppo.com>
2025-10-13 15:29:35 +08:00
Cloudstriff
fece963da4
feat(util): add lightly operation IsClosed for closer
...
with #1000262058
Signed-off-by: Cloudstriff <chenjiong@oppo.com>
2025-10-13 15:29:34 +08:00
mawei029
06b43cac9a
fix(blobnode): both woker and blobnode, need load code mode
...
with: #1000271469
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-10-13 15:29:34 +08:00
JasonHu520
4cd5060660
fix(blobnode): crc failed while repairing via batch read, should set data not ok in memory
...
with: #1000262678
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2025-10-13 15:29:34 +08:00
xiejian
e9ef158574
fix(raft): limit entries size when call storage.Entries
...
with: #23065907
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-10-13 15:29:34 +08:00
xiejian
4b74e874b0
feat(shardnode): support DeleteBlobRaw api, generate delete blob msg when DeleteBlob
...
with: #1000042472
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-10-13 15:29:34 +08:00
xiejian
84cbec67e9
feat(shardnode): init blob delete manager to support delete blob process
...
with: #1000042472
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-10-13 15:29:34 +08:00
xiejian
7e826ee36c
feat(shardnode): add basic functions required to support the delete blob process
...
with: #1000042472
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-10-13 15:29:34 +08:00
mawei029
432e1bfb58
refactor(blobnode): io qos mgr refactor, bandwidth dynamic limit, refactor qos type
...
with: #1000150059 , #1000213238 , #1000213241 , #1000213265 , #1000150059 , #1000223627
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-10-13 15:29:34 +08:00
mawei029
a4a171a966
chroe(blobnode): meta db, disk broken EIO error
...
with: #1000334364
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-10-13 15:29:34 +08:00
mawei029
bde4cfedda
refactor(blobnode): move util iopool to blobnode base
...
with: #1000250443
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-10-13 15:29:34 +08:00
tangdeyi
ae044299b3
fix(clustermgr): set volume epoch when loadData
...
with #1000255629
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2025-10-13 15:29:34 +08:00
mawei029
315a833194
refactor(blobnode): refacotr blobnode api iostat io type
...
with: #1000150059
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-10-13 15:29:34 +08:00
JasonHu520
d2eabe608c
fix(blobnode): support batch download for repair in local
...
with: #1000247932
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2025-10-13 15:29:34 +08:00
mawei029
2378992e7b
chroe(blobnode): disk broken EIO error, cannot allocate memory
...
with: #1000249055
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-10-13 15:29:34 +08:00
slasher
b346da9385
fix(access): new span for background task
...
. #1000247577
Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-13 15:29:34 +08:00
tangdeyi
5e452b92f9
fix(clustermgr): disk cannot set broken when dropping
...
with #1000245746
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2025-10-13 15:29:34 +08:00
JasonHu520
5a47e79981
perf(scheduler): optimize the punish time for failed deletion
...
with: #1000241330
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2025-10-13 15:29:34 +08:00
slasher
b32fb71320
style(proxy): add trackLog when missing cache
...
. #23135507
Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-13 15:29:34 +08:00
slasher
b959f64536
feat(cli): erase proxy cache by filter
...
. #1000225268
Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-13 15:29:34 +08:00
xiejian
3c7f0b429f
feat(shardnode): remove shardkeys variable in ShardOpHeader struct
...
with: #1000181642
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-10-13 15:29:34 +08:00
mawei029
03368f9b69
feat(bssdk): remove ShardKeys field of the structure, set shardKeys in blob name
...
use '{}' to mark
with: #1000181642
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-10-13 15:29:34 +08:00
mawei029
cd4bd09ff3
feat(bssdk): encode shardKeys to blob name, use '{}' to mark
...
with: #1000181642
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-10-13 15:29:34 +08:00
mawei029
dfd14751b1
fix(blobnode): use the core disk config after the fix InitConfig
...
with: #1000233594
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-10-13 15:29:34 +08:00
xiejian
a548e93f81
feat(shardnode): set shardKeys in blob name or item id, use '{}' to mark
...
with: #1000181642
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-10-13 15:29:34 +08:00
tangdeyi
8a5429cb4e
fix(clustermgr): fix cluster concurrent apply panic issue
...
with #1000223876
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2025-10-13 15:29:34 +08:00
mawei029
f6c563d8a5
fix(blobnode): there may be remain chunk files, when restart during compacting
...
with: #1000223631
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-10-13 15:29:34 +08:00
mawei029
80d64c053b
chore(blobnode): adjust code of compact process , structural adjustment
...
with: #1000223631
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-10-13 15:29:34 +08:00
slasher
2de4f09154
feat(rpc2): close recv and send if error in stream client
...
. #1000219604
Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-13 15:29:34 +08:00
slasher
cab906aff9
feat(trace): new span and context to run in background
...
. #1000201519
Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-13 15:29:34 +08:00
mawei029
5cf9f2aa4c
fix(blobnode): happen EIO when handle chunk api, return broken disk
...
with: #1000196614
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-10-13 15:29:34 +08:00
mawei029
c113ecfa69
refactor(blobnode): added multiple startup of disk ut individual tests
...
with: #1000212202
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-10-13 15:29:34 +08:00
mawei029
f12c6f5acf
fix(blobnode): fix blobnode is a new disk, and cm is a old repaired disk
...
with: #1000197168
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-10-13 15:29:34 +08:00
mawei029
abd803d026
fix(blobnode): fix disk status broken when start up, fix close at only blobnode close
...
with: #1000197168
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-10-13 15:29:34 +08:00
JasonHu520
91b5c28222
fix(blobnode): batch read interface support read 0 bids
...
with: #1000211245
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2025-10-13 15:29:34 +08:00
JasonHu520
b394e82e42
fix(scheduler): init clusterID for shard disk repair mgr
...
with: #1000197824
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2025-10-13 15:29:34 +08:00
mawei029
cd4a5d8a72
fix(blobnode): disk broken, rocksdb sst file corruption
...
with: #1000334360
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-10-13 15:29:34 +08:00
xiejian
ad264f1da5
fix(scheduler): set kafka offset retention time to 720 hours
...
with #1000169074
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-10-13 15:29:34 +08:00
xiejian
9155235dcd
feat(scheduler): report chunk miss migrate
...
with #1000088302
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-10-13 15:29:34 +08:00
xiejian
fc8a867216
refactor(scheduler): rename volume_update.go to task.go
...
with #1000088302
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-10-13 15:29:34 +08:00
mawei029
c2eae16c72
feat(blobnode): add config to enable iopool feature
...
with: #1000194242
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-10-13 15:29:34 +08:00
JasonHu520
04717ce338
fix(blobnode): use config of disk instead of service
...
with: #1000197824
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2025-10-13 15:29:34 +08:00
mawei029
ed72aa7146
fix(blobnode): happen EIO when handle shard/chunk io, return broken disk
...
with: #1000196614
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-10-13 15:29:34 +08:00
mawei029
af2989efdf
chore(blobnode): optimize trace log detail, when occur error in io
...
with: #1000195617
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-10-13 15:29:34 +08:00
slasher
f42229bf27
feat(clustermgr): add configuration reserved space
...
. #1000192943
Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-13 15:29:34 +08:00
mawei029
83f0b7c140
feat(blobnode): start mode split blobnode service
...
with: #1000159741
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-10-13 15:29:34 +08:00
slasher
3197d47f54
feat(blobnode): put nopdata in worker repair
...
. #1000180877
Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-13 15:29:34 +08:00
slasher
ed1b827156
feat(common): add zero buffer checker
...
cpu: Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz
BenchmarkIsZeroBuffer
BenchmarkIsZeroBuffer/1M-zero-all
BenchmarkIsZeroBuffer/1M-zero-all-4 50384 23927 ns/op 0 B/op 0 allocs/op
BenchmarkIsZeroBuffer/1M-not-zero-first
BenchmarkIsZeroBuffer/1M-not-zero-first-4 1000000000 0.4 ns/op 0 B/op 0 allocs/op
BenchmarkIsZeroBuffer/1M-not-zero-mid
BenchmarkIsZeroBuffer/1M-not-zero-mid-4 108770 10617 ns/op 0 B/op 0 allocs/op
BenchmarkIsZeroBuffer/1M-not-zero-last
BenchmarkIsZeroBuffer/1M-not-zero-last-4 48726 22504 ns/op 0 B/op 0 allocs/op
. #1000180877
Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-13 15:29:34 +08:00
slasher
22bb533794
chore(test): change erroris target and err
...
. #1000042638
Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-13 15:29:34 +08:00
mawei029
49d847fec5
refactor(blobnode): rename worker model file
...
with: #1000159720
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-10-13 15:29:34 +08:00
tangdeyi
03cebe99f1
fix(clustermgr): volume allocation optimization
...
1. sort vid by health when diskload is not enabled
2. sort vid by health and diskload when diskload is enabled
with #1000151206
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2025-10-13 15:29:34 +08:00
JasonHu520
408938ae13
refactor(blobnode): split shard encode process from storage to api
...
with: #1000135108
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2025-10-13 15:29:34 +08:00
JasonHu520
4f4da7c09d
refactor(blobnode): update get shards interface
...
with: #1000135108
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2025-10-13 15:29:34 +08:00
JasonHu520
2f0b2b163b
feat(blobnode): chunk data support batch read
...
with: #1000135108
Signed-off-by: slasher <shenjie1@oppo.com>
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2025-10-13 15:29:34 +08:00
JasonHu520
ab621790d8
feat(blobnode): chunk migrate and disk repair support download data in batch
...
with: #1000119221
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2025-10-13 15:29:34 +08:00
JasonHu520
8037070a38
feat(blobnode): add batch shard read interface for blobnode client
...
with: #1000118252
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2025-10-13 15:29:34 +08:00
JasonHu520
349d757d79
feat(blobnode): add offset to shard info for ListShard and ShardStat interface
...
with: #1000118065
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2025-10-13 15:29:34 +08:00
slasher
ab2bb21e70
feat(cli): force write to readonly cluster
...
. #1000172452
Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-13 15:29:34 +08:00
slasher
2352cfd075
feat(cli): support sdk in access cli
...
. #1000172452
Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-13 15:29:34 +08:00
slasher
a808adf213
test(cli): pretty print access addresses
...
. #1000334184
Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-13 15:29:34 +08:00
mawei029
0fc7265d79
feat(blobnode): data inspect clean old disk metric
...
because already replace a new disk and use another disk id
with: #1000166344
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-10-13 15:29:34 +08:00
mawei029
cb6818c4d0
refactor(blobnode): data inspect record local incorrect bids log
...
with: #1000165799
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-10-13 15:29:34 +08:00
mawei029
6a9607f583
fix(blobnode): fix false positives data inspect
...
with: #1000025911
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-10-13 15:29:34 +08:00
mawei029
80b069d508
refactor(blobnode): optimize io context cancel, and it has become simpler
...
with: #1000146037
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-10-13 15:29:34 +08:00
slasher
390b3554b4
feat(access): add nopdata in access
...
. #1000117047
Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-13 15:29:34 +08:00
slasher
7772b9ee6b
feat(blobnode): add nopdata in blobnode
...
. #1000117014
Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-13 15:29:34 +08:00
slasher
2300b0f382
feat(util): add generic math max and min
...
. #1000153033
Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-13 15:29:34 +08:00
tangdeyi
44b3ab643b
feat(clustermgr): report broken unit num in volume shard
...
with #1000151206
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2025-10-13 15:29:34 +08:00
slasher
bc69c2abeb
perf(trace): use range function instead copy of slice
...
. #23135507
Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-13 15:29:33 +08:00
slasher
0dc16bcc09
perf(trace): cache span start options and id
...
Benchmark_Span_Pool
Benchmark_Span_Pool/cached
Benchmark_Span_Pool/cached-4 1656540 724.6 ns/op 48 B/op 1 allocs/op
Benchmark_Span_Pool/nocache
Benchmark_Span_Pool/nocache-4 906054 4233 ns/op 1224 B/op 17 allocs/op
. #23135507
Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-13 15:29:33 +08:00
slasher
ec6ee4a793
perf(trace): cache span to reduce allocation in span tracking
...
Benchmark_Span_Pool
Benchmark_Span_Pool/nocache
Benchmark_Span_Pool/nocache-4 506971 6923 ns/op 1520 B/op 32 allocs/op
-->
Benchmark_Span_Pool
Benchmark_Span_Pool/cached
Benchmark_Span_Pool/cached-4 732175 1585 ns/op 654 B/op 16 allocs/op
Benchmark_Span_Pool/nocache
Benchmark_Span_Pool/nocache-4 688984 3551 ns/op 1582 B/op 23 allocs/op
Benchmark_Span_TrackLog
Benchmark_Span_TrackLog/duration-any
Benchmark_Span_TrackLog/duration-any-4 16785505 70.35 ns/op 0 B/op 0 allocs/op
Benchmark_Span_TrackLog/duration-second
Benchmark_Span_TrackLog/duration-second-4 18425104 64.40 ns/op 0 B/op 0 allocs/op
Benchmark_Span_TrackLog/duration-error
Benchmark_Span_TrackLog/duration-error-4 17530114 65.82 ns/op 0 B/op 0 allocs/op
. #23135507
Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-13 15:29:33 +08:00
slasher
ac1e84bf0b
perf(trace): avoid to allocate option struct in span tracking
...
from:
Benchmark_Span_TrackLog
Benchmark_Span_TrackLog/duration-any
Benchmark_Span_TrackLog/duration-any-4 7892170 457.1 ns/op 40 B/op 3 allocs/op
Benchmark_Span_TrackLog/duration-second
Benchmark_Span_TrackLog/duration-second-4 10384854 113.5 ns/op 28 B/op 3 allocs/op
Benchmark_Span_TrackLog/duration-error
Benchmark_Span_TrackLog/duration-error-4 5301676 500.1 ns/op 80 B/op 6 allocs/op
to:
Benchmark_Span_TrackLog
Benchmark_Span_TrackLog/duration-any
Benchmark_Span_TrackLog/duration-any-4 11378097 97.32 ns/op 16 B/op 1 allocs/op
Benchmark_Span_TrackLog/duration-second
Benchmark_Span_TrackLog/duration-second-4 17787051 211.9 ns/op 24 B/op 3 allocs/op
Benchmark_Span_TrackLog/duration-error
Benchmark_Span_TrackLog/duration-error-4 9427880 189.0 ns/op 40 B/op 3 allocs/op
. #23135507
Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-13 15:29:33 +08:00
slasher
ad4e8b0f9f
perf(util): format int to string with function outlining
...
BenchmarkUtilFormatInt
BenchmarkUtilFormatInt/format
BenchmarkUtilFormatInt/format-4 100000000 13.48 ns/op 0 B/op 0 allocs/op
BenchmarkUtilFormatInt/strconv
BenchmarkUtilFormatInt/strconv-4 21880332 92.22 ns/op 7 B/op 1 allocs/op
. #23135507
Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-13 15:29:33 +08:00
mawei029
076de2685d
refactor(blobnode): remove unused switch reAddDisk
...
with: #1000025913
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-10-13 15:29:33 +08:00
slasher
823d3f3a0c
pref(rpc2): _gc_ reuse objects in rpc2
...
. #23113571
Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-13 15:29:33 +08:00
slasher
e5125b59c4
pref(rpc2): _gc_ reuse objects in transport frames
...
. #23113571
cpu: Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz
BenchmarkAcceptClose
BenchmarkAcceptClose 276475 5393 ns/op 904 B/op 7 allocs/op
BenchmarkConnSmux
BenchmarkConnSmux 39103 31170 ns/op 121 B/op 0 allocs/op
BenchmarkPipeSmux
BenchmarkPipeSmux 90400 13771 ns/op 6 B/op 0 allocs/op
BenchmarkConnTCP
BenchmarkConnTCP 61194 18310 ns/op 0 B/op 0 allocs/op
BenchmarkRangedWrite
BenchmarkRangedWrite 242226 5230 ns/op 24 B/op 0 allocs/op
Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-13 15:29:33 +08:00
slasher
a793d19ce0
pref(rpc2): _gc_ reuse objects in transport allocator
...
. #23113571
cpu: Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz
BenchmarkMSB
BenchmarkMSB 172919274 6.938 ns/op 0 B/op 0 allocs/op
BenchmarkAllocator
BenchmarkAllocator 38689362 31.63 ns/op 1 B/op 0 allocs/op
BenchmarkBufferRing
BenchmarkBufferRing 278162 4190 ns/op 0 B/op 0 allocs/op
Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-13 15:29:33 +08:00
slasher
50c3e4b4e8
fix(rpc2): write limited body to reader
...
. #1000334184
Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-13 15:29:33 +08:00
slasher
7fcb5c327a
feat(blobnode): ranged read with aligned buffer
...
. #22951605
Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-13 15:29:33 +08:00
slasher
7f8a4916d8
feat(util): alignment size's head and padding tail
...
. #22984144
Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-13 15:29:33 +08:00
slasher
d00703a458
feat(transport): add ranged writer of frame
...
. #22922156
Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-13 15:29:33 +08:00
slasher
a2c0dfbadc
feat(transport): add flag error for writing to next frame
...
. #22922145
Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-13 15:29:33 +08:00
slasher
7fcee0e46f
feat(rpc2): aligned checksum buffer in request and response body
...
saving bytes in small en-decode body
. #22922123 #22922136
Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-13 15:29:33 +08:00
slasher
d54ac862f5
feat(transport): allocated buffer with frame header and aligned address
...
. #22922112
Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-13 15:29:33 +08:00
slasher
8c156972a8
chore(testing): move mock files to testing all
...
. #1000145567
Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-13 15:29:33 +08:00
slasher
ad3442a467
chore(testing): move mock files to testing shardnode
...
. #1000145567
Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-13 15:29:33 +08:00
slasher
61c2e882fb
chore(testing): move mock files to testing clustermgr
...
. #1000145567
Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-13 15:29:33 +08:00
slasher
0ab1c039a0
chore(testing): move mock files to testing proxy
...
. #1000145567
Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-13 15:29:33 +08:00
JasonHu520
e0f47a5037
feat(scheduler): unlock volume support volume epoch
...
with: #1000131117
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2025-10-13 15:29:33 +08:00
tangdeyi
3cebf9fdbf
feat(clustermgr): lock unlock volume support epoch
...
with #1000102800
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2025-10-13 15:29:33 +08:00
JasonHu520
f2bd5dc417
fix(raft): should check header of snapshot request
...
with: #1000100262
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2025-10-13 15:29:33 +08:00
slasher
6506cab835
feat(common): add extend codemode
...
. #1000111154
close .3773 .3767
Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-13 15:29:33 +08:00
slasher
3d00ed9baf
feat(rpc2): add wait queue in client
...
. #1000106546
Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-13 15:29:33 +08:00
JasonHu520
9d8ec7c880
feat(raft): multi-raft build transport based on rpc2 stream mode
...
with: #1000100262
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2025-10-13 15:29:33 +08:00
linfangrong
eba36c1d01
fix(client): Fixed issues #3935 readdir offset
...
Signed-off-by: linfangrong <linfangrong.liuxin@qq.com>
2025-09-28 11:15:52 +08:00
linfangrong
785e55476c
fix(client): Fixed issues #3935 readdir offset
...
Signed-off-by: linfangrong <linfangrong.liuxin@qq.com>
2025-09-28 11:15:52 +08:00
linfangrong
77940d0e53
fix(client): Fixed issues #3935 readdir offset
...
Signed-off-by: linfangrong <linfangrong.liuxin@qq.com>
2025-09-28 11:15:52 +08:00
linfangrong
b8c65c199c
fix(client): Fixed issues #3935 readdir offset
...
Signed-off-by: linfangrong <linfangrong.liuxin@qq.com>
2025-09-28 11:15:52 +08:00
zhangjianwei2
b6c48c5a4e
fix(common): correct kafka monitor error log for blobstore
...
Signed-off-by: zhangjianwei2 <zhangjianwei2_yewu@cmss.chinamobile.com>
2025-09-19 15:22:05 +08:00
Zhaohu Xing
69fae6c622
docs(cache): add cluster and vol parameters to config table
...
Signed-off-by: Zhaohu Xing <x.zhaohu@gmail.com>
2025-09-18 14:15:53 +08:00
steve.wei
e55a6b71d1
refactor(sdk): rename the variable parentMp to mp in the function getMembersFromMp
...
Signed-off-by: steve.wei <coderushing@gmail.com>
refactor: Rename the variable parentMp to mp in the function getMembersFromMp
Signed-off-by: steve.wei <coderushing@gmail.com>
2025-09-15 10:26:34 +08:00
JasonHu520
b4309236a2
fix(rpc): timeout with response in rpc client for timer reset
...
@formatter:off
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2025-09-11 10:06:55 +08:00
slasher
d076024883
fix(rpc): timeout with response in rpc client
...
@formatter:off
Signed-off-by: slasher <shenjie1@oppo.com>
2025-09-05 12:15:07 +08:00
mawei029
34663a6fd7
fix(blobnode): fix data inspect goroutine leak
...
@formatter:off
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-09-04 15:54:03 +08:00
zhangjianwei2
4ddfc37d3f
fix(bssdk): stream parameter hierarchy of sdk is inconsistent with access
...
fixes: https://github.com/cubefs/cubefs/issues/3920
Signed-off-by: zhangjianwei2 <zhangjianwei2_yewu@cmss.chinamobile.com>
2025-09-01 17:20:17 +08:00
yuzhiqiang
e578ed054d
fix(blobstore): fix typo
...
Signed-off-by: yuzhiqiang <yuzhiqiang_yewu@cmss.chinamobile.com>
2025-09-01 17:03:40 +08:00
mawei029
7a18c4c20d
fix(blobnode): need check write n at datafile, may be ctx is cancel
...
with: #1000309518
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-09-01 10:17:05 +08:00
mawei029
b7c1606fa2
fix(blobnode): qos limit read io concurrence overload
...
@formatter:off
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-09-01 10:17:05 +08:00
dengxiaochao
0ef70c8d48
fix(sdk): incorrect offset when aheadread copy cacheBlock to req data buffer
...
Signed-off-by: dengxiaochao <dengxiaochao@bilibili.com>
2025-09-01 08:55:55 +08:00
linfangrong
0da75080fe
fix(client): Fixed issues #3586 readdir offset
...
Signed-off-by: linfangrong <linfangrong.liuxin@qq.com>
2025-08-22 11:17:07 +08:00
yuzhiqiang
66d45dba3b
fix(blobstore): remove the minimum value limit
...
In some specific scenarios, a smaller alloc_retry_interval_ms value
needs to be set, so the minimum value limit is removed.
Signed-off-by: yuzhiqiang <yuzhiqiang_yewu@cmss.chinamobile.com>
2025-08-22 10:05:28 +08:00
NaturezzZ
0a9673f266
fix(master): add retry to syncSendAdminTask to handle transient error
...
Signed-off-by: NaturezzZ <naturezzz@outlook.com>
2025-08-15 10:39:58 +08:00
aaronwu2010
310badc752
docs(docs): Add 7 FAQ cases.
...
Signed-off-by: aaronwu2010 <huochengwu@qq.com>
2025-08-14 14:19:50 +08:00
yuzhiqiang
2e4c46a4fb
feat(blobstore): add compress option to log configuration
...
Since the lumberjack package has a compression option,
this option is also added to the log configuration.
The default value is false, and it is up to the user to decide whether to enable it.
Signed-off-by: yuzhiqiang <yuzhiqiang_yewu@cmss.chinamobile.com>
2025-08-14 11:36:51 +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
zhumingze
6d7ed87406
docs(docs): update yum.md for v3.5.2
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:20 +08:00
zhumingze
65cb06469f
docs(docs): update changelog for v3.5.2
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:20 +08:00
clinx
432ae228b6
feat(docs): add docs about 3.5.1
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-11 17:21:20 +08:00
zhumingze
4f0935dccb
docs(docs): Modify the docs according to v3.5.2
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:20 +08:00
shuqiang-zheng
c2120b249a
fix(master): reported bad disk not complete decommission timely metric.
...
close:#1000242504
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-11 17:21:20 +08:00
zhumingze
77156bdb08
fix(master): Fixed the problem of repeated execution of disk decommission. #1000247984
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:20 +08:00
zhumingze
ea04e20415
fix(data): Determine the disk lost based on master and locally loaded Dp information
...
. #1000244723
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:20 +08:00
shuqiang-zheng
5229b942f0
fix(master): ignore dp that has the same srcAddr but are in the autoAddReplica status.
...
close:#1000242504
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-11 17:21:20 +08:00
shuqiang-zheng
5f458b8ff5
fix(master): remove the interface that resets the decommission state of the disk to avoid misuse.
...
close:#1000242504
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-11 17:21:20 +08:00
zhumingze
4f0b89ebb6
fix(data): Fix autoComputeCRC log issue. #1000232936
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:20 +08:00
zhumingze
69c99eb657
fix(master): Optimize fileStats related interfaces. #1000240718
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:19 +08:00
shuqiang-zheng
d22301841b
fix(master): support adjusting the weight of the previous decommission.
...
close:#1000234137
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-11 17:21:19 +08:00
clinx
fb36f0f98b
feat(flashnode): submit warm up task by http interface#1000150848
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-11 17:21:19 +08:00
clinx
24baf89ef5
feat(flashnode): specify the number of origin-fetching goroutines
...
. #1000150848
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-11 17:21:19 +08:00
clinx
bb950063e8
fix(client): use heartbeat ping flashnode #1000151053
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-11 17:21:19 +08:00
chihe
76cb9a6742
feat(client): add the forceRemoteCache configuration
...
close:#22957483
Signed-off-by: chihe <chihe@oppo.com>
2025-08-11 17:21:19 +08:00
chihe
59016a67cb
fix(client): do not remove context when dir is released
...
close:#21990545
Signed-off-by: chihe <chihe@oppo.com>
2025-08-11 17:21:19 +08:00
chihe
e0aa65f740
fix(flashnode): modify mem_stat for reading from dataNode
...
close:#23109728
Signed-off-by: chihe <chihe@oppo.com>
2025-08-11 17:21:19 +08:00
chihe
17165dc792
fix(client): do not remove node cache when dir is released
...
close:#21990545
Signed-off-by: chihe <chihe@oppo.com>
2025-08-11 17:21:19 +08:00
Victor1319
8b0aeef378
refactor(master): limit the interval between deleteing mp replica to 5 minutes. #1000230481
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-11 17:21:19 +08:00
Wu Huocheng
6fb8c5c280
chore(master): delete unsave count and calculate freeze count realtime.#1000230160
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-11 17:21:19 +08:00
shuqiang-zheng
8f8d7d6f5a
fix(master): fix possible deadlocks during dp decommission.
...
close:#1000231787
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-11 17:21:19 +08:00
shuqiang-zheng
44cd11860e
fix(master): modify dp decommission failure retry interval to 5 minutes.
...
close:#1000219034
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-11 17:21:19 +08:00
Wu Huocheng
503a930226
fix(metanode): replace runtime.GC with debug.OsFreeMemory.#1000228535
...
The runtime.GC may cause metanode lose heartbeat.
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-11 17:21:19 +08:00
zhumingze
3264a846e5
fix(master): fix log and interface display issues. #1000230771
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:19 +08:00
Victor1319
ff65346f7b
fix(master): check raft leader before handle leader change. #1000228487
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-11 17:21:19 +08:00
Victor1319
4dc8da9159
fix(master): set max limit as one year for trash interval. #1000227134
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-11 17:21:19 +08:00
leonrayang
91f6884901
revert(client): Add a log that records information about unsupported requests #23059813
...
This reverts commit ae352f498a .
Signed-off-by: leonrayang <changliang@oppo.com>
2025-08-11 17:21:19 +08:00
leonrayang
a84e88d7f9
feat(cli): Add tool to obtain partition information that not distributed in the same failure domain
...
. #1000227252
Signed-off-by: leonrayang <changliang@oppo.com>
2025-08-11 17:21:19 +08:00
shuqiang-zheng
58e8451fbe
fix(master): modify the period of checking dp repairing status of background goroutine to 5 minutes.
...
close:#1000158166
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-11 17:21:19 +08:00
shuqiang-zheng
03112ff534
fix(master): fix the issue that newly created dp may falsely report dp no same peer.
...
close:#1000155538
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-11 17:21:19 +08:00
shuqiang-zheng
62a30aa9af
fix(master): fix decommission target nodeSet problem.
...
close:#1000219643
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-11 17:21:19 +08:00
Victor1319
9b3023e788
refactor(master): classify DP anomaly alerts by media type. #1000196022
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-11 17:21:19 +08:00
Victor1319
d6f98b4fe6
refactor(master): support report zone, set info for node metrics. #1000138242
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-11 17:21:19 +08:00
Victor1319
76ea9434ea
fix(client): avoid client nil point panic. #1000225195
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-11 17:21:19 +08:00
zhumingze
d2c97826a1
fix(meta): fix log problem. #1000223743
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:19 +08:00
zhumingze
50177fae9f
fix(master): Optimize the judgment conditions when the bad disk is automatically decommission
...
. #1000223743
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:19 +08:00
Wu Huocheng
ff730e220a
fix(master): check the migrate plan destination not in mp hosts.#1000222192
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-11 17:21:18 +08:00
zhumingze
e91577b8b8
fix(cli): Skip non-existent mp when printing. #1000217026
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:18 +08:00
zhumingze
18e49cd01d
fix(master): Optimize TestStrawNodeSelector test case. #1000217026
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:18 +08:00
zhumingze
72d8e176af
fix(master): Optimize disk decommission command and add boundary conditions. #1000217026
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:18 +08:00
Wu Huocheng
1be6fb6283
fix(master): add the new free list size.#1000221718
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-11 17:21:18 +08:00
wu huocheng
9d7e341a8b
chore(master): update the unit test codes.#1000218883
...
Signed-off-by: wu huocheng <wuhuocheng@oppo.com>
2025-08-11 17:21:18 +08:00
Wu Huocheng
8df607c853
fix(master): select another meta node as leader.#1000218883
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-11 17:21:18 +08:00
Wu Huocheng
22a6f7928a
fix(master): avoid to migrate meta partition to no writable node.#1000218883
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-11 17:21:18 +08:00
shuqiang-zheng
9bdd8580a9
fix(master): retry counts on dp decommission rollback should be after the judgment retry interval.
...
close:#1000219034
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-11 17:21:18 +08:00
shuqiang-zheng
e39e185356
fix(master): show dp of missing tiny extent when cli performs data partition checking.
...
close:#1000059418
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-11 17:21:18 +08:00
shuqiang-zheng
1ed3393568
fix(master): decommissionFailed dp may rejoin the decommission queue after changing the leader.
...
close:#1000215464
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-11 17:21:18 +08:00
Victor1319
464d7c5d1b
fix(master): return rdonly status for metanode get api. #1000218177
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-11 17:21:18 +08:00
Victor1319
7b7dacb066
fix(master): check nil poniter when load flash task. #1000218177
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-11 17:21:18 +08:00
Victor1319
0a6b6b0804
fix(meta): Compatible with cache read scenarios. #1000218172
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-11 17:21:18 +08:00
zhumingze
e63be46cc0
fix(util): Optimizing dataNode oplog test case. #1000216688
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:18 +08:00
zhumingze
0aabac43db
fix(all): Downgrade some log levels from error to warn. #1000202936
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:18 +08:00
leonrayang
811e0fbd70
feat(client): Add a log that records information about unsupported requests #23059813
...
Signed-off-by: leonrayang <changliang@oppo.com>
2025-08-11 17:21:18 +08:00
leonrayang
ef98cb989c
fix(master): Reduce the warning logs generated by the UID process.#23059813
...
Signed-off-by: leonrayang <changliang@oppo.com>
2025-08-11 17:21:18 +08:00
Wu Huocheng
2145fa9ec4
fix(master): Add freeze meta partition stage two.#1000208370
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-11 17:21:18 +08:00
shuqiang-zheng
8fcdae734f
fix(master): optimize log output for failed cancellation of decommission.
...
close:# 1000167790
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-11 17:21:18 +08:00
shuqiang-zheng
cec0f97a76
fix(master): fix that canceling decommission will block the subsequent automatic decommission.
...
close:#1000191419
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-11 17:21:18 +08:00
shuqiang-zheng
175ee90983
feat(master): the dp decommission supports specifying the target nodeSet.
...
close:#1000211002
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-11 17:21:18 +08:00
shuqiang-zheng
9b3f91b475
fix(master): remove the number limit of retries to ensure dp canceling decommission successful.
...
close:#1000209481
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-11 17:21:18 +08:00
zhumingze
f41ab87b0b
fix(cli): skip not exist mp in check abnomral raft mps in cli. #1000203274
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:18 +08:00
Victor1319
ddde96c5f6
refactor(data): modify punch hole sync size to 128M for tiny extent. #1000212704
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-11 17:21:18 +08:00
Victor1319
640613aa7e
refactor(master): add log when check mp status. #1000207169
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-11 17:21:18 +08:00
zhumingze
74385744ef
fix(master): skip decommissionSuccessDisk in Autodecommision. #1000209481
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:17 +08:00
zhumingze
d63f4fb662
fix(master): skip discard dp in checkDataReplicaMeta. #1000210172
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:17 +08:00
zhumingze
0d4899662e
fix(meta): Fix meta panic caused by fileStats. #1000183416
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:17 +08:00
Wu Huocheng
265ad9774d
fix(master): set metanode readonly before offline.#1000207388
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-11 17:21:17 +08:00
Victor1319
71a40e5874
fix(client): exit ahead read goroutine once stream is closed. #1000207169
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-11 17:21:17 +08:00
zhumingze
108b69cd68
fix(master): Fix badPartition judgment problem. #1000207367
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:17 +08:00
shuqiang-zheng
052bc84df8
fix(master): fix dp restore failure due to datanode not found.
...
close:#1000155538
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-11 17:21:17 +08:00
shuqiang-zheng
a5dc2d3abe
fix(master): add a lock ensures that dp's DecommissionDiskRetryMap is thread-safe..
...
close:#1000188341
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-11 17:21:17 +08:00
shuqiang-zheng
3cd03545ef
fix(master): DecommissionFirstHostDiskParallelLimit default value set to 10.
...
close:#1000041775
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-11 17:21:17 +08:00
shuqiang-zheng
fd7976866c
fix(master): fix decommission priority problems.
...
close:#1000197987
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-11 17:21:17 +08:00
zhumingze
bde40fb283
fix(master): Fix log print problem. #1000205234
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:17 +08:00
zhumingze
dcedbe6397
fix(cli): Fix cli Incomplete printing problem. #1000203274
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:17 +08:00
zhumingze
30f81f1575
fix(data): Fix data log problem. #1000202936
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:17 +08:00
zhumingze
de8d81a807
fix(master): Fix dp decommission rollback issue. #1000203360
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:17 +08:00
Victor1319
a77a5cce01
fix(smux): use stop chan to sync request fail status. #1000193713
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-11 17:21:17 +08:00
zhumingze
b2f54cfa25
fix(data): print repairing error when reading a repairing dp copy encounter error. #1000196321
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:17 +08:00
zhumingze
bf417dadce
fix(client): Fix log related issues. #1000200359
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:17 +08:00
Victor1319
d7610f1f1d
fix(flashnode): check reply size and data cap. #1000200376
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-11 17:21:17 +08:00
Victor1319
6dabb8774c
fix(client): refactor client eio monitor reporter. #1000182431
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-11 17:21:17 +08:00
clinx
8bc784762a
feat(client): added newline characters#23068759
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-11 17:21:17 +08:00
clinx
854a40f92c
feat(client): print cache size in stat file #23068759
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-11 17:21:17 +08:00
Victor1319
6dcbb1a8c1
refactor(client): not report eio when write file not exist. #1000159871
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-11 17:21:17 +08:00
baihailong
f707cf9ac0
fix(client): no need to report metric when read size less than expect.#22186923
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-11 17:21:17 +08:00
baihailong
b3bfa2d127
fix(sdk): enable limit frequency,readDirLimit,batchInodeSize when RefreshSummary_ll.#23042874
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-11 17:21:17 +08:00
baihailong
7cdf8c0f62
fix(sdk): optimize getsummary timeout and batch set xattr
...
. #23042874
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-11 17:21:17 +08:00
baihailong
ebbc9c35a5
fix(clientmeta): remove client enableSummary and meta not support UpdateXAttr.#23129966
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-11 17:21:17 +08:00
baihailong
c954437422
fix(sdk): adapt old summary info.#23077560
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-11 17:21:17 +08:00
baihailong
dada328d8f
fix(sdk): quotacache goroutime not exited when metawapper closed.#23077560
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-11 17:21:17 +08:00
baihailong
1c288fe4e5
fix(sdk): add some log.#23042874
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-11 17:21:17 +08:00
baihailong
c261a8cfcf
fix(tool): optimize tool get access files info.#23042874
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-11 17:21:16 +08:00
baihailong
c3fccbccae
fix(sdk): Adapt summaryinfo compatibility.#22890657
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-11 17:21:16 +08:00
baihailong
9df70e795e
fix(sdk): optimize refresh summary for tool.#22890657
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-11 17:21:16 +08:00
Victor1319
4c38eabeb8
refactor(client): support config stream reqChan Size. #23114335
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-11 17:21:16 +08:00
chihe
7b79861165
fix(client): Do not delete cache when released for trash rebuilding
...
close:#21990545
Signed-off-by: chihe <chihe@oppo.com>
2025-08-11 17:21:16 +08:00
zhumingze
87eaebb8c2
feat(client): Improve the penalty mechanism for near read failure. #1000150366
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:16 +08:00
zhumingze
83cad776a7
fix(master): Fix the issue of noleader rollback retry time being very short. #1000198013
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:16 +08:00
Victor1319
b069b5f51b
fix(smux): check frame state before write data to session. #1000193713
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-11 17:21:16 +08:00
Victor1319
809d023e9e
refactor(vendor): user smux in depends to replace pkg in vendor. #1000193713
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-11 17:21:16 +08:00
shuqiang-zheng
83c019a1a0
fix(master): fix the problem that weight can be less than 0 when perform decommission.
...
close:#1000196526
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-11 17:21:16 +08:00
shuqiang-zheng
3caa52827a
fix(master): fix the problem that totalDpCnt shows -1 when querying decommission status of disk
...
close:#1000194870
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-11 17:21:16 +08:00
shuqiang-zheng
d9a2e6dc7e
fix(master): add a map to save decommission retries for dp on different disks.
...
close:#1000188341
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-11 17:21:16 +08:00
shuqiang-zheng
c631fb5325
fix(master): fix that FirstHostDiskParallelLimit may be set to 0 during first upgrade of cluster.
...
close:#1000041775
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-11 17:21:16 +08:00
Victor1319
5ea53eb575
fix(data): update extent size after load from disk. #1000182163
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-11 17:21:16 +08:00
shuqiang-zheng
999f2989ac
fix(master): fix panic caused in build heartbeat response after loading broken disk.
...
close:#1000191783
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-11 17:21:16 +08:00
zhumingze
7cc6f6f361
fix(meta): Add logs to troubleshoot meta panic. #1000183416
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:16 +08:00
zhumingze
b13b4ec849
fix(cli): Add separate display dpCnt according to mediaType for cli volume. #1000177017
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:16 +08:00
chihe
179bbe3bd5
fix(client): if it exceeds the quota, delete it directly
...
close:#1000153130
Signed-off-by: chihe <chihe@oppo.com>
2025-08-11 17:21:16 +08:00
chihe
990579e3cf
fix(client): revert node cache
...
close:#1000123511
Signed-off-by: chihe <chihe@oppo.com>
2025-08-11 17:21:16 +08:00
shuqiang-zheng
c819f23f33
fix(master): fix thread safety issue caused by unused locks in canceling decommission.
...
close:#1000167790
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-11 17:21:16 +08:00
zhumingze
1c2acad05a
fix(client): Adjust some log levels to warn. #1000187434
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:16 +08:00
zhumingze
12895d975f
feat(meta): Add readDir iops limiter. #1000187434
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:16 +08:00
Wu Huocheng
b5b43f7ea3
chore(master): add meta partition and replica migrating plan message.#1000182330
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-11 17:21:16 +08:00
shuqiang-zheng
b258e285f2
fix(master): fix the problem of disk not found when using cli to query disk information.
...
close:#1000188189
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-11 17:21:16 +08:00
shuqiang-zheng
916b91977f
fix(master): add displaying totalDpCnt in queryAllDecommissionDisk.
...
close:#1000187922
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-11 17:21:16 +08:00
shuqiang-zheng
465976624b
fix(master): fix the problem that bad disk may not be able to be recovered due to a non-existent dp.
...
close:#1000186419
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-11 17:21:16 +08:00
shuqiang-zheng
cfef0e0d5c
fix(master): fix decommission problems
...
close:#1000183623
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-11 17:21:15 +08:00
shuqiang-zheng
a9d4ceafca
fix(master): fix issues related to canceling disk decommission.
...
close:#1000167790 #1000156518 #1000160979
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-11 17:21:15 +08:00
Victor1319
2aa2dace82
refactor(sdk): user readdir limit to implement readdir only api.#1000187177
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-11 17:21:15 +08:00
Victor1319
2d622c907d
fix(meta): msg sent back to the master process async to prevent blocking the connection
...
. #1000187177
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-11 17:21:15 +08:00
Victor1319
886c93c180
fix(meta): check and rename old raft dir if exist. #1000187608
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-11 17:21:15 +08:00
Victor1319
c3ad0e837a
fix(master): skip empty addr when remote dp raft member. #1000186190
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-11 17:21:15 +08:00
zhumingze
9e9eb0e753
fix(data): bad disk judgment logic fix. #1000184384
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:15 +08:00
zhumingze
33c6e2d96d
fix(data): limitIO logic fix. #1000158099
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:15 +08:00
Victor1319
41e6934a4c
fix(master): limit the last dp replica can't be deleted. #1000182796
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-11 17:21:15 +08:00
zhumingze
6702a0240a
fix(cli): Add raftForceDel parameter for disk decommission. #1000181775
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:15 +08:00
zhumingze
b7cc2f2b8a
fix(cli): Add logs for loacting problem. #1000158099
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:15 +08:00
Victor1319
9bb5598edf
fix(data): retry repair directly for tiny empty recover offset check. #1000173499
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-11 17:21:15 +08:00
Victor1319
cc29b3c706
refactor(meta): add warn log for mp create . #1000182796
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-11 17:21:15 +08:00
Victor1319
e4b0d9a4ea
fix(data): check extent store whether closed before tiny extent recover. #1000182163
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-11 17:21:15 +08:00
zhumingze
d624108ddc
fix(data): fix panic while create datapartition. #1000173883
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:15 +08:00
zhumingze
d0fa18a24e
fix(cli): cli adds the function of displaying the number of DPs of different media
...
. #1000177017
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:15 +08:00
zhumingze
fafbd6c86b
fix(master): Add deleting decommisionDisk records function for reloadDisk and deleteLostDisk
...
. #1000172911
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:15 +08:00
chihe
6533102b0d
fix(client): fix log error
...
close:#1000160727
Signed-off-by: chihe <chihe@oppo.com>
2025-08-11 17:21:15 +08:00
chihe
f0fc00932e
fix(client): readdir call readirLimit
...
close:#1000150030
Signed-off-by: chihe <chihe@oppo.com>
2025-08-11 17:21:15 +08:00
Victor1319
dce30cb1c5
refactor(data): refactor extent has been deleted log. #1000133844
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-11 17:21:15 +08:00
zhumingze
4034350ab6
fix(data): selectDisk skip lost disk. #1000173883
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:15 +08:00
zhumingze
111956c970
fix(cli): Fix cli datapartition check display issue. #1000171648
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:15 +08:00
Wu Huocheng
6397233158
fix(master): offline metanode with correct mp count.#1000176933
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-11 17:21:15 +08:00
shuqiang-zheng
26cb520f37
fix(master): remove the logic of directly deleting diskErr replicas in dp metadata restore.
...
close:#1000164568
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-11 17:21:15 +08:00
shuqiang-zheng
d38270ebc9
fix(master): clear the repairingStatus when removing the raft member.
...
close:#1000164568
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-11 17:21:15 +08:00
shuqiang-zheng
ed53a80882
fix(master): fix repairingStatus problem.
...
close:#1000164568
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-11 17:21:15 +08:00
shuqiang-zheng
9120e071f5
fix(master): fix decommission problems
...
close:#1000161678
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-11 17:21:14 +08:00
shuqiang-zheng
ffb1ffed1b
fix(master): fix panic that occurs during master execution of dp decommission.
...
close:#1000163454
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-11 17:21:14 +08:00
shuqiang-zheng
45b30b14ca
fix(master): fix that dp decommission traversal process cannot exit in time.
...
close:#1000162591
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-11 17:21:14 +08:00
leonrayang
c7026c1af3
fix(master): Forbid unInited uidSpaceManager be used in testCase #1000112797
...
Signed-off-by: leonrayang <changliang@oppo.com>
2025-08-11 17:21:14 +08:00
leonrayang
901614ae0b
feat(metanode): Add interface of reloadMp to enable online reload metapartition #1000171136
...
Signed-off-by: leonrayang <changliang@oppo.com>
2025-08-11 17:21:14 +08:00
leonrayang
7d5ad3adf4
feat(metanode): Add raft members consistent check with master hosts in metanode member check
...
. #1000165698
Signed-off-by: leonrayang <changliang@oppo.com>
2025-08-11 17:21:14 +08:00
Wu Huocheng
e944cecec5
chore(master): remove unnecessary message.#1000173254
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-11 17:21:14 +08:00
Wu Huocheng
b24b2afd46
fix(master): create part plan for cross zone mp.#1000169625
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-11 17:21:14 +08:00
Wu Huocheng
443770c908
fix(metanode): skip the deleted inodes.#1000172889
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-11 17:21:14 +08:00
zhumingze
1bc5ce41a5
docs(docs): Modify the documentation description of the recommission command. #1000155113
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:14 +08:00
zhumingze
db66d12cca
fix(cli): Display DP of different decommission types separately. #1000169635
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:14 +08:00
Wu Huocheng
055123bce7
fix(master): allow to create part of migrate plan.#1000169625
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-11 17:21:14 +08:00
zhumingze
f04b0218c4
fix(master): Added error message when datanode does not exist during addReplica. #1000165052
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:14 +08:00
zhumingze
24390e05c6
fix(client): Fix the panic when the read process prints string. #1000163463
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:14 +08:00
zhumingze
b73b063598
fix(data): Limit asynchronous read and write iocc to 100. #1000167799
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:14 +08:00
Wu Huocheng
f5be071244
fix(master): loopback checking mp status and add error message.#1000160843
...
1. Skip the no leader status and continue the loop back checking mp status.
2. Add plan msg to display error information.
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-11 17:21:14 +08:00
zhumingze
e3a4a71afa
fix(master): Add error handling when the decommissionSuccess or decommissioned record not exist
...
. #1000162948
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:14 +08:00
Victor1319
2729a407c7
fix(meta): start freelist after init objMetaWrapper. #1000161320
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-11 17:21:14 +08:00
Victor1319
733768afef
refactor(lcnode): skip extent not found error when migrate. #1000112446
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-11 17:21:14 +08:00
Victor1319
5b2d09c4d3
refactor(fmt): use gofumpt to format code. #1000063488
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-11 17:21:14 +08:00
slasher
add196d0cf
chore(util): using newest bytespool
...
@formatter:off
Signed-off-by: slasher <shenjie1@oppo.com>
2025-08-11 12:49:58 +08:00
clinx
c4124a35fa
fix(client): add audit log for unknown region host #1000075110
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-11 12:49:58 +08:00
clinx
5ee4050950
fix(client): add audit log for cross region host #1000075110
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-11 12:49:58 +08:00
clinx
7cae3a1114
fix(flashnode): show empty stat #1000021930
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-11 12:49:58 +08:00
clinx
a8de2526c7
fix(flashnode): show empty stat #1000021930
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-11 12:49:58 +08:00
shuqiang-zheng
33935843d9
feat(meta): Support for dynamic adjustment of gogc.
...
close:#1000011090
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-11 12:49:58 +08:00
clinx
372eb7c979
fix(master): prevent reentrant locking #22935828
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-11 12:49:58 +08:00
chihe
d904281f22
fix(bcache): reduce memory consumption for bcache-service
...
close:#22775703
Signed-off-by: chihe <chihe@oppo.com>
2025-08-11 12:49:58 +08:00
slasher
525e70cdf5
feat(flashnode): add service of flashnode
...
. #22115361 #22200518 of #21957840
Signed-off-by: slasher <mcq.sejust@gmail.com>
2025-08-11 12:49:57 +08:00
zhumingze1108
07b6632686
fix(master): gofmt v3.5.2 for merge to master
...
Signed-off-by: zhumingze1108 <zhumingze@oppo.com>
2025-08-08 15:03:51 +08:00
Victor1319
8385bf3e0c
refactor(client): Limit prefetching to use at most one-third of the memory. #1000160740
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:32 +08:00
Victor1319
fc05b1d503
refactor(all): remove cache rule and cache threshold. #1000142823
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:31 +08:00
Victor1319
bb22d0d0c9
refactor(meta): not output error log for not exist error. #1000139297
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:31 +08:00
Victor1319
e490c4c890
refactor(master): not empty when lc MinSize is zero. #1000144582
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:31 +08:00
Victor1319
fbec0bf690
fix(sdk): rafactor error msg when get partition 0 failed. #1000150298
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:31 +08:00
Victor1319
3b09c5205d
fix(meta): getExtents func not update inode self. #1000152321
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:31 +08:00
Victor1319
a20e91c651
refactor(client): not report eio for extent not found error. #1000123658
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:31 +08:00
Victor1319
71002fbcf0
refactor(client): report not support error for notsup error code. #1000121097
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:31 +08:00
zhumingze
8f6bc07b66
fix(cli): Add logs for locating problem. #1000158099
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:59:31 +08:00
shuqiang-zheng
c8176fc7fc
fix(master): add upper and lower limit judgment when setting gogc value
...
overwrite is been allowed when dp decommission.
close:#1000011090 #1000161090
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-08 14:59:31 +08:00
shuqiang-zheng
94ff433984
fix(master): set the repairingStatus of dp via raft.
...
close:#1000158166 #1000158134
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-08 14:59:31 +08:00
Wu Huocheng
40ddcaafe0
fix(master): correct the final array content.#1000148697
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-08 14:59:31 +08:00
zhumingze
818b47eb85
fix(cli): Add description of the use of the cli recommission command. #1000155113
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:59:31 +08:00
zhumingze
cadef3627a
fix(data): Change the log level of dp not exist in repl_protocol from error to warn. #1000157333
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:59:31 +08:00
shuqiang-zheng
1ca22fc68c
fix(master): clear the cache of recorded firstHostToken when master leader changes.
...
close:#1000157935
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-08 14:59:31 +08:00
Wu Huocheng
78e8d449d9
chore(master): Change paramters name.#1000148697
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-08 14:59:31 +08:00
Wu Huocheng
11fcaabaa0
fix(master): the value of final host is the same as mp.Hosts.#1000148697
...
The final hosts should be copied with new array.
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-08 14:59:31 +08:00
Wu Huocheng
897470893e
fix(master): change the leader before migrate meta partition.#1000147101
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-08 14:59:31 +08:00
shuqiang-zheng
a35f51ba73
fix(master): extent deletion and business writes are forbidden when dp is repair.
...
close:#1000121688
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-08 14:59:31 +08:00
shuqiang-zheng
67fd938f90
fix(master): set all replicas of dp to repairingStatus during dp decommission repair.
...
close:#1000121688
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-08 14:59:31 +08:00
shuqiang-zheng
36118447cd
fix(master): modify alignment logic for new replica decommission progress to improve accuracy.
...
close:#1000121688
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-08 14:59:31 +08:00
shuqiang-zheng
72089c6f0c
fix(master): fix issue caused by resetting decommissionRunning state.
...
close:#1000144597
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-08 14:59:31 +08:00
zhumingze
a144b60824
fix(master): Fix the garbled problem of printing logs #1000152748
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:59:30 +08:00
zhumingze
68eb8fe774
fix(master): Fix request access information distortion caused by master switching leader.
...
. #1000152794
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:59:30 +08:00
zhumingze
b74b3fa74e
fix(objectnode): fix incorrect statusCode when creating volume in objectnode. #1000146602
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:59:30 +08:00
zhumingze
15b24c6d0e
fix(master): fix create dp timeout problem when create vol. #1000145610
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:59:30 +08:00
chihe
4373c0ae18
fix(client): remove random wait for trash
...
close:#1000150030
Signed-off-by: chihe <chihe@oppo.com>
2025-08-08 14:59:30 +08:00
zhumingze
71dee686ef
feat(data): limitIO strategy for separating repair io from business io. #1000095860
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:59:30 +08:00
Wu Huocheng
f4bcdc21c6
fix(master): Set tobeOffline flag before create migrate plan.#1000138733
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-08 14:59:30 +08:00
zhumingze
37d1816f4f
fix(master): fix decommissionSuccessDisk issue where it reappears after being deleted #1000131939
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:59:30 +08:00
zhumingze
e252c16a44
fix(cli): Add decommissionType parameter in cli recommission #1000131203
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:59:30 +08:00
zhumingze
1cf0bafea2
fix(data): fix null pointer panic When CreateDataPartition. #1000131492
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:59:30 +08:00
zhumingze
c260b7db0c
fix(meta): fix fileStats bug. #1000140349
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:59:30 +08:00
zhumingze
9a571a7f35
fix(master): No additional display of discard dp. #1000128244
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:59:30 +08:00
shuqiang-zheng
4e6943fae5
fix(master): fix host0 decommission problem.
...
close:#1000111048
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-08 14:59:30 +08:00
shuqiang-zheng
b519bf1223
fix(master): fix raft member additions not taking effect during dp decommission.
...
close:#1000136087
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-08 14:59:30 +08:00
Wu Huocheng
ae8ccc5d58
feat(master): add freeze status into metapartition status.#1000090632
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-08 14:59:30 +08:00
Victor1319
dff6a87438
fix(master): add ignoreDiscard param for datanode get. #1000135139
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:30 +08:00
Victor1319
60baf1ff40
fix(master): not return discard dp for datanode get api. #1000135139
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:30 +08:00
Victor1319
e7edd63446
fix(data): avoid replicas empty when buildDataPartitionRepairTask. #1000134827
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:30 +08:00
Victor1319
8f0590bc1a
feat(lc): support config file size for lifecycle rule. #1000135253
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:30 +08:00
shuqiang-zheng
cbacf08980
fix(master): add decommission statistics related functionality to cli.
...
close:#1000104677
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-08 14:59:30 +08:00
shuqiang-zheng
55c0331c14
fix(master): add some logs to locate raft member additions and removals that didn't take effect.
...
close:#1000105813
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-08 14:59:30 +08:00
shuqiang-zheng
9b4ba1dd9a
fix(master): discard dp will be marked as successful during the decommission.
...
close:#1000129633
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-08 14:59:29 +08:00
shuqiang-zheng
6a687a21ae
fix(master): remove the default concurrency limit for disk offline.
...
close:#1000063905
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-08 14:59:29 +08:00
shuqiang-zheng
339f112008
fix(master): update log level.
...
close:#1000111048
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-08 14:59:29 +08:00
shuqiang-zheng
89c1915676
fix(master): fix for dp no leader due to failure to add raft member during decommission.
...
close:#1000105754
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-08 14:59:29 +08:00
shuqiang-zheng
a3cf843526
feat(master): supports statistics of repair information in disk and node dimensions.
...
close:#1000104677
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-08 14:59:29 +08:00
Victor1319
e5abe1b66c
refactor(meta): add audit log for append operation. #1000132254
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:29 +08:00
Wu Huocheng
a76fae0fad
fix(master): use default media type before checking dp number.#1000131511
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-08 14:59:29 +08:00
Victor1319
317a47f1d3
fix(meta): fix old inode delete file remove failed bug. #1000125136
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:29 +08:00
Wu Huocheng
2ed1812744
feat(master): offline metanode which has no meta partition.#1000090632
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-08 14:59:29 +08:00
Wu Huocheng
488f730374
chore(master): enable offline active status metanode.#1000090632
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-08 14:59:29 +08:00
Wu Huocheng
043731dabc
chore(master): Add meta node name into balance task.#1000090632
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-08 14:59:29 +08:00
Wu Huocheng
e2da451daa
feat(master): Kick Out metanode at the end of background task.#1000090632
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-08 14:59:29 +08:00
Wu Huocheng
04991b6b80
feat(master): Set multiple config values.#1000005968
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-08 14:59:29 +08:00
Wu Huocheng
ad075f1559
feat(master): Add kick out metanode api.#1000005968
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-08 14:59:29 +08:00
Wu Huocheng
00c6a9b420
fix(master): remove the un-readable words in response.#1000129081
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-08 14:59:29 +08:00
leonrayang
4d7a690690
fix(metanode): Remove the logic of real-time calculation of the incremental data of the Quota
...
. #1000112797
Signed-off-by: leonrayang <chl696@sina.com>
2025-08-08 14:59:29 +08:00
leonrayang
0b58792d6d
fix(metanode): Remove the logic of real-time calculation of the incremental data of the UID.
...
. #1000112797
Signed-off-by: leonrayang <chl696@sina.com>
2025-08-08 14:59:29 +08:00
zhumingze
f6a2781590
fix(master): Fixed the abnormal display of repairStartTime. #1000117639
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:59:29 +08:00
zhumingze
f39493a9b4
fix(data): change ActionBatchMarkDelete limitIOError log level to info. #1000124626
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:59:29 +08:00
Victor1319
5ea1d37f21
refactor(meta): refactor inode and dentry muti version code. #1000114612
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:29 +08:00
Victor1319
72dc99de1f
refactor(meta): refactor code and testcases. #1000114612
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:29 +08:00
Victor1319
388b1cb7cf
refactor(meta): add bench testcase for inode marshal. #1000114612
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:29 +08:00
Victor1319
6f209ae5e9
feat(meta): Optimize the memory alignment of inode and dentry fields. #1000114802
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:28 +08:00
Victor1319
c296a62206
feat(meta): add testcase for inode and dentry marshal. #1000114612
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:28 +08:00
Victor1319
cd12bd7e6b
feat(meta): use buf pool to refactor load snapshot. #1000105253
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:28 +08:00
Victor1319
3059c4c9b7
feat(meta): use buf pool to refactor dentry marshal func. #1000100705
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:28 +08:00
Victor1319
3ad0f3d01f
feat(meta): use buf pool to refactor inode marshal func. #1000094350
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:28 +08:00
zhumingze
5390dbd59e
fix(master): After a DecommissionRetry fails, wait ten minutes for next try.
...
. #1000107357
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:59:28 +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
leonrayang
b1e4f5038a
fix(client): Drop the unused forbidden process of volume capacity #1000112797
...
Signed-off-by: leonrayang <chl696@sina.com>
2025-08-08 14:59:28 +08:00
zhumingze
86aa5c6a06
fix(meta): Perform fileStat once during mp load and config change. #1000102780
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:59:28 +08:00
zhumingze
314edb9bce
fix(cli): Do not display dp with empty disk err replica. #1000113950
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:59:28 +08:00
zhumingze
0018b8dd38
fix(master): return isMannualDecommission parameter When calling the decommission query interface
...
. #1000112230
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:59:28 +08:00
zhumingze
a1baa5af24
fix(master): Adjust the dp timeout to 5 minutes. #1000112052
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:59:28 +08:00
Wu Huocheng
3baf29fdad
chore(master): Add audit log for modification api.#1000099738
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-08 14:59:28 +08:00
zhumingze
02fda728d7
feat(master): Add disk decommission success metric. #1000012562
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:59:28 +08:00
shuqiang-zheng
3cbb46bd80
fix(master): fix some issues found during decommission testing.
...
close:#1000059418
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-08 14:59:28 +08:00
shuqiang-zheng
c0e6d5f0af
fix(master): support for canceling decommission.
...
close:#1000059418
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-08 14:59:28 +08:00
shuqiang-zheng
7e21ea26f0
feat(master): support for dp decommission prioritization.
...
close:#1000059507
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-08 14:59:28 +08:00
shuqiang-zheng
fdf97e54ad
fix(master): fix new replica repair blocking due to host0 unavailability during dp decommission.
...
close:#1000059565
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-08 14:59:28 +08:00
shuqiang-zheng
40d975d7a9
fix(master): fix host0 problem for dp repair.
...
close:#1000041775
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-08 14:59:28 +08:00
zhumingze
a18cf5072e
feat(cli): Badpartition check display modified to dp number. #1000101191
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:59:28 +08:00
zhumingze
c2611b2459
feat(data): Check dp availability at random times. #1000022788
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:59:28 +08:00
leonrayang
069a4a63a2
feat(cli): Output the QoS information of the volume #1000101348
...
Signed-off-by: leonrayang <chl696@sina.com>
2025-08-08 14:59:27 +08:00
Wu Huocheng
df6a12c5d6
chore(datanode): change checking interval from hour to minute.#1000005968
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-08 14:59:27 +08:00
Victor1319
ae766477e7
fix(meta): fix file stats init issue. #1000094081
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:27 +08:00
Victor1319
631baaf14d
feat(master): add switch to control whether ignore tiny extent recover. #1000094081
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:27 +08:00
Victor1319
36936cafd8
feat(data): refactor tiny extent delete logic. #1000089221
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:27 +08:00
Wu Huocheng
a5467a3d58
fix(datanode): replace ExtentInfo with RepairExentInfo.#1000005968
...
This reverts commit e9d5ce73902aa196f89c5545ede7ca808e494bb3.
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-08 14:59:27 +08:00
Victor1319
62b28d0626
refactor(fmt): use gofumpt to format code. #1000063488
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:27 +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
Victor1319
a6197cd99a
refactor(master): remove dp cache code from master. #1000063482
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:27 +08:00
Victor1319
0ebe0b874f
refactor(data): remove dp cache code from datanode. #1000062928
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:27 +08:00
Victor1319
d66cd51bec
refactor(meta): remove dp cache code from metanode. #1000063486
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:27 +08:00
zhumingze
ff102a00da
feat(cli): Add display of repair start time in datapartition check. #1000081755
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:59:27 +08:00
Wu Huocheng
a87a847eb0
feat(raft): remove raft log rotate in start up.#1000005968
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-08 14:59:27 +08:00
Wu Huocheng
ad22bed634
fix(raft): rotate the logs.#1000005968
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-08 14:59:26 +08:00
Wu Huocheng
c577f3877c
feat(datanode): rotate all data partition raft log.#1000005968
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-08 14:59:26 +08:00
Wu Huocheng
74f2a66968
feat(raft): remove raft log rotate in start up.#1000005968
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-08 14:59:26 +08:00
Wu Huocheng
6dc6d74d26
fix(raft): rotate the logs.#1000005968
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-08 14:59:26 +08:00
Wu Huocheng
57d0b95284
feat(datanode): rotate all data partition raft log.#1000005968
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-08 14:59:26 +08:00
Wu Huocheng
22ca01df2f
perf(datanode): reduce the extent info struct size.#1000005968
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-08 14:59:26 +08:00
Wu Huocheng
30b29217a1
feat(datanode): evict the extent cache by ttl.#1000005968
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-08 14:59:26 +08:00
Wu Huocheng
167e4c488a
perf(datanode): replace make with bytespool.#1000005968
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-08 14:59:26 +08:00
zhumingze
75af3848b0
feat(cli): Add parameters to datapartition check to simplify display. #1000068067
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:59:26 +08:00
slasher
86e9ca1edc
chore(util): using newest bytespool
...
@formatter:off
Signed-off-by: slasher <shenjie1@oppo.com>
2025-08-08 14:59:26 +08:00
zhumingze
47e9e94f1d
feat(cli): Cli tool data partition check optimization. #1000057001
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:59:26 +08:00
zhumingze
e5b45c21c9
feat(master): Dp no leader adds audit logs. #1000060037
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:59:26 +08:00
zhumingze
d7182d70bd
feat(datameta): Record the read-only reason for dp&mp replicas. #1000060034
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:59:26 +08:00
Victor1319
6e05be7156
refactor(data): refactor the usage of the buffer pool during the prefetch process. #1000048465
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:26 +08:00
zhumingze
24cb92350d
feat(data): Mark the disks that encounter disk errors during startup as bad disks. #1000004886
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:59:26 +08:00
zhumingze
8986320af9
feat(mastermeta): support set fileStats thresholds. #1000047869
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:59:26 +08:00
zhumingze
aafa2f3f87
feat(meta): Statistics of inode and dentry numbers by volume. #1000048141
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:59:26 +08:00
zhumingze
4e54422a61
feat(meta): support volume file statistics. #1000047865
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:59:26 +08:00
zhumingze
6a39456dae
feat(master): Add master replica missing warning. #1000044346
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:59:25 +08:00
zhumingze
c8d253aa39
feat(master): mp&dp replica missing check time can be adjusted. #1000044373
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:59:25 +08:00
zhumingze
bfe93e050c
feat(datamaster): Supplement test cases related to lost and bad disks. #1000004886
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:59:25 +08:00
zhumingze
1964c60240
feat(datamaster): Optimize the check disk lost logic. #1000004886
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:59:25 +08:00
zhumingze
d1763ac873
feat(data): persist datanode allDisks. #1000004886
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:59:25 +08:00
zhumingze
f1ad286a21
feat(data): Adjust some parameters and initialize. #1000004886
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:59:25 +08:00
zhumingze
bf6d4f062f
feat(masterdatacli): Add alerts for the completion of disk repair and improve cli display.
...
. #1000004886
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:59:25 +08:00
zhumingze
e0a1ff8c0f
feat(data): Regularly check dp availability. #1000004886
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:59:25 +08:00
zhumingze
1c794069a1
feat(masterdatacli): lost disks detection and reporting. #1000004886
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:59:25 +08:00
wu huocheng
4dddd2d05f
fix(metric): fix the bug that value and label don't match.#1000005968
...
Signed-off-by: wu huocheng <wuhuocheng@oppo.com>
2025-08-08 14:59:25 +08:00
wu huocheng
7e991c4514
perf(client): simplify the client request monitor.#1000005952
...
Improve the performance by buffer.
Signed-off-by: wu huocheng <wuhuocheng@oppo.com>
2025-08-08 14:59:25 +08:00
wu huocheng
1456d3c239
feat(client): add request monitor for client
...
Signed-off-by: wu huocheng <wuhuocheng@oppo.com>
2025-08-08 14:59:25 +08:00
Victor1319
1a2947218f
fix(all): fix conflicts when pick branch 3.5.0. #1000124254
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:25 +08:00
chihe
675c8618a4
fix(flashnode): simplifiy err msg for audit log
...
close:#23025850
Signed-off-by: chihe <chihe@oppo.com>
2025-08-08 14:59:25 +08:00
baihailong
4581cbd979
feat(flashnode): add metrics MetricCacheBytes,MetricHandleReadLatency,MetricSourceDataLatency
...
. #1000092826
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-08 14:59:25 +08:00
chihe
12f68e47b0
fix(client): update gen first when doing overwrite
...
close:#23025850
Signed-off-by: chihe <chihe@oppo.com>
2025-08-08 14:59:25 +08:00
clinx
d178a1fe51
fix(cli): show handle and read timeout unit#1000100585
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-08 14:59:25 +08:00
clinx
3b9696b8d6
fix(cli): set handle and read timeout by cli #1000100585
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-08 14:59:25 +08:00
zhumingze
608b59ee91
fix(client): FollowerRead retry after read request failed. #1000107530
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:59:24 +08:00
baihailong
6662617ce1
fix(sdk): sendToDataPartition return error msg when failed.#1000106708
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-08 14:59:24 +08:00
baihailong
9253644113
fix(sdk): add warn log print extents when processReply get ArgUnmatchErr error.#1000091570
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-08 14:59:24 +08:00
clinx
6af47faed0
fix(datanode): change warn message log level #1000091570
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-08 14:59:24 +08:00
leonrayang
1ab568cfc1
fix(datanode): Reducing the sync process to enhance the speed of creating extent #23118077
...
Signed-off-by: leonrayang <chl696@sina.com>
2025-08-08 14:59:24 +08:00
chihe
94fd8c6618
fix(client): remove debug log
...
close:#1000101999
Signed-off-by: chihe <chihe@oppo.com>
2025-08-08 14:59:24 +08:00
chihe
206937fd96
fix(client): do not update the meta if remote cache is not enabled
...
close:#1000101999
Signed-off-by: chihe <chihe@oppo.com>
2025-08-08 14:59:24 +08:00
chihe
fb7b1ea7dc
fix(client): add debug log for parameter error
...
close:#1000080725
Signed-off-by: chihe <chihe@oppo.com>
2025-08-08 14:59:24 +08:00
baihailong
8056986b3e
fix(libsdk): NewEbsClient support config loglevel.
...
@formatter:off
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-08 14:59:24 +08:00
clinx
c20fb87a05
fix(cli): show remove all inactive nodes with node address #1000100585
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-08 14:59:24 +08:00
clinx
2083fbb8f1
fix(client): print error to console #1000099011
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-08 14:59:24 +08:00
baihailong
2ec055bc81
fix(master): if dp is discard does not print the warn log when getReplica.#1000092826
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-08 14:59:24 +08:00
baihailong
6566e91c9f
fix(sdk): add warn log print extents when processReply get processReply error.1000091570
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-08 14:59:24 +08:00
baihailong
30f483b8a5
fix(flashnode): optimize computeAllocSize when there is a hole in dataSources.#1000080725
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-08 14:59:24 +08:00
leonrayang
efeeea3dcd
fix(datanode): Fix the enhance the persistence process of extentId #23118077
...
Signed-off-by: leonrayang <chl696@sina.com>
2025-08-08 14:59:24 +08:00
clinx
8c35095b29
fix(metanode): change inode out of range message to warn #1000082017
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-08 14:59:24 +08:00
baihailong
dea4a5ecb6
fix(sdk): check whether StorageClass allowed when remoteCacheAutoPrepare is opened.
...
. #1000083859
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-08 14:59:01 +08:00
clinx
a1fe50c7be
fix(datanode): change write with return try other addr message to warn #1000082414
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-08 14:52:12 +08:00
clinx
818e4834b0
fix(datanode): opstreamfollowerread change timeout message to warn #1000082031
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-08 14:52:12 +08:00
clinx
261d6068d9
fix(metanode): change over quota message to warn #1000082017
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-08 14:52:12 +08:00
leonrayang
5bd3da5846
feat(datanode): Enhance the persistence process of extentId #23118077
...
Signed-off-by: leonrayang <chl696@sina.com>
2025-08-08 14:52:12 +08:00
clinx
07d2ba0be6
fix(flashnode): wait for the cache to start successfully before providing HTTP service #1000082949
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-08 14:52:12 +08:00
clinx
487e4801f0
fix(client): set default value for async update fg information #1000080369
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-08 14:52:12 +08:00
leonrayang
29ac3c29b7
fix(client): Enhance singals register work on client side #1000073719
...
Signed-off-by: leonrayang <chl696@sina.com>
2025-08-08 14:52:12 +08:00
clinx
cea9567b1e
fix(client): set default value for read timeout#1000075110
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-08 14:52:12 +08:00
chihe
42e6bd21da
fix(client): if follower read is enabled, try other hosts when triggering OpNotExistErr
...
close:#1000078338
Signed-off-by: chihe <chihe@oppo.com>
2025-08-08 14:52:12 +08:00
clinx
4a38fa1418
fix(client): add audit log for cross region host #1000075110
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-08 14:52:12 +08:00
clinx
c296c6ff54
fix(client): distinguish between regions or zones based on the time issued by the master #1000075110
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-08 14:52:12 +08:00
baihailong
35a97d6de8
fix(master): Assign default values to remoteCache parameters when upgrade master.#1000077514
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-08 14:52:12 +08:00
clinx
5cf2716bed
fix(client): check if rc.mc is nil avoid async update panic #1000076960
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-08 14:52:12 +08:00
baihailong
967338d137
feat(master): Optimize the client to remove flashnode logic when flashnode returns timeout
...
. #1000074429
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-08 14:52:03 +08:00
clinx
f934c5726c
fix(datanode): print memory-related data with added newline characters#1000068627
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-08 14:52:03 +08:00
clinx
3641507fbb
fix(datanode): change the log level from error to warn for doStreamFixTinyDeleteRecord #1000068627
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-08 14:52:03 +08:00
chihe
964a6be097
fix(metanode): if vol is deleted, do not try to get the view of vol
...
close:#1000018506
Signed-off-by: chihe <chihe@oppo.com>
2025-08-08 14:52:03 +08:00
baihailong
6dec8982b4
fix(master): when client getFlashGroupView not exclude flashnode which is inactive.#1000068406
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-08 14:52:03 +08:00
clinx
56bbb851b0
feat(client): only add the directory inode to the dircache#23068759
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-08 14:52:03 +08:00
clinx
79562f9cd0
feat(client): print cache size in stat file #23068759
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-08 14:52:03 +08:00
baihailong
19b1bf9319
fix(client): not move flashnoe to unknownRank if returned LimitedIoError.#1000065874
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-08 14:52:03 +08:00
baihailong
f5c02acd5e
fix(flashnode): add stat statistic for each datanode.#1000063595
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-08 14:52:03 +08:00
chihe
6bb14d523a
bugfix(datanode): set IOLimitTicket to 3 second
...
close:#1000063103
Signed-off-by: chihe <chihe@oppo.com>
2025-08-08 14:52:02 +08:00
chihe
78c727cda3
fix(datanode): adjust log level for no leader
...
close:#1000001079
Signed-off-by: chihe <chihe@oppo.com>
2025-08-08 14:52:02 +08:00
clinx
30d76f57df
fix(meta): change log level when inode is delete #1000038153
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-08 14:52:02 +08:00
clinx
273ddea5a1
fix(cli): print error msg to console #1000060043
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-08 14:52:02 +08:00
clinx
0011472417
fix(lcnode): change log level when inode is delete #1000038153
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-08 14:52:02 +08:00
clinx
6af8dea263
fix(master): change log level from error to waring when leader have changed #1000028939
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-08 14:52:02 +08:00
baihailong
c71ca1570d
fix(sdk): if get temporary ek when getDataSource return false and read from dn.#1000060859
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-08 14:52:02 +08:00
clinx
812388b33a
fix(cli): print error msg to console #1000060043
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-08 14:52:02 +08:00
baihailong
02cf5d2343
fix(sdk): if get temporary ek when getDataSource return false and read from dn.#1000060859
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-08 14:52:02 +08:00
baihailong
fd2d45ea5a
fix(flashnode): modify timeout uint from second to Millisecond when read datanode. #1000061026
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-08 14:52:02 +08:00
baihailong
f2365c1319
fix(master): modify master error log and add some log for TryRun.#1000044182
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-08 14:52:02 +08:00
clinx
a0cf5a13f1
fix(client): asynchronously check if config is empty to avoid uninitialized panic #1000056931
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-08 14:52:02 +08:00
clinx
f7b20d6d9f
fix(flashnode): can't set 0 to RemoteCacheReadTimeout#1000021930
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-08 14:52:02 +08:00
clinx
3889dba14a
fix(flashnode): set default remote cache timeout to 100ms#1000021930
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-08 14:52:02 +08:00
clinx
be196f9b6f
fix(flashnode): show empty stat #1000021930
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-08 14:52:02 +08:00
baihailong
603d6b5377
fix(util): use time.Now to check whether task is timeout.#1000048131
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-08 14:52:02 +08:00
clinx
8fbab026ff
fix(meta): adjust concurrent conflict errors to warnings #1000028960
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-08 14:52:02 +08:00
Victor1319
940d72659d
refactor(lcnode): try to check whether inode deleted when dst md5 changed. #1000044251
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:52:02 +08:00
clinx
72f6196ba6
fix(flashnodeb): asynchronously send flashnode heartbeat message#1000044633
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-08 14:52:02 +08:00
zhumingze
5faeca7fd9
fix(sdk): Optimize printing information in read process. #1000044633
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:52:02 +08:00
zhumingze
b22ef23cc0
fix(meta): Adjust the level of some logs in updateVolumes. #1000044602
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:52:02 +08:00
chihe
31585bd930
fix(flashnode): adjust log level
...
close:#1000014246
Signed-off-by: chihe <chihe@oppo.com>
2025-08-08 14:52:02 +08:00
baihailong
97612b6b20
feat(flashnode): enable statistic slot hit rate.#1000037792
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-08 14:52:02 +08:00
chihe
b67b08df90
fix(client): do not close conn if encountering limit error
...
close:#1000023889
Signed-off-by: chihe <chihe@oppo.com>
2025-08-08 14:52:02 +08:00
clinx
143b073232
feat(cli): Remove delay-related monitoring information for flashnode#1000021930
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-08 14:52:02 +08:00
clinx
b677abc848
feat(cli): idle not show group stats#1000021930
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-08 14:52:02 +08:00
clinx
2176a61e7e
feat(cli): print group status for flashnode #1000021930
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-08 14:52:02 +08:00
chihe
f5783cd728
fix(flashnode): add write limit for flashnode
...
close:#1000023889
Signed-off-by: chihe <chihe@oppo.com>
2025-08-08 14:52:02 +08:00
chihe
6a89226dc5
feat(flashnode): supports return to client directly if data is not cached
...
close:#1000014246
Signed-off-by: chihe <chihe@oppo.com>
2025-08-08 14:52:01 +08:00
clinx
a17a165baf
fix(client): maintain consistency in the disable logic for remote cache #1000026048
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-08 14:52:01 +08:00
baihailong
c1ee0a0053
fix(sdkmaster): volume remoteCacheReadTimeout parameter changed from seconds to milliseconds.
...
. #1000024513
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-08 14:51:45 +08:00
baihailong
5eef58052b
feat(master): enable master config flashnode read timeout dynamically.#1000020016
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-08 14:51:45 +08:00
clinx
3c67ab500b
fix(flashnode): valid args for fla flashnode list#1000020535
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-08 14:51:45 +08:00
clinx
5584dfe034
fix(flashnode): valid args for fla flashnode list#1000020535
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-08 14:51:45 +08:00
clinx
0c5da8ea36
fix(flashnode): check the deletion operation of the flashnode #1000020535
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-08 14:51:45 +08:00
chihe
82a11e620c
fix(client): ignore limit and context timeout error
...
close:#1000014246i,#1000017781
Signed-off-by: chihe <chihe@oppo.com>
2025-08-08 14:51:45 +08:00
chihe
99a71d0cd7
fix(datanode): do not print log if diskBaseFileID equals to 0
...
close:#1000012686
Signed-off-by: chihe <chihe@oppo.com>
2025-08-08 14:51:45 +08:00
baihailong
2faa29f3fa
fix(master): if master loading meta not ready when client get flashgroups, return error.#1000006070
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-08 14:51:45 +08:00
shuqiang-zheng
9ce6bbcd43
fix(meta): fix the problem of high cpu caused by constantly requesting small memory during reading.
...
close:#1000016022
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-08 14:51:44 +08:00
chihe
baa7412321
fix(flashnode): do not close channel twice
...
close:#1000016077
Signed-off-by: chihe <chihe@oppo.com>
2025-08-08 14:51:44 +08:00
clinx
2b80a78b76
fix(flashnode): if the flashnode of the group is empty or unavailable, do not update the slot
...
. #1000014547
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-08 14:51:35 +08:00
shuqiang-zheng
57fefaa661
feat(meta): perform security checks when configuring gogc, set upper and lower limits.
...
close:#1000011090
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-08 14:42:25 +08:00
shuqiang-zheng
324e23d2da
feat(meta): free memory when deleting meta partitions.
...
close:#1000013477
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-08 14:42:25 +08:00
shuqiang-zheng
501dc61922
feat(meta): Support for dynamic adjustment of gogc.
...
close:#1000011090
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-08 14:42:25 +08:00
chihe
7c026a4daf
fix(flashnode): delete pre-allocated size when return from InitForCacheRead
...
close:#1000012153
Signed-off-by: chihe <chihe@oppo.com>
2025-08-08 14:42:25 +08:00
clinx
1118f934ee
feat(warmup): code check#22883846
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-08 14:42:25 +08:00
clinx
238bfdc555
feat(warmup): create flash manual task #22883846
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-08 14:42:10 +08:00
baihailong
7800234d56
fix(sdk): client not update local flashgroups when get empty flashgroups from master.#1000006070
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-08 14:39:41 +08:00
chihe
ca90d3bac8
feat(master): add setRead/WriteLimits for flashnode
...
close:#1000004942
Signed-off-by: chihe <chihe@oppo.com>
2025-08-08 14:39:41 +08:00
zhumingze
487641d0f9
feat(master): Skip the discard dp periodic check. #23132815
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:39:41 +08:00
zhumingze
b7759e42c5
feat(data): Solve the panic problem when deleting inode. #1000002511
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:39:41 +08:00
chihe
380b8dde52
fix(flashnode): reply to client as soon as possible
...
close:#23109728
Signed-off-by: chihe <chihe@oppo.com>
2025-08-08 14:39:41 +08:00
wu huocheng
9ad005fbdd
feat(master): single node mode.#22834621
...
Signed-off-by: wu huocheng <wuhuocheng@oppo.com>
2025-08-08 14:39:41 +08:00
Victor1319
3f7942ea1d
fix(master): use listen port as register consul port for master. #23119229
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:39:41 +08:00
Victor1319
a6fc8be1fc
refactor(client): support config stream reqChan Size. #23114335
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:39:41 +08:00
Victor1319
8a4d89f936
fix(sdk): force update extent cache after trunc. #22962095
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:39:41 +08:00
Wu Huocheng
016d14fe17
fix(master): fix the nil pointer when master leader changed.#23070942
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-08 14:39:41 +08:00
Victor1319
efd90371e1
fix(client): fix client push commit failed. #22962095
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:39:41 +08:00
baihailong
0daae3b9c9
fix(metanode): fix metanode UpdateXAttr incompatibility problem.#22993674
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-08 14:39:41 +08:00
leonrayang
d182ede7c7
fix(sdk): The refCnt of the streamer may become inaccurate due to the counting conflicts
...
close:#22962095
Signed-off-by: leonrayang <chl696@sina.com>
2025-08-08 14:39:41 +08:00
Victor1319
8bb3f3a0bc
refactor(master): add crossZone hint message when addAllowedStorageClass failed. #22962157
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:39:41 +08:00
Victor1319
2ccbea7e15
refactor(master): support report datanode status count for different media. #22960364
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:39:41 +08:00
Victor1319
9bac4d6e8f
refactor(fsck): reduce debug log for fsck gc comand. #22958547
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:39:41 +08:00
clinx
800d34e444
fix(flashnode): record disk dimension to file read and write operations #23131609
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-08 14:39:36 +08:00
clinx
326f7611ca
fix(objectnode): create reader or writer with corrected volume's type #23077454
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-08 14:39:32 +08:00
clinx
e50f6a23f4
fix(objectnode): create reader or writer with corrected volume's type #23077454
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-08 14:39:05 +08:00
clinx
37a5824998
fix(master): prevent reentrant locking #22935828
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-08 14:39:05 +08:00
tangdeyi
767d922713
fix(clustermgr): fix unlock ut
...
@formatter:off
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2025-08-08 14:39:05 +08:00
chihe
e9f0bf8c30
fix(bcache): reduce memory consumption for bcache-service
...
close:#22775703
Signed-off-by: chihe <chihe@oppo.com>
2025-08-08 14:39:01 +08:00
slasher
74a7c62171
chore(util): using newest bytespool
...
@formatter:off
Signed-off-by: slasher <shenjie1@oppo.com>
2025-08-07 16:20:27 +08:00
zhumingze1108
d936fb90cc
fix(master): fix Possible overflow issue.
...
Signed-off-by: zhumingze1108 <zhumingze@oppo.com>
2025-08-07 16:00:30 +08:00
zhumingze1108
b0fd043df1
fix(all): gofmt code for ci-test
...
Signed-off-by: zhumingze1108 <zhumingze@oppo.com>
2025-08-07 16:00:30 +08:00
zhumingze1108
ca20eb11f3
fix(client): fix conflict in v3.5.2 merge to master.
...
Signed-off-by: zhumingze1108 <zhumingze@oppo.com>
2025-08-07 16:00:30 +08:00
Victor1319
4ed781a41a
fix(data): fix gc clear data failed bug. #22957485
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-07 16:00:30 +08:00
zhumingze
d6ad6681dd
refactor(fsck): avoid panic when vol not exists #22911241
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-07 16:00:30 +08:00
zhaochenyang
3e3204cabe
refactor(lcnode): lcnode response ack to master after save data #22941195
...
Signed-off-by: zhaochenyang <zhaochenyang@oppo.com>
2025-08-07 16:00:30 +08:00
Victor1319
df827a9909
fix(meta): Resolve the issue where log level settings for the EC are ineffective #22921293
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-07 16:00:30 +08:00
Victor1319
7c8d9b0c9a
refactor(master): add vol used stats for monitor metrics. #22930922
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-07 16:00:30 +08:00
Victor1319
dec11132ba
refactor(master): support report monitor stats for cluster different media datanode. #22929430
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-07 16:00:30 +08:00
Victor1319
76b8d7a946
refactor(all): refactor code for code scan warn info. #22929123
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-07 16:00:30 +08:00
clinx
a6939d0981
fix(flashnode): close cached files concurrently#23092015
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-07 16:00:30 +08:00
clinx
a1a2add9d9
fix(flashnode): confirm the default value is no #23079599
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-07 16:00:30 +08:00
clinx
c3b9145631
fix(flashnode): code check#23131609
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-07 16:00:30 +08:00
clinx
19e4fdc075
fix(flashnode): record disk dimension to file read and write operations #23131609
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-07 16:00:30 +08:00
clinx
cfa8134cc7
feat(flashnode): add read and write latency metrics for cache #1000002444
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-07 16:00:30 +08:00
chihe
91965b0b44
fix(flashnode): use limitRead for read cache
...
close:#23123752
Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 16:00:30 +08:00
chihe
9a1adf8212
fix(flashnode): use limitWrite for flashnode instead of disk
...
close:#23123752
Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 16:00:30 +08:00
chihe
be79605ea0
fix(flashnode): read data source one by one
...
close:#23095482
Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 16:00:30 +08:00
clinx
c27769e9f0
fix(flashnode): wait group for woker goroutine #23092015
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-07 16:00:29 +08:00
clinx
1e5dd165c6
fix(flashnode): simplify the logic for deleting a directory #23092015
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-07 16:00:29 +08:00
clinx
28d975ce10
feat(flashnode): init load files using a separate coroutine for handling #23092015
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-07 16:00:29 +08:00
Wu Huocheng
1801c729a3
chore(master): fix the mistake of unit test codes.#22834621
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-07 16:00:29 +08:00
Victor1319
d031b8f62c
refactor(meta): not return error when lease time not expire. #23131784
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-07 16:00:29 +08:00
Victor1319
eae24a92f9
fix(meta): check whether sortEks empty when fsmUpdateExtentKeyAfterMigration. #23126054
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-07 16:00:29 +08:00
zhumingze
11e446b191
feat(master): Discard partition does not print the log of missing Replica. #23132815
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-07 16:00:29 +08:00
Wu Huocheng
5af9e23abf
fix(master): Calculate the mp memory size by used value.#22834621
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-07 16:00:29 +08:00
Wu Huocheng
2074d059c3
fix(master): Checking the whole pc memory usage.#22834621
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-07 16:00:29 +08:00
shuqiang-zheng
4b9f564cdf
feat(flashnode): enhancement of flashGroup information display.
...
close:#23070174
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 16:00:29 +08:00
shuqiang-zheng
808b831224
feat(flashnode): support for gradually creation and deletion of flashGroup.
...
close:#23070174
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 16:00:29 +08:00
zhumingze
e0b861423d
fix(util): Avoid label conflicts during the version metric pushing process. #23104396
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-07 16:00:29 +08:00
clinx
a12abc9dcc
fix(flashndoe): add user confirmation when the user attempts to remove flash group by id#23079599
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-07 16:00:29 +08:00
clinx
afadcde635
fix(flashndoe): add user confirmation when the user attempts to delete a flashnode. #23079599
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-07 16:00:29 +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
leonrayang
8d897d1289
feat(datanode): Enable crc check for BaseExtentID information #23118077
...
Signed-off-by: leonrayang <chl696@sina.com>
2025-08-07 16:00:29 +08:00
leonrayang
7d9c971da5
fix(master): The limit fields in Quota should be stored to rocksdb if it is updated #23117980
...
Signed-off-by: leonrayang <chl696@sina.com>
2025-08-07 16:00:29 +08:00
leonrayang
549128cf1a
fix(datanode): Stop the tiny extent markdelete process while store stopped #23115007
...
Signed-off-by: leonrayang <chl696@sina.com>
2025-08-07 16:00:29 +08:00
leonrayang
8d3fe7499c
fix(datanode): Temporarily disable the crc read due to the wrong extentid in meta EXTENT_META
...
close : #23118077
Signed-off-by: leonrayang <chl696@sina.com>
2025-08-07 16:00:29 +08:00
zhumingze
175e6f4ee7
fix(datamaster): Adjust some error logs. #23101965
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-07 16:00:29 +08:00
zhumingze
bea1253769
fix(master): Optimize the display of checkDiskError logs. #23115792
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-07 16:00:29 +08:00
clinx
8b4b6ca311
fix(flashndoe): Evict cache by each disk using a separate coroutine for each disk #23091754
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-07 16:00:29 +08:00
shuqiang-zheng
c61e0a0896
feat(flashnode): fix the problem that lru is not eliminated in time due to insufficient disk space.
...
close:#23105469
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 16:00:28 +08:00
shuqiang-zheng
6c5f62ba89
feat(flashnode): load each disk's cacheBlock concurrently
...
close:#23103621
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 16:00:28 +08:00
shuqiang-zheng
4253b68c83
fix(flashnode): fix a possible no space left problem during concurrent cacheBlock creation.
...
close:#23105469
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 16:00:28 +08:00
shuqiang-zheng
e3f33db578
feat(flashnode): add bad disk alerts for flashnode on master.
...
close:#23057658
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 16:00:28 +08:00
shuqiang-zheng
24d656446f
fix(flashnode): fix eof issues that could be caused by concurrent creation of cacheBlock.
...
close:#23100234
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 16:00:28 +08:00
shuqiang-zheng
b36e228468
feat(flashnode): after all cacheBlock loads completed, print the load completion information.
...
close:#23103621
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 16:00:28 +08:00
shuqiang-zheng
b2a4b1a478
fix(flashnode): determine disk actual leftspace before creating a cacheBlock to open the file.
...
close:#23105469
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 16:00:28 +08:00
clinx
99b6c2142d
fix(flashnode): print audit log when read data from remote source#23112585
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-07 16:00:28 +08:00
clinx
41ad2fdc7d
fix(flashnode): avoid unnecessary audit log printing #23112585
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-07 16:00:28 +08:00
zhumingze
e9b9b9250c
fix(fsck): Improve the printing information of fsck. #23109752
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-07 16:00:28 +08:00
zhumingze
ef9ceeb8e3
fix(master): Decommission interface returns specific error information. #23117907
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-07 16:00:28 +08:00
zhumingze
fe8906f897
fix(master): No longer allow single replica dp raftForce deletion. #23115830
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-07 16:00:28 +08:00
zhumingze
3c91dcbf84
fix(data): Add dp information to cache in advance to avoid start raft error. #23113653
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-07 16:00:28 +08:00
Wu Huocheng
54c4f04c52
chore(raft): Add debug logs to track the raft peers changing.#22834621
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-07 16:00:28 +08:00
clinx
03b21f5bd6
fix(flashnode): rename the field remoteCacheFollowerRead to remoteCacheMultiRead #23065717
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-07 16:00:28 +08:00
chihe
e32d901fb6
fix(flashnode): delete expired file for block cache before unlock
...
close:#23062373
Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 16:00:28 +08:00
chihe
1e8032b24e
fix(client): add gen for extent cache when doing overwrite
...
close:#23025850
Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 16:00:28 +08:00
chihe
d7c377e5d3
fix(client): support 3.5.0 java sdk #23068759
...
Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 16:00:27 +08:00
wu huocheng
c41f9f2041
chore(master): clean the meta partition from smallest inode.#22834621
...
The smallest inode meta partition is exhausted. So remove such mp.
Signed-off-by: wu huocheng <wuhuocheng@oppo.com>
2025-08-07 16:00:27 +08:00
wu huocheng
8d0c652b85
fix(master): unlock the mutex before return.#22834621
...
Rewrite the freeze function.
Signed-off-by: wu huocheng <wuhuocheng@oppo.com>
2025-08-07 16:00:27 +08:00
wu huocheng
10d378fb19
chore(master): skip useless logs.#22834621
...
Signed-off-by: wu huocheng <wuhuocheng@oppo.com>
2025-08-07 16:00:27 +08:00
Wu Huocheng
a2f6f97dfc
feat(master): configure memory ratio percent and control mp migrate.#22834621
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-07 16:00:27 +08:00
Wu Huocheng
266c9a7ba4
fix(cli): report error when no migrate plan created.#22834621
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-07 16:00:27 +08:00
Wu Huocheng
ce8f310bb4
feat(master): Auto clear task that status is done.#22834621
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-07 16:00:27 +08:00
wu huocheng
6372209d12
fix(master): skip the meta partition that is recover or has no leader.#22834621
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-07 16:00:27 +08:00
Wu Huocheng
e27923fa1c
chore(master): rerange the codes.#22834621
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-07 16:00:27 +08:00
Wu Huocheng
f13cc3a1b6
feat(master): Add migrate request meta partition apis.#22834621
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-07 16:00:27 +08:00
zhumingze
55e0a1cade
feat(master): Keep discard dp information in master and avoid panic when dp is nil. #23036742
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-07 16:00:27 +08:00
shuqiang-zheng
72358a9bc0
feat(flashnode): Add a configurable item to control the number of cache loading goroutines.
...
close:#22831482
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 16:00:27 +08:00
shuqiang-zheng
3cdea7d89f
feat(flashnode): modify the upper limit of cachePercent and the defaultMaxUseRatio of lru.
...
close:#23080181
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 16:00:27 +08:00
shuqiang-zheng
f2d2a663a6
fix(flashnode): fix the problem of not being able to select readWrite disks.
...
close:#23078913
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 16:00:27 +08:00
shuqiang-zheng
1ebe5b6dfd
feat(flashnode): if the disk is umounted, the cacheblock can be detected and stopped timely.
...
close:#23021760
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 16:00:27 +08:00
shuqiang-zheng
c3a505fb1e
fix(flashnode): avoid the cache not being cleaned up when the flashnode is removed.
...
close:#23003554
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 16:00:27 +08:00
shuqiang-zheng
96f8c21399
fix(flashnode): fix empty volume directories not cleaned up when cacheBlock is deleted.
...
close:#23057658
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 16:00:27 +08:00
shuqiang-zheng
815fb21cde
feat(flashnode): add error cacheBlock number count during restart loading process.
...
close:#23021760
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 16:00:27 +08:00
chihe
630b48ed2f
fix(flashnode): add cacheItem into lru after file is inited
...
close:#23062373
Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 16:00:27 +08:00
chihe
1d5213c43b
fix(master): add default value for ttl and readTimeout for remoete cache
...
close:#23081308
Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 16:00:26 +08:00
chihe
bc66f9ae66
fix(client): add some debug log
...
close:#23062373
Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 16:00:26 +08:00
chihe
f212b4b113
fix(client): only read operation execute sendReadToDP
...
close:#23069988
Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 16:00:26 +08:00
clinx
7de202b317
fix(objectnode): create ebs reader by sv#23077454
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-07 16:00:26 +08:00
leonrayang
72bf18cdff
fix(data): Temporily modifying the test case has a high ratio of failure out #23059813
...
Signed-off-by: leonrayang <chl696@sina.com>
2025-08-07 16:00:26 +08:00
leonrayang
2e8bf80543
fix(testcase): comment the test case has high ratio of failure out #23059813
...
Signed-off-by: leonrayang <chl696@sina.com>
2025-08-07 16:00:26 +08:00
leonrayang
88ca620bf8
fix(datanode): Optimize io limiter exit process. #23059813
...
Signed-off-by: leonrayang <chl696@sina.com>
2025-08-07 16:00:26 +08:00
leonrayang
e0b6ed4060
feat(client): Reducing the log output of flow limiter #23059813
...
Signed-off-by: leonrayang <chl696@sina.com>
2025-08-07 16:00:26 +08:00
clinx
9df10b2063
fix(flashnode): reset test limiter#23061931
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-07 16:00:26 +08:00
clinx
f3b98b69b1
fix(flashnode): open readlimiter for OpFlashNodeCachePrepare. #23061931
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-07 16:00:26 +08:00
baihailong
58e68d9ef3
fix(flashnode): OpFlashNodeCachePrepare operation with flow control.#23061931
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 16:00:26 +08:00
clinx
0152d00450
fix(objectnode): create reader or writer with corrected volume's type #23077454
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-07 16:00:26 +08:00
clinx
ed5c20840b
fix(master): prevent reentrant locking #22935828
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-07 16:00:26 +08:00
clinx
9c29ebadac
fix(client): add default value #23062821
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-07 16:00:26 +08:00
chihe
279817ca50
fix(client): modify default value for remoteCacheReadTimeoutSec
...
close:#23047275
Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 16:00:26 +08:00
clinx
2de99277d2
fix(client): show client remote cache flag when call master client info #23062821
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-07 16:00:26 +08:00
zhumingze
c4f524a52f
feat(master): Add state transition for fail status when deleting excess copie. #23036843
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-07 16:00:26 +08:00
chihe
07a308a7de
fix(flashnode): change the type of metric for ReadBytes and ReadCount
...
close:#22200531
Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 16:00:26 +08:00
Wu Huocheng
45afc5aee0
fix(raft): use raftfsm.replicas instead of get peers.@formatter:off
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-07 16:00:26 +08:00
Wu Huocheng
ed61daa568
feat(raft): display raft peers.@formatter:off
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-07 16:00:26 +08:00
leonrayang
30b221b2af
feat(datanode): Return error if request is hung by io limiter and exceeds maximum wait time
...
. #23057829
Signed-off-by: leonrayang <chl696@sina.com>
2025-08-07 16:00:26 +08:00
zhumingze
da9e00409d
fix(sdk): Cancel the check whether leaderAddr is empty when getting dataPartition. #23046693
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-07 16:00:26 +08:00
zhumingze
bb15923446
fix(sdk): Before quorum read, read requests to the leader are no longer retried. #23046791
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-07 16:00:26 +08:00
zhumingze
86f3053ed8
fix(sdk): Fix bug in quorum read. #23045300
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-07 16:00:25 +08:00
chihe
596b79c286
fix(flashnode): check the type of error returned by flashnode
...
close:#23047275
Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 16:00:25 +08:00
shuqiang-zheng
b4a9c85ae6
feat(flashnode): add interfaces for manual inactive disk.
...
@formatter:off
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 16:00:25 +08:00
shuqiang-zheng
fc3cddfc20
feat(flashnode): modify the name of the disk statistics in heartbeat reporting.
...
@formatter:off
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 16:00:25 +08:00
shuqiang-zheng
ca7739bb6a
feat(flashnode): fix possible eof issues when reading cacheBlock files.
...
close:#23037080
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 16:00:25 +08:00
shuqiang-zheng
e0880fa4d0
feat(flashnode): clears the cache on flashNode when removing it.
...
close:#23003554
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 16:00:25 +08:00
shuqiang-zheng
08639d8b52
feat(flashnode): add multi disk support.
...
close:#23021760
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 16:00:25 +08:00
shuqiang-zheng
e90a0e933e
feat(flashnode): clears the cache on flashNodes when removing them from the flashGroup.
...
close : #23003554
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 16:00:25 +08:00
shuqiang-zheng
0054b8e5d4
fix(datanode): fix opening file error caused by not limiting the number of file handles.
...
close : #23013594
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 16:00:25 +08:00
shuqiang-zheng
75d6aca05e
fix(datanode): fixes for 1.read/write requests still being processed
...
2.log files not being found after service stopped.
close : #23013195
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 16:00:25 +08:00
baihailong
077d35fc53
fix(sdk): client not update fg even if flashgroup turn true after turn false last time.#23026799
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 16:00:25 +08:00
baihailong
fa1ce7515c
fix(cli): if parameter remoteCacheMaxFileSizeGB not changed when update volume, stay the same.
...
. #23047778
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 16:00:25 +08:00
chihe
9a5d48ca84
fix(client): folder renamed or moved out of the cache directory will no longer be cached.
...
close:#23022505
Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 16:00:25 +08:00
chihe
f36f62b80c
fix(client): update fullpath and pinos when excuting rename opration
...
close:#21990545
Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 16:00:25 +08:00
tangdeyi
77979034f5
fix(objectnode): add range get check
...
with #23042024
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2025-08-07 16:00:25 +08:00
baihailong
fe6e5acf47
fix(cubefs): fix some code format.
...
@formatter:off
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 16:00:25 +08:00
baihailong
45b7ffdf60
feat(flashnode): Querying flashnode status prints the expiration time of the key value.#23040431
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 16:00:25 +08:00
baihailong
4d7e0c1997
fix(cli): when create or update volume, remoteCacheMaxFileSizeGB must greater than 0.#23034629
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 16:00:25 +08:00
chihe
c999baf001
fix(client): try read from flashnode if dp is not avaliable
...
close:#23034648
Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 16:00:25 +08:00
baihailong
6d04ae146c
fix(cli): fix remotecache params when create volume.#23030205
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 16:00:25 +08:00
baihailong
e19232f374
feat(mastersdkcli): enable config remoteCache parameter by volume.
...
. #23020464
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 16:00:11 +08:00
clinx
0d875b0a33
fix(object): stop update volume meta info when vol is deleted #22861848
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-07 15:57:57 +08:00
clinx
82ffd69b6b
fix(object): stop update volume meta info when vol is deleted #22861848
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-07 15:57:57 +08:00
baihailong
a111204db9
fix(sdk): lcnode not register to master.#23017532
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:57:57 +08:00
baihailong
7bcd569001
fix(flashnode): add volume, clientIp, inode for DataSource.#23013250
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:57:57 +08:00
zhumingze
eb88697dac
feat(sdk): for inner req, only support request dp leader. #22931456
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-07 15:57:57 +08:00
chihe
7e294e7f00
fix(master): deduplicate and remove contained for remote cache path
...
close:#23011064
Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 15:57:57 +08:00
chihe
6e662d30d9
fix(client): add full path for Dir and File
...
close:##21990545
Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 15:57:57 +08:00
chihe
3fa7ba4482
fix(clinet): remove node for dir when released
...
close:#21990545
Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 15:57:57 +08:00
chihe
c147758ca1
fix(client): remove node cache when file is released
...
close:#21990545
Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 15:57:57 +08:00
baihailong
5c7dfe077f
feat(flashnode): enable flashnode read timeout configured by the master.#22965528
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:57:57 +08:00
baihailong
eff580aea8
fix(flashnode): optimize flashnode log level.#22985948
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:57:57 +08:00
baihailong
f5d59a2eaa
fix(sdk): not initial remotecache when NewExtentClient for lcnode and objectNode.#23010877
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:57:57 +08:00
clinx
56fc4fa9b1
fix(data): outofslice error #22883846
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-07 15:57:57 +08:00
clinx
2b0f857d01
feat(data): compatible json serialization for old datanode. #22883846
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-07 15:57:56 +08:00
clinx
0eb05bd9f7
feat(data): compatible json serialization for old datanode. #22883846
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-07 15:57:56 +08:00
clinx
e3ae2ea3f1
feat(data): change extentinfo serialize for getting remote extend info#22883846
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-07 15:57:56 +08:00
chihe
b0807770c3
fix(objectnode): return error message when encountering internal err
...
close:#22997834
Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 15:57:56 +08:00
chihe
c65d6c19df
fix(lcnode): init ExtentConfig with metaWrapper
...
close:#23007284
Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 15:57:56 +08:00
chihe
621017b3b3
fix(client): cache all files if remoteCachePath is empty.
...
close:#23002423
Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 15:57:56 +08:00
chihe
639a696545
fix(bcache): reduce memory consumption for bcache-service
...
close:#22775703
Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 15:57:56 +08:00
zhumingze
1a20920be2
feat(datameta): Modify gcRecyclePercent to be configurable. #22995150
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-07 15:57:56 +08:00
baihailong
8d81c6d2f0
fix(cli): Restrict cli only execute httpStat and httpEvict on the flashnode of the cluster.#22983845
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:57:56 +08:00
chihe
12917180d4
fix(master): fix dead lock for flashnode
...
close:#22985995
Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 15:57:56 +08:00
zhumingze
5e57eb1ecd
feat(master): Add maximally-read config in master for better management. #22931456
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-07 15:57:56 +08:00
zhumingze
cbdcb01411
feat(sdk): support read quorum when dp no leader. #22931456
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-07 15:57:56 +08:00
chihe
dcc1b828ab
refactor(client): Increase the timeout period for blobstore client
...
close:#22897285
Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 15:57:56 +08:00
shuqiang-zheng
745261d31a
fix(flashnode): modify log level for cacheBlock load failures.
...
close:#22985948
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 15:57:56 +08:00
baihailong
3d7c4917c2
fix(flashnode): optimize flashnode list cost time.#22989953
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:57:56 +08:00
baihailong
836108a02c
fix(flashnode): optimize log level when cachePrepareTaskCh has been full.#22985948
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:57:56 +08:00
baihailong
46c323c25e
fix(sdk): if not enable followerread, flashnode only read from dp leader.#22972336
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:57:56 +08:00
baihailong
969df96cb7
fix(cli): fix flashgroup info too many blank line and limit max weight of flashgroup.#22981269
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:57:56 +08:00
baihailong
fbc5634f63
fix(master): when master not find flashnode zone leadto panic.#22983373
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:57:56 +08:00
baihailong
f6a8a544c2
feat(flashnode): supplement flashnode info for http interface flashnode/get.#22975706
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:57:56 +08:00
chihe
94253b719d
feat(client): remote cache supports specify dir
...
close:#22897285
Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 15:57:56 +08:00
shuqiang-zheng
ca2eb33605
fix(flashnode): modify the name of the cache size and ratio configuration item.
...
close:#22963423
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 15:57:56 +08:00
shuqiang-zheng
f883980012
fix(flashnode): fix slow source return in case of concurrent cache reads.
...
@formatter:off
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 15:57:56 +08:00
shuqiang-zheng
76007c2d8d
fix(flashnode): same cacheBlock may be created multiple times.
...
close:#22922141
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 15:57:40 +08:00
shuqiang-zheng
110075c431
feat(flashnode): data cache supports persistence and caching limit the number of file handle.
...
close:#22886884 #22886873
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 15:45:54 +08:00
shuqiang-zheng
101f0e0099
fix(flashnode): fix the problem of high cpu due to frequent gc on flashnode.
...
close:#22872898
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 15:45:54 +08:00
shuqiang-zheng
1cfd66ec91
fix(flashnode): fix low performance due to traversing keys in fetch status.
...
close:#22838790
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 15:45:37 +08:00
shuqiang-zheng
cf338f6fa5
feat(flashnode): supports configurable lru capacity.
...
close:#22834016
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 15:45:37 +08:00
baihailong
e9d9a447fd
feat(client): support configuring enableRemoteCacheOnlyForNotSSD.#22957483
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:45:37 +08:00
baihailong
19dd3a225a
feat(client): support configuring the maximum file size of remotecache.#22897285
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:45:37 +08:00
zhumingze
a2a73616ca
feat(fsck): Add force clean function for fsck. #22944717
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-07 15:45:37 +08:00
baihailong
090e94bab8
feat(flashcache): Support to specify the weight parameter when creating flashgroup.#22931494
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:45:37 +08:00
Wu Huocheng
2752860e9e
chore(metanode): Add debug logs and meta partition empty checking.#22834621
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-07 15:45:37 +08:00
Wu Huocheng
d8bdc8d44f
feat(master): Add getting clean task for empty meta partition.#22834621
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-07 15:45:37 +08:00
Wu Huocheng
799173432e
feat(master): Wait for 10 minites before setting meta replica forbidden.#22834621
...
Run the clean command in the background. It may takes several hours.
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-07 15:45:37 +08:00
Wu Huocheng
f00702a0d0
feat(metanode): add set meta partition freeze raft command.#22834621
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-07 15:45:37 +08:00
Wu Huocheng
1565adf97d
fix(metanode): backup the raft dir of meta partition.#22834621
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-07 15:45:37 +08:00
Wu Huocheng
46bb136ee8
chore(master): update the codes according to review comments.#22834621
...
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-07 15:45:37 +08:00
Wu Huocheng
242eedf13d
chore(client): restore the client codes.#22834621
...
Delete the codes that removing empty meta partitions.
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-07 15:45:37 +08:00
Wu Huocheng
6d881229b4
feat(master): Add freeze and clean empty meta partitions apis.#22834621
...
Signed-off-by: wu huocheng <wuhuocheng@oppo.com>
2025-08-07 15:45:37 +08:00
baihailong
4a30d7164c
fix(master): Optimizing some http registration function of remotecache.#22913153
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:45:37 +08:00
zhumingze
410e4545e1
feat(master): Support setting dp and mp cnt limit for different machines #22883514
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-07 15:45:37 +08:00
baihailong
6d18b6251e
fix(flashnode): parent directory permission wrong cause block file creation failure.#22906620
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:45:37 +08:00
baihailong
057d9605da
fix(cli): Restrict the valid and default values of the volume's remoteCache parameter.#22897624
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:45:26 +08:00
baihailong
a04d110270
fix(flashnode): when removing a flashnode it adds an idle one.#22890663
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:45:25 +08:00
baihailong
db3099e619
fix(flashnode): fix unit test error.#22876448
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:45:25 +08:00
baihailong
607b49d953
fix(flashnode): optimize metrics of flashnode.#22876448
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:45:25 +08:00
baihailong
00b082d8d3
fix(flashnode): format some code and fix some test case error.#22692038
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:45:25 +08:00
baihailong
5083a406f0
fix(flashnode): add some metric for flashnode.#22837445
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:45:25 +08:00
baihailong
b550c3f4d8
fix(sdk): client can only select one flashnode in the same fg.#22802475
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:45:25 +08:00
baihailong
4a373f4b23
fix(flashcache): format some code and remove unsued code.#22692038
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:45:25 +08:00
baihailong
e56db1be36
fix(flashnode): enable config dataPath for flashnode. #22780994
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:45:25 +08:00
baihailong
027f3aa40c
fix(flashcache): use NewExtentRequestV2 instead of NewExtentRequest.#22696653
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:45:09 +08:00
baihailong
90798863ca
fix(flashcache): format some code of flashcache.#22692038
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:45:09 +08:00
baihailong
bc5a500a5d
fix(sdk): Optimize the delay of client obtaining flashnode connection.#22707944
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:45:09 +08:00
baihailong
bc7c769457
fix(flashnode): flashnode enable config enableTmpfs.#22664221
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:45:09 +08:00
baihailong
7f31888f79
fix(flashnode): add block createtime and print it when expired.#22692038
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:45:09 +08:00
baihailong
e99b6e1af5
fix(master): add some debug log for flashnode.#22692038
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:45:09 +08:00
baihailong
18ca290acb
fix(master): fix some bug after rebase 3.4.0 #22665391
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:45:09 +08:00
baihailong
0290520f25
fix(sdk): client remotecache connection pool capacity too small.#22687920
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:45:09 +08:00
baihailong
46d19b3182
fix(flashnode): fix some bug after rebase 3.4.0 #22665391
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:45:09 +08:00
baihailong
3d7896fc65
fix(client): client not release connection of flashnode immediately.#22653259
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:45:09 +08:00
baihailong
9025274e8e
fix(flashnode): open file for block failed.#22642538
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:45:09 +08:00
baihailong
df36c10f1e
fix(flashnode): flashnode hit count is not accurate.#22634423
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:45:09 +08:00
baihailong
034d6d36d5
fix(sdk): The client no longer updates the fg.#22636239
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:42:38 +08:00
baihailong
e0db394306
feat(flashnode): alerting when the hit rate is lower.#22633499
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:19:33 +08:00
baihailong
2dbcda285b
fix(client): client support configure remoteCacheFollowerRead.#22588611
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:19:31 +08:00
baihailong
1998c55397
fix(flashnode): add statistical metrics for flashnode.#22559602
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:19:30 +08:00
baihailong
4a6527d101
fix(master): The remotecache parameter is supported when creating a volume.#22575809
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:19:27 +08:00
baihailong
ecaa92b1be
fix(flashcache): remoteCache update flashgroug twice one time.#22559610
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:19:26 +08:00
baihailong
5a6d4a70d9
fix(flashcache): volume remotecache configuration is invalid after restart leader master.#22550872
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:19:25 +08:00
baihailong
6f6d29a493
fix(flashcache): volume remotecache configuration is invalid after restart leader master.#22550872
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:19:24 +08:00
baihailong
d6b862922d
fix(flash_cache): optimize get inode meta info when prepareCacheRequests.#22240020
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:19:23 +08:00
baihailong
3cbf7153ea
fix(flash_cache): cache expires randomly in the 10% expiration time range.#22240020
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:19:20 +08:00
baihailong
7d186c8d52
fix(cache): overwrite or truncate leadto flashcache inconsistent.#22240020
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:19:18 +08:00
leonrayang
96bb7b66ef
feat(doc): Add pic for introduction of flash cache
...
Signed-off-by: leonrayang <chl696@sina.com>
@formatter:off
2025-08-07 15:19:17 +08:00
leonrayang
30659caa84
enhance(client): enhance the check of slots for flashGroup create
...
Signed-off-by: leonrayang <chl696@sina.com>
2025-08-07 15:19:15 +08:00
leonrayang
3f6243d8b4
update(client): debug and pass remote read process
...
Signed-off-by: leonrayang <chl696@sina.com>
2025-08-07 15:19:14 +08:00
slasher
bf26b4bc3d
feat(sdk): add common headers in sdk http client
...
. #22115371
Signed-off-by: slasher <mcq.sejust@gmail.com>
2025-08-07 15:19:13 +08:00
slasher
ecb0b49016
feat(util): add go ping for flash sdk
...
. #22200563
Signed-off-by: slasher <mcq.sejust@gmail.com>
2025-08-07 15:19:12 +08:00
slasher
c98e438814
feat(flash): enable volume config in master
...
. #22200580
Signed-off-by: slasher <mcq.sejust@gmail.com>
2025-08-07 15:19:11 +08:00
leonrayang
2e497bcd73
update(flashsdk): enable remote cache
...
Signed-off-by: leonrayang <chl696@sina.com>
2025-08-07 15:19:08 +08:00
slasher
d8396639d5
chore(cli): return errors to root of cmd
...
. #22200600
Signed-off-by: slasher <mcq.sejust@gmail.com>
2025-08-07 15:19:08 +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
2742e1ddb7
feat(master): add http args parser in master
...
. #22200600
Signed-off-by: slasher <mcq.sejust@gmail.com>
2025-08-07 15:19:06 +08:00
slasher
1877c03de8
feat(flashnode): turn on off client cache in master
...
. #22115371
Signed-off-by: slasher <mcq.sejust@gmail.com>
2025-08-07 15:19:05 +08:00
slasher
fccb8d1947
feat(flashnode): update client cache when status changed
...
. #22115371
Signed-off-by: slasher <mcq.sejust@gmail.com>
2025-08-07 15:19:04 +08:00
slasher
beee1f4c55
feat(flashnode): load flash ring in master
...
. #22200580
Signed-off-by: slasher <mcq.sejust@gmail.com>
2025-08-07 15:19:03 +08:00
slasher
459ec2f5e5
test(flashnode): add test case of flash node
...
. #22200518
Signed-off-by: slasher <mcq.sejust@gmail.com>
2025-08-07 15:19:03 +08:00
slasher
015776b952
test(master): add test case of flash cache
...
. #22115371 of 21940685
Signed-off-by: slasher <mcq.sejust@gmail.com>
2025-08-07 15:19:02 +08:00
slasher
44e56bb610
feat(flashnode): make slot with user defined
...
. #22200518
Signed-off-by: slasher <mcq.sejust@gmail.com>
2025-08-07 15:19:01 +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
a3e89bcfaf
feat(flashnode): refinement flashnode
...
. #22200504 #22200509
Signed-off-by: slasher <mcq.sejust@gmail.com>
2025-08-07 15:18:59 +08:00
slasher
4a11077864
feat(flashnode): add cli of flashnode and flashgroup
...
. #22200531 #22200571 #22200580
Signed-off-by: slasher <mcq.sejust@gmail.com>
2025-08-07 15:18:58 +08:00
slasher
df73ec05fc
feat(flashnode): add sdk stream of flashnode
...
. #22115361
Signed-off-by: slasher <mcq.sejust@gmail.com>
2025-08-07 15:18:57 +08:00
slasher
297477a2ed
chore(util): add util of bloom fliter
...
. #22200490
Signed-off-by: slasher <mcq.sejust@gmail.com>
2025-08-07 15:18:56 +08:00
slasher
9101dc2fe8
feat(flashnode): add sdk of flashnode
...
. #22200490
Signed-off-by: slasher <mcq.sejust@gmail.com>
2025-08-07 15:18:55 +08:00
slasher
c4aaa43205
feat(flashnode): add flash node service in master
...
. #22200531 #22115371 #22200563
Signed-off-by: slasher <mcq.sejust@gmail.com>
2025-08-07 15:18:53 +08:00
slasher
b150a10a36
feat(flashnode): add service of flashnode
...
. #22115361 #22200518 of #21957840
Signed-off-by: slasher <mcq.sejust@gmail.com>
2025-08-07 15:18:46 +08:00
chihe
b1521e5a45
fix(master): fix CancelDecommissionDataNode for getApiList
...
close:#22922055
Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 15:18:43 +08:00
chihe
625289c6cd
fix(cli): do not enable trash when excuting operation for quota
...
close:#22922055
Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 15:17:53 +08:00
yanghonggang
d00e08cc2d
fix(blobstore): include cap check in alloc tests and reject size <= 0
...
close #3868
Signed-off-by: yanghonggang <yanghonggang_yewu@cmss.chinamobile.com>
2025-07-28 14:16:36 +08:00
slasher
ad376ea9a2
fix(access): update repairing volume cache
...
CodeDiskBroken
put: update cache cos put needs N+M-1 written shards
get: ignore cos get just need N+1 shards
. #1000242605
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-23 10:08:41 +08:00
yanghonggang
40f67d570b
feat(blobstore): add blobstore bench tool
...
The bench tool is used to evaluate the performance of blobstore.
It supports performance evaluation for put, get, and del operations.
Fixes : #3795
Signed-off-by: yanghonggang <yanghonggang_yewu@cmss.chinamobile.com>
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-22 10:07:55 +08:00
yanghonggang
513c04c21f
feat(bssdk): support log file configuration for sdk client
...
This commit adds support for logging to a file in the blobstore sdk client,
allowing configuration of log file path, level, and size.
close : #3862
Signed-off-by: yanghonggang <yanghonggang_yewu@cmss.chinamobile.com>
Signed-off-by: zhangjianwei2 <zhangjianwei2_yewu@cmss.chinamobile.com>
2025-07-21 16:57:35 +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
xiejian
b363b75d99
fix(proxy): avoid alloc 0 volume from clustermgr
...
with: #1000217440
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:32:17 +08:00
Cloudstriff
ebb82972f6
fix(clustermgr): skip disk not found error when disk is dropping, avoid disk drop task blocking
...
with #1000200308
Signed-off-by: Cloudstriff <chenjiong@oppo.com>
2025-07-08 11:32:12 +08:00
slasher
514f9ac3b7
feat(access): add ordered configration of codemode to order reading shards
...
EC24P8 in 1AZ
Matrix: C(32, 8) = 10518300
Memory: (24 + 24*24 + 24*24*8) * 10518300 ~= 51 GB
EC12P9 in 3AZ, 7 constant shards in local AZ
Matrix: C(14, 5) = 18018
Memory: (24 + 24*12 + 12*12*8) * 18018 ~= 25 MB
. #1000199588
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:32:07 +08:00
slasher
e56f5ccd96
fix(access): using last token in client
...
. #1000203638
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:16 +08:00
xiejian
8ede90565d
fix(shardnode): skip readIndex in shard.Stats() when service start
...
with: #1000176274
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:16 +08:00
xiejian
dcdb7fb681
fix(shardnode): do not compare idc and rack info with clustermgr when init
...
with: #1000176986
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:16 +08:00
xiejian
03cb728729
fix(shardnode): prevent seal part slices of local
...
with: #1000183861
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:16 +08:00
xiejian
0c6d15042d
fix(shardnode): 1.remove raft group when apply remove member
...
avoid removed member still leader and clear raft data after all raft log applied
2. skip load disk which status is not normal in clustermgr
3.import gomonkey package
with: #1000176986
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:16 +08:00
mawei029
b99da2112f
fix(bssdk): fix list blob count uint overstep the boundary, modify panic to span error
...
with: #1000179782
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-07-08 11:30:16 +08:00
xiejian
24f9066d35
feat(raft): print runtime stack when raft worker handle error
...
with: #1000167662
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:16 +08:00
xiejian
413c1de3c2
fix(shardnode): check readIndexFunc loaded in shard when preRWCheck
...
with: #1000167662
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:16 +08:00
slasher
daf016636f
fix(access): return origin error if context cancel
...
. #1000042638
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:16 +08:00
slasher
2ebab23f6c
fix(access): remove token if last slice only has one blob
...
. #1000155215
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:16 +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
9ea30f5ac5
chore(docs): add rpc2 configuration
...
@formatter:off
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:16 +08:00
Cloudstriff
21ef7c2a21
refactor(clustermgr): do refactor for v1.4.4 change
...
with #1000138128
Signed-off-by: Cloudstriff <chenjiongwendao@qq.com>
2025-07-08 11:30:16 +08:00
mawei029
fdf69e2596
fix(blobnode): fix the unstable test case
...
with: #1000102964
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-07-08 11:30:16 +08:00
tangdeyi
78df429486
fix(clustermgr): drop node/disk apply err return
...
with #1000102800
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2025-07-08 11:30:16 +08:00
tangdeyi
ca68b3f33f
fix(clustermgr): rename ak and sk
...
with #1000095073
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2025-07-08 11:30:16 +08:00
tangdeyi
d48ca7debc
fix(clustermgr): fix snapshot member nodehost store
...
with #1000095073
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2025-07-08 11:30:16 +08:00
mawei029
d29e116edc
fix(bssdk): support multiple clusters can be configured when consul is empty
...
with: #1000045453
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-07-08 11:30:16 +08:00
xiejian
836738b7e1
feat(shardnode): distinguish item and blob key in storage
...
with: #22989410
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:16 +08:00
JasonHu520
ed2e209b9c
perf(raft): entry cache supports quickly get
...
with: #23065907
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2025-07-08 11:30:16 +08:00
JasonHu520
41bf952511
fix(raft): the entry cache supports overwriting by index
...
with: #23065907
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2025-07-08 11:30:16 +08:00
mawei029
4867b6ca6d
fix(bssdk): old leader disk is broken, choose new leader from the old units
...
with: #1000022240
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-07-08 11:30:16 +08:00
mawei029
c577b51612
fix(bssdk): old leader disk is broken, change leader disk
...
with: #1000014262 , #1000010625
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-07-08 11:30:16 +08:00
JasonHu520
ff9a307699
fix(blobnode): remove bad unit which update id failed with cm
...
with: #1000010625
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2025-07-08 11:30:16 +08:00
xiejian
27327ab3ce
fix(shardnode): replay raft log by ReadIndex() before start serve, remove load shard asynchronous
...
with: #1000004366
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:15 +08:00
slasher
1ca6fc0554
feat(util): add util statistic for time delay
...
@formatter:off
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:15 +08:00
mawei029
858895b18e
fix(cli): cli support local file path as request body when PutBlob
...
with: #23109197
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-07-08 11:30:15 +08:00
mawei029
b6a2be88ec
refactor(bssdk): not support GetBlob data when not sealed blob
...
modify alloc slice args count is real success count
with: #23109197
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-07-08 11:30:15 +08:00
xiejian
8274a65907
fix(shardnode): record slice count when SealBlob
...
with #23109197
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:15 +08:00
xiejian
fd185ed965
test(shardnode): optimize shardnode ut
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:15 +08:00
xiejian
74c69ccd41
fix(shardnode): remove failedSlice.Count check of AllocSlice api
...
full check of SealBlob args, update location when SealBlob
with #23109197
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:15 +08:00
slasher
f7664eec0f
feat(rpc2): cache server request and response in pool
...
. #23076156
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:15 +08:00
mawei029
e0a59713ff
chore(bssdk): update code comment
...
@formatter:off
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-07-08 11:30:15 +08:00
xiejian
f83500da17
feat(shardnode): clear shardnode list blob log, print blob when seal failed
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:15 +08:00
xiejian
a7ffe01736
feat(raft): clear raft log
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:15 +08:00
xiejian
fe107d3304
feat(shardnode): sync route version from clustermgr before start serve
...
with #23092404
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:15 +08:00
mawei029
42d0bbfa37
fix(bssdk): prevent route version rollback
...
with: #23031244
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-07-08 11:30:15 +08:00
mawei029
4b75603a06
fix(bssdk): fix location size after alloc slices
...
with: #23053900
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-07-08 11:30:15 +08:00
slasher
f7472eeb2d
fix(access): remove marker of listing broken disk
...
. #23065780
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:15 +08:00
tangdeyi
6ad085725c
fix(clustermgr): loadroute when apply snapshot
...
with #23075869
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2025-07-08 11:30:15 +08:00
tangdeyi
89219627e3
tools(clustermgr): get inconsistent volume between leader and follower
...
with #23074437
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2025-07-08 11:30:15 +08:00
JasonHu520
cdb9a30565
fix(scheduler): if get dest disk shard info failed, task should be redo
...
with:#23080463
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2025-07-08 11:30:15 +08:00
mawei029
6acfc1ad4b
feat(tools): cli disk drop stat, support specify some disk, use cmd context, find vuid not in cm
...
@formatter:off
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-07-08 11:30:15 +08:00
xiejian
a05df55013
fix(shardnode): prevent reopen broken disk as normal cause raft panic
...
with #23075546
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:15 +08:00
mawei029
4bd8cfe927
fix(bssdk): update catalog route, leader disk is 0
...
and old broken disk was the primary node.
update route version when update shard stat
with: #23058322
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-07-08 11:30:15 +08:00
mawei029
9768679d98
refactor(bssdk): get catalog route, leader disk is not in disk units
...
with: #23058322
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-07-08 11:30:15 +08:00
xiejian
ed7e566648
fix(shardnode): 1.close rocksdb iterator in shard.
...
List which may cause memory leak
2.ensure the idempotence of the createBlob api
with #23045889 #23045869
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:15 +08:00
xiejian
0269a61764
fix(shardnode): optimize shard do checkpoint
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:15 +08:00
xiejian
ad2ace90d8
fix(shardnode): asynchronous execute handleRaftError to avoid deadlock
...
with #23025534 #23031244
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:15 +08:00
mawei029
717792ff45
fix(bssdk): check valid catalog when get from cm, fix acquire leader disk id is zero
...
with: #23031244
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-07-08 11:30:15 +08:00
mawei029
37557274e3
refactor(bssdk): specific delete error message, when not proxy service controller
...
with: #23031244
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-07-08 11:30:15 +08:00
tangdeyi
4135173df1
fix(clustermgr): complete routeVersion field in full route fetch
...
with #23013508
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2025-07-08 11:30:15 +08:00
slasher
4094d85642
fix(rpc2): mutex client new session
...
@formatter:off
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:15 +08:00
mawei029
f90f00efa6
fix(bssdk): fix update shard catalog suid info, when catalog change item is not leader
...
with: #23028809
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-07-08 11:30:15 +08:00
mawei029
c9ab48ba83
refactor(bssdk): optimize the delete process to reduce once get blob to shardnode
...
with: #23021397
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-07-08 11:30:15 +08:00
xiejian
6a35374908
feat(shardnode): add FindAndDeleteBlob api
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:15 +08:00
xiejian
eeb2bc9761
fix(shardnode): combine handle eio and remove disk raft group
...
with #23025534
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:15 +08:00
tangdeyi
634cb93113
fix(clustermgr): fix nested lock
...
#23013508
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2025-07-08 11:30:15 +08:00
xiejian
4397e20b3e
style(shardnode): add blobname as trace tag
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:15 +08:00
xiejian
ac919b9128
style(raft): remove unnecessary log
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:15 +08:00
tangdeyi
c48913bc24
fix(clustermgr): fix chunk report err return
...
with #23020436
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2025-07-08 11:30:15 +08:00
xiejian
1cdfd8f95a
feat(shardnode): inspect and clean up trash shards
...
with #22963391
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:15 +08:00
mawei029
828a7be5ac
fix(bssdk): fix put at size is 0 because valid size is 0
...
alloc slice count dont change, update some log
with: #23012656
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-07-08 11:30:15 +08:00
xiejian
76b2a6e6e3
fix(shardnode): record Slice.ValidSize when alloc or seal
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:15 +08:00
xiejian
70f6955e1e
fix(shardnode): 1. reject insert item with empty ID 2.fix ListItem
...
with #22989681 #22989410
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:15 +08:00
mawei029
81e6fb4310
fix(bssdk): use location crc when get blob from shardnode, seal blob send size; fix leader suid
...
with: #22959393
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-07-08 11:30:15 +08:00
tangdeyi
eefca95507
fix(clustermgr): fix the deadlock problem caused by nested metalock and nodelock
...
with #23004457
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2025-07-08 11:30:15 +08:00
xiejian
a0f2790899
fix(raft): prevent removed raft group try process message
...
with #22953685
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:15 +08:00
xiejian
815a9cffda
fix(shardnode): avoid disk instance cannot gc cause repaired disk can not reopen
...
with #22953685
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:15 +08:00
xiejian
83b87cb839
fix(rpc2): prevent unmarshal initialized proto struct cause EOF
...
with #22985316
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:15 +08:00
xiejian
19f006b1f4
fix(shardnode): 1.transfer leader return err with code 2.add update shard args check
...
with #22982347 #22982342 #22980415
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:15 +08:00
xiejian
986bb6c830
fix(shardnode): 1.prevent create blob with empty name
...
2.fix some error msg
3.fix seal and delete blob return nil when get space failed
with #22977114 #22981300 #22982188
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:15 +08:00
xiejian
35140e84ff
feat(kvstorev2): fix rocksdb readLoop maybe panic when deliver rets
...
with #22953685
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:15 +08:00
xiejian
aded3ec020
feat(shardnode): handle raft panic by disk
...
with #22953685 #22963391
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:15 +08:00
mawei029
dd020f772a
fix(bssdk): leader broken disk, wait new leader node
...
remove redundant get blob when delete blob
with: #22959393
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-07-08 11:30:15 +08:00
mawei029
18755e1113
fix(bssdk): switch leader node or update shard, we need to discard leaner units
...
with: #22959393 , #22959050 , #22952828
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-07-08 11:30:15 +08:00
JasonHu520
d02d5ad0a9
fix(raft): manager no more create transport
...
@formatter:off
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2025-07-08 11:30:15 +08:00
JasonHu520
7295732597
fix(raft): in the data synchronization process, persist the data first and then respond
...
@formatter:off
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2025-07-08 11:30:15 +08:00
mawei029
6c5d75abde
fix(bssdk): fix put blob all fail, seal slices is zero, put blob ok but seal fail
...
with: #22933065
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-07-08 11:30:15 +08:00
mawei029
a743a2a74b
fix(bssdk): fix update shard when put fail at restart shardnode
...
with: #22941519
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-07-08 11:30:15 +08:00
slasher
5c385715ff
fix(cli): add log level setting for cli
...
@formatter:off
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:15 +08:00
JasonHu520
0e0474bb64
feat(raft): handle raft group panic error
...
@formatter:off
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2025-07-08 11:30:15 +08:00
JasonHu520
db3df98398
feat(scheduler): use err code replace detail
...
@formatter:off
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2025-07-08 11:30:15 +08:00
xiejian
28c197a0e2
feat(shardnode): transfer leader when handleEIO
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:15 +08:00
JasonHu520
759217aeab
fix(raft): leader can not be leaner, need leader transfer
...
@formatter:off
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2025-07-08 11:30:15 +08:00
mawei029
b1c8321beb
fix(bssdk): add print log, wait shard node return no leader
...
default shard node retry time
with: #22918200
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-07-08 11:30:15 +08:00
xiejian
ecd4101463
fix(shardnode): prevent alloc slice for sealed Blob
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:15 +08:00
xiejian
ce75c10929
refactor(rpc): Solving serious problems in code scanning
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:15 +08:00
xiejian
0de3986825
refactor(shardnode): Solving serious problems in code scanning
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:15 +08:00
xiejian
82b7c61fbd
refactor(raft): Solving serious problems in code scanning
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:15 +08:00
slasher
587b825bc0
feat(cli): encode and decode json bytes in cli
...
@formatter:off
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:15 +08:00
mawei029
7b57e9d894
fix(bssdk): convert error code 5xx key not found
...
with: #22912998
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-07-08 11:30:15 +08:00
mawei029
94e068fa65
fix(bssdk): private createBlob and sealBlob
...
with: #22918200
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-07-08 11:30:15 +08:00
mawei029
e20adade26
fix(bssdk): fix get leader shardnode with new diskID when connect refuse
...
with: #22918200
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-07-08 11:30:15 +08:00
xiejian
eb0499a6c9
fix(shardnode): convert kvstore key not found err to err with code
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:15 +08:00
xiejian
ba801c5c77
fix(shardnode): check request blob name length
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:15 +08:00
slasher
80e0ac3b81
fix(rpc2): parse codec args in multi frames
...
. #22922602
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:15 +08:00
xiejian
ea3d9f9d38
fix(shardnode): excludes failed vid when AllocSlice
...
with #22916378
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:15 +08:00
mawei029
5b39560fa8
fix(bssdk): transform the error message in more detail, when list blob
...
with: #22905178
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-07-08 11:30:15 +08:00
mawei029
f97631d8eb
fix(bssdk): sum body hashes and return it when put blob, modify print log
...
with: #22901344
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-07-08 11:30:15 +08:00
mawei029
9d84c73c17
fix(bssdk): fix panic, modify get the disk punished status from cache
...
with: #22893213
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-07-08 11:30:15 +08:00
xiejian
1eef24a5dd
refactor(kvstorev2): optimize SeekForPrev of kvstorev2
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:15 +08:00
xiejian
4c99c2a735
fix(shardnode): handle situations of failedSlice is empty of AllocSlice api
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:15 +08:00
JasonHu520
aef6b4efc7
feat(blobnode): request new leader to update source unit
...
with #22812331
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2025-07-08 11:30:15 +08:00
xiejian
c20c28b17f
fix(shardnode): prevent shard delete get leader which is itself cause dead lock
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:15 +08:00
JasonHu520
fcd249e20a
feat(blobnode): update source shard unit to learner
...
with #22812331
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2025-07-08 11:30:15 +08:00
xiejian
71d680d91c
fix(shardnode): 1.load disk shard concurrency
...
2.remove trash shard
3.update listShard api
4.optimize lock nesting to avoid lock conflicts, stats api return node host
5.kvstorev2 add optimized default config
6.support about recover shard cli
7.optimize trace log time cost record
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:15 +08:00
xiejian
35df8a3f09
fix(raft): 1.remove entry cache put verify, fix get and get from
...
2.fix duplicated heartbeat request and MsgAppResp response
3.remove snapshot meta when storage close
4.fix outgoingSnapshot repeat close
5.add some log and fix log level and format
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:15 +08:00
Cloudstriff
7fbc45344b
perf(raft): optimized raft storage Entries and Term interface performance
...
with #22792157
Signed-off-by: Cloudstriff <chenjiongwendao@qq.com>
2025-07-08 11:30:14 +08:00
xiejian
bb272a12a5
feat(shardnode): add time cost detail of blob api in span
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:14 +08:00
xiejian
26086a3208
feat(shardnode): add padding when encode space key to avoid out of order
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:14 +08:00
xiejian
9d8d1c1996
fix(raft): 1.do not return error when process proposal msg failed because of not leader
...
2.storage keep both snapshot meta and hard state
3.fix applyUpdateRaw panic when found not value but do close
4.fix apply snapshot in statemachine while appy commited entries concurrently
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:14 +08:00
xiejian
fbb8d2ca1d
feat(shardnode): support tcmalloc and rocksdb stats api
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:14 +08:00
xiejian
6546e56e54
feat(shardnode): support tcmalloc
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:14 +08:00
xiejian
38f382d808
fix(shardnode): with member ctx when createRaftGroup to fix suid is 0 after apply snapshot
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:14 +08:00
xiejian
2d8a920fd1
feat(shardnode): support addShard cli tool
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:14 +08:00
xiejian
4b73769f5d
fix(shardnode): fix restart panic after apply snapshot and tickElection
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:14 +08:00
xiejian
24edbfdbb1
fix(shardnode): encode kv storage data key with shardID
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:14 +08:00
xiejian
173a1cd157
fix(shardnode): fix panic problem when restart service with apply snapshot
...
supplement kvstore interface
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:14 +08:00
xiejian
d0e5f634e1
fix(shardnode): fix fatal when shard is deleting but apply member change
...
flush when delete shard info, read/write check when do snapshot, do checkpoint
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:14 +08:00
JasonHu520
0d4321d8c1
fix(scheduler): fix cancel shard task failed
...
with #22812331
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2025-07-08 11:30:14 +08:00
tangdeyi
89d49fbe1d
fix(clustermgr): put refresh into loadData cause of snapshot
...
with #22842525
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2025-07-08 11:30:14 +08:00
tangdeyi
da172ccb9d
fix(clustermgr): validate arg when chunk is reported
...
with #22815976
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2025-07-08 11:30:14 +08:00
mawei029
92668d0b96
fix(access): need get twice shard stats from shardnode
...
with: #22751713 of #22751546
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-07-08 11:30:14 +08:00
mawei029
c2b33079e6
fix(access): need update shard route when connection refused, catalog skip leader disk 0
...
with: #22751713 of #22751546
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-07-08 11:30:14 +08:00
mawei029
6034ad9e03
feat(bssdk): tool sdk cli support perf tools to put,get,delete
...
with: #22751704 of #22751546
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-07-08 11:30:14 +08:00
mawei029
7dbdcb859a
refactor(bssdk): sdk cli convert blobname byte to string, suid readable
...
with: #22751573 of #22751546
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-07-08 11:30:14 +08:00
mawei029
26a9fd2ac7
refactor(tools): drop disk stat, open rocksdb read only without depend on LOCK
...
remove duplicate disk path
@formatter:off
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-07-08 11:30:14 +08:00
slasher
9dad1ee7cf
feat(access): punish volume disk and service with own value
...
. #22762717
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:14 +08:00
slasher
bed91e7765
feat(access): report metric of read and write
...
. #22762725
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:14 +08:00
tangdeyi
f7859160de
fix(clustermgr): remove shardUnitInfo in shardItem
...
. #22711921
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2025-07-08 11:30:14 +08:00
tangdeyi
ddbc6f37ac
feat(clustermgr): persistent raft members when applying snapshot
...
. #22711921
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2025-07-08 11:30:14 +08:00
mawei029
7e016da2a3
fix(bssdk): get blob fill crc, shard keys fix panic, shard not
...
leader update, get next end shard, cli readable
with: #22639120
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-07-08 11:30:14 +08:00
mawei029
6357ce9b75
feat(bssdk): blobstore cli support sdk cmd
...
with: #22639120
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-07-08 11:30:14 +08:00
slasher
c6b2152692
feat(rpc2): unmarshal none if response length is zero
...
@formatter:off
Signed-off-by: slasher <shenjie1@oppo.com>
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:14 +08:00
xiejian
30789df40d
fix(shardnode): fix the bugs found with sdk test, and add unit test
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:14 +08:00
slasher
e26e3ab749
fix(access): force flush proxy volume if context canceled
...
@formatter:off
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:14 +08:00
JasonHu520
d7abb27eac
refactor(scheduler): update log level for kafka message
...
@formatter:off
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2025-07-08 11:30:14 +08:00
Cloudstriff
d6c6a775e0
feat(raft): fix query log term by index in raft storage
...
with #22656329
Signed-off-by: Cloudstriff <chenjiongwendao@qq.com>
2025-07-08 11:30:14 +08:00
Cloudstriff
6a3d90ca93
fix(kvstorev2): fix kv list without handleError function
...
with #22656329
Signed-off-by: Cloudstriff <chenjiongwendao@qq.com>
2025-07-08 11:30:14 +08:00
mawei029
84d6df46af
feat(access): sdk put blob, delete blob from shard node
...
with: #22549147 of #22357707
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-07-08 11:30:14 +08:00
xiejian
7706c4b4b3
fix(shardnode): calculate crc when persist Location, update AllocSlice api
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:14 +08:00
xiejian
ae3626ac38
fix(shardnode): return err if repeat create blob, fix alloc slice check
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:14 +08:00
tangdeyi
26fffe9b21
feat(clustermgr): optimize the judgment of shard init done
...
. #22672295
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2025-07-08 11:30:14 +08:00
slasher
2a98715983
feat(rpc2): bad request if parse parameter failed
...
. #22617142
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:14 +08:00
xiejian
3f0f1d2b31
refactor(raft): remove raft config resolver, only keep transport resolver
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:14 +08:00
xiejian
5a93938026
refactor(access): move location crc calculate func to common package
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:14 +08:00
xiejian
5a07148126
refactor(raft): fix ut, and some ticker config
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:14 +08:00
Cloudstriff
c724be4931
feat(shardnode): add snapshot header support on apply snapshot progress
...
with #22656329
Signed-off-by: Cloudstriff <chenjiongwendao@qq.com>
2025-07-08 11:30:14 +08:00
xiejian
9f9cb91540
refactor(raft): simplify SealBlob api args
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:14 +08:00
JasonHu520
596e12a83c
refactor(blobnode): some changes for code style
...
with: #22481824 #22481829
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2025-07-08 11:30:14 +08:00
Cloudstriff
6bfdb3547c
fix(blobnode): fix transfer leader without update shard member type
...
with #22615053
Signed-off-by: Cloudstriff <chenjiongwendao@qq.com>
2025-07-08 11:30:14 +08:00
JasonHu520
56bfb25102
feat(blobnode): access the client of clustermgr and shardnode
...
with: #22481824 #22481829
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2025-07-08 11:30:14 +08:00
JasonHu520
d5e206e18f
feat(blobnode): add shard task for worker
...
1. add some ut shard disk repair task
with: #22481824 #22481829
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2025-07-08 11:30:14 +08:00
JasonHu520
67277bdf0e
feat(scheduler): add shard disk repair manager
...
1. finish shard task process and shard disk repair
with: #22452167
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2025-07-08 11:30:14 +08:00
JasonHu520
19e3ec09e4
feat(scheduler): add shard node task
...
1. Update the scheduler and worker interaction protocols to support new
task types
with: #22417838
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2025-07-08 11:30:14 +08:00
JasonHu520
afaef8a55c
fix(scheduler): fix task update volume failed and task retry duplicated in finish stage
...
with: #22481824 #22481829
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2025-07-08 11:30:14 +08:00
xiejian
6b1a33c26a
fix(raft): fix raft transport panic when disk not finish load
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:14 +08:00
xiejian
6a0842c17c
fix(shardnode): fix base transport singleflight key conflict
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:14 +08:00
xiejian
d2facf68d9
fix(raft): fix raft manager interface convert problem
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:14 +08:00
xiejian
2a57182e15
feat(shardnode): add shardnode related cli tools
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:14 +08:00
xiejian
ea7e25f25f
feat(shardnode): support AllocSlice api, update SealBlob api args
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:14 +08:00
xiejian
4e563e095e
refactor(shardnode): replace shardnode.Blob with commom.Blob
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:14 +08:00
xiejian
0e5d3eb8a1
fix(shardnode): fix the problem of incorrect assignment of unit learner
...
field in addShard process
fix rpc auditlog missing traceID problem, add shardnode log
fix update shard without suid
fix shard task routeVersion check
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:14 +08:00
xiejian
899fb14003
fix(clustermgr): fix cm AllocChunks failure causes concurrency issues
...
with #22565373
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:14 +08:00
slasher
e270e33102
chore(rpc2): add test server and client
...
tcp, transport, rpc, rpc2
@formatter:off
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:14 +08:00
slasher
d5e816db40
feat(rpc2): client retry on codec parameter
...
. #22637531
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:14 +08:00
slasher
fc32992b0b
feat(rpc2): audit log on error handler
...
. #22617142
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:14 +08:00
tangdeyi
0612bfc8ff
feat(clustermgr): blobstore cli add catalog cmd
...
. #22631156
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2025-07-08 11:30:14 +08:00
tangdeyi
aa952305d5
fix(clustermgr): remove shard compatibile mode code and record version
...
. #22416534
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2025-07-08 11:30:13 +08:00
xiejian
b5b77a1c97
fix(shardnode): fix test founded problems
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:13 +08:00
slasher
20176fe835
fix(access): report punished service with threshold
...
@formatter:off
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:13 +08:00
slasher
f79491f781
feat(rpc2): add any codec for any value
...
. #22573386
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:13 +08:00
xiejian
ce3acc2279
fix(common): rename Location and Slice's json tag
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:13 +08:00
xiejian
c6c97d78b6
fix(shardnode): fix kvstorev2 problems
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:13 +08:00
xiejian
c697fc85dd
fix(shardnode): fix raft related problems
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:13 +08:00
xiejian
241781a646
test(shardnode): complete unit test
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:13 +08:00
tangdeyi
c96e84040c
feat(clustermgr): add space management
...
. #22416534
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2025-07-08 11:30:13 +08:00
tangdeyi
85e6c02538
feat(clustermgr): add route management
...
. #22477961
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2025-07-08 11:30:13 +08:00
tangdeyi
533caf5fcd
feat(clustermgr): add shard management and catalog module
...
. #22477946
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2025-07-08 11:30:13 +08:00
tangdeyi
f20a06c956
feat(clustermgr): add shardnode disk and node management
...
. #22432395
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2025-07-08 11:30:13 +08:00
Cloudstriff
6c8ece4ba6
feat(raft): add multi manager support at one transport only
...
with #22357426
Signed-off-by: Cloudstriff <chenjiongwendao@qq.com>
2025-07-08 11:30:13 +08:00
Cloudstriff
1d5cf15406
fix(raft): fix raft transport return nil connection when dial failed
...
with #22357426
Signed-off-by: Cloudstriff <chenjiongwendao@qq.com>
2025-07-08 11:30:13 +08:00
tangdeyi
b780eebda6
fix(clustermgr): add leader diskID of shard
...
. #22556044
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2025-07-08 11:30:13 +08:00
slasher
7d1f94c043
feat(util): defaulter generic with float and integer
...
. #22575353
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:13 +08:00
slasher
acc5db3371
feat(rpc2): add cli for simple request
...
. #22573386
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:13 +08:00
slasher
ead8eda3c5
feat(rpc2): fixup some code of rpc2
...
@formatter:off
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:13 +08:00
xiejian
fe1543e18e
feat(shardnode): adapt rpc2 protocol
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:13 +08:00
slasher
7a935eb42d
feat(rpc): metrics of auditlog with struct
...
. #22566070
Benchmark_ParserRow
Benchmark_ParserRow-4 199876 5903 ns/op 2264 B/op 30 allocs/op
Benchmark_ParserAuditlog
Benchmark_ParserAuditlog-4 1000000 1053 ns/op 389 B/op 9 allocs/op
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:13 +08:00
slasher
08ffaad88d
feat(rpc2): transport with rdma connection and writev
...
. #22550097 #22551076
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:13 +08:00
slasher
946ec8516f
feat(rpc2): transport with context cancel
...
. #22548427
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:13 +08:00
slasher
e41f7a497b
feat(rpc2): add rpc2 server and client with json
...
@formatter:off
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:13 +08:00
slasher
ac953debb5
feat(rpc2): add intercepor of auditlog
...
. #22537366
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:13 +08:00
slasher
12dd967d35
feat(rpc2): add intercepor of auth
...
. #22537366
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:13 +08:00
slasher
fb6f396b3e
feat(rpc2): change gogo proto stringer
...
@formatter:off
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:13 +08:00
slasher
fc2b033216
feat(rpc2): add checksum algorithm xxh3
...
@formatter:off
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:13 +08:00
slasher
917a57b2fd
feat(rpc2): add package xxh3
...
. github.com/zeebo/xxh3
@formatter:off
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:13 +08:00
slasher
d795ac793b
feat(rpc2): router add interceptor
...
. #22520668
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:13 +08:00
slasher
760e326b62
feat(rpc2): add lb in client
...
. #22517396
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:13 +08:00
slasher
3a3572c456
feat(rpc2): add connection buffer io
...
. #22510825
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:13 +08:00
slasher
07dcc69dff
feat(rpc2): add testing of example
...
. #22505814
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:13 +08:00
slasher
b7ea90c5b6
feat(rpc2): put parameter and result in body
...
. #22502053
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:13 +08:00
slasher
cd0452cd51
feat(rpc2): add dialer and listener
...
. #22495341
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:13 +08:00
slasher
27b2588bde
feat(rpc2): request and response with checksum
...
. #22495324
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:13 +08:00
slasher
d3e06e797a
feat(rpc2): router add middlewares
...
. #22358085
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:13 +08:00
slasher
bcec11314d
feat(rpc2): make header stable if sent
...
. #22358085
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:13 +08:00
slasher
7c6f4031fe
feat(rpc2): request and response with crc checker
...
. #22358085
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:13 +08:00
slasher
5b64ccee13
feat(rpc2): transport keepalive with ping pong
...
. #22478859
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:13 +08:00
slasher
a554531ac6
feat(rpc2): add client connector and router
...
. #22358085
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:13 +08:00
slasher
2ccf906337
feat(rpc2): add server stream
...
. #22358085
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:13 +08:00
slasher
f4a5af920b
feat(rpc2): add client stream
...
. #22358085
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:13 +08:00
slasher
ece7650dea
feat(rpc2): add client request
...
. #22358085
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:13 +08:00
slasher
09d20443e9
feat(rpc2): add rpc2 transport with smux
...
. #22439641
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:13 +08:00
slasher
79323f8623
perf(util): add mutex with run function safely and try lock
...
. #22309205
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:13 +08:00
mawei029
4cfbf9e6d7
feat(access): sdk get blob, punish shard node
...
with: #22433440 of #22357707
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-07-08 11:30:13 +08:00
mawei029
7615877923
feat(bssdk): route shard manage, find shard. punish shard host
...
with: #22433410 of #22357707
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-07-08 11:30:13 +08:00
xiejian
5811746f43
feat(shardnode): support TransferShardLeader api, use suid index as ShardStats leaderIndex
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:13 +08:00
tangdeyi
d7e049fb2e
fix(clustermgr): refresh skips unavailable disks when building alloctor
...
. #22532584
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2025-07-08 11:30:13 +08:00
mawei029
0747a90254
feat(bssdk): init sdk, support shard node cluster. basic interface
...
with: #22433403 of #22357707
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-07-08 11:30:13 +08:00
slasher
576162ae21
fix(access): try to update volume in access request to blobnode
...
. #22411498
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:13 +08:00
xiejian
1b7b582fd1
feat(shardnode): define ShardStats with proto
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:13 +08:00
xiejian
64dbd0d4eb
feat(raft): group Stat() api support peer detail
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:13 +08:00
xiejian
1be349ac62
feat(shardnode): complete shardserver transport and support raft stat api
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:13 +08:00
tangdeyi
bca402c128
fix(clustermgr): shard report not use pointer
...
with #22433442
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2025-07-08 11:30:13 +08:00
tangdeyi
d235fccfec
feat(clustermgr): add get space by spaceID
...
. #22433442
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2025-07-08 11:30:13 +08:00
xiejian
809d081d09
feat(shardnode): add shard route version check and update
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:13 +08:00
xiejian
4dc732792f
feat(shardnode): modify the naming of api parameters
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:13 +08:00
xiejian
3ddbdba340
feat(shardnode): volume manager and shardnode service
...
1.init volume and bid manager for allocate blob slices
2.complete shardnode service init
3. init shardnode client
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:13 +08:00
tangdeyi
d9d0d004bc
feat(clustermgr): rename shard epoch to routeVersion
...
. #22416534
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2025-07-08 11:30:13 +08:00
xiejian
9107c71b36
fix(clustermgr): fix cm alloc chunks retry one more time
...
with: #22488148
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:13 +08:00
tangdeyi
3b348fa52c
feat(clustermgr): add shardnode space and route api
...
. #22433442
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2025-07-08 11:30:13 +08:00
tangdeyi
552cb2fd9f
feat(clustermgr): optimize drop node process
...
1. dropping node triggers dropping disk
2. node is set to dropped as all disks are either dropped or repaired
3. add disk is banned if node is dropping
with #22358259
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2025-07-08 11:30:13 +08:00
mawei029
5d2d90e9b9
refactor(blobnode): limit disk concurrency, ctx cancel read write
...
with: #22358329 of #22357713
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-07-08 11:30:12 +08:00
xiejian
1626e0f9fc
feat(api): init blob api proto, add missing license
...
with #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:12 +08:00
Cloudstriff
6b84ed7f32
feat(shardnode): fulfill shard node broken disk process and disk reopen process
...
with #22357426
Signed-off-by: Cloudstriff <chenjiongwendao@qq.com>
2025-07-08 11:30:12 +08:00
Cloudstriff
f3a83ecb47
style(shardnode): code static check and style refactor
...
with #22357426
Signed-off-by: Cloudstriff <chenjiongwendao@qq.com>
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:12 +08:00
Cloudstriff
94a53b6b97
feat(shardnode): shards report implements
...
with #22357426
Signed-off-by: Cloudstriff <chenjiongwendao@qq.com>
2025-07-08 11:30:12 +08:00
Cloudstriff
e7b3be5195
feat(api): shards report proto definition
...
with #22357426
Signed-off-by: Cloudstriff <chenjiongwendao@qq.com>
2025-07-08 11:30:12 +08:00
Cloudstriff
c06fdb8b3c
feat(shardnode): update shard and remove shard implements
...
with #22357426
Signed-off-by: Cloudstriff <chenjiongwendao@qq.com>
2025-07-08 11:30:12 +08:00
Cloudstriff
38fd15c74c
feat(raft): add clear raft data support on remove raft group progress
...
with #22357426
Signed-off-by: Cloudstriff <chenjiongwendao@qq.com>
2025-07-08 11:30:12 +08:00
xiejian
d6415c38f8
refactor(shardnode): fix code review problems
...
with: #22409856 of #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:12 +08:00
xiejian
eb1a280bc0
refactor(shardnode): update grpc version
...
with: #22409856 of #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:12 +08:00
xiejian
6627d67fd5
fix(shardnode): add item interface implementation, fix code merge problems
...
with: #22409856 of #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:12 +08:00
xiejian
917cc5efb9
fix(shardnode): fix catalog module code error
...
with: #22409856 of #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:12 +08:00
xiejian
725f4ec9e4
fix(shardnode): fix disk module code error
...
with: #22409856 of #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:12 +08:00
xiejian
52a7ca1efc
fix(shardnode): fix shard module code error
...
with: #22409856 of #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:12 +08:00
Cloudstriff
b065cdfde2
refactor(shardnode): do code refactor for shard request proto change
...
with #22357426
Signed-off-by: Cloudstriff <chenjiongwendao@qq.com>
2025-07-08 11:30:12 +08:00
Cloudstriff
29677b09be
feat(api): replace shard id with suid on shard request api proto
...
with #22357426
Signed-off-by: Cloudstriff <chenjiongwendao@qq.com>
2025-07-08 11:30:12 +08:00
Cloudstriff
a4562e5b8d
feat(shardnode): initial shardnode module code framework
...
with #22357426
Signed-off-by: Cloudstriff <chenjiongwendao@qq.com>
2025-07-08 11:30:12 +08:00
Cloudstriff
db9ffe9d1c
feat(util): add util function implements
...
with #22357426
Signed-off-by: Cloudstriff <chenjiongwendao@qq.com>
2025-07-08 11:30:12 +08:00
Cloudstriff
562c16fc63
feat(common): add multi raft implements
...
with #22357426
Signed-off-by: Cloudstriff <chenjiongwendao@qq.com>
2025-07-08 11:30:12 +08:00
xiejian
75bc515d0b
fix(common): update kvstorev2
...
with: #22409822 of #22357426
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:12 +08:00
tangdeyi
b7cade30e6
fix(clustermgr): basic clustermgr dev-branch for shardnode management
...
1. fix refactor code and test problem
2. add clustermgr api about shardnode and space
. #22360410
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2025-07-08 11:30:12 +08:00
Cloudstriff
792f3654eb
feat(api): add shard and shard constant definition
...
with #22357426
Signed-off-by: Cloudstriff <chenjiongwendao@qq.com>
2025-07-08 11:30:12 +08:00
Cloudstriff
c032cfa902
feat(api): fulfill clustermgr api proto
...
with #22357426
Signed-off-by: Cloudstriff <chenjiongwendao@qq.com>
2025-07-08 11:30:12 +08:00
Cloudstriff
a090a877d1
feat(all): add shard node role support on cluster manager
...
with #22357426
Signed-off-by: Cloudstriff <chenjiongwendao@qq.com>
2025-07-08 11:30:12 +08:00
slasher
c7d6b31fba
build(build): remove blobstore path in blobstore binary
...
. #22361741
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:11 +08:00
slasher
1d1efefa15
perf(util): add mutex with run function safely
...
. #22309205
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:11 +08:00
slasher
c65a4aa48b
perf(common): span assertion in object not interface
...
. #22361471
Benchmark_Span_Assertion
Benchmark_Span_Assertion/SpanImplement
Benchmark_Span_Assertion/SpanImplement-4 1000000000 0.5911 ns/op
Benchmark_Span_Assertion/SpanOperation
Benchmark_Span_Assertion/SpanOperation-4 1000000000 0.7124 ns/op
Benchmark_Span_Assertion/SpanInterface
Benchmark_Span_Assertion/SpanInterface-4 245477289 4.905 ns/op
Signed-off-by: slasher <shenjie1@oppo.com>
2025-07-08 11:30:11 +08:00
songguoliang
1c84e9503b
fix(master): fix master node data partition check dead lock problem
...
Signed-off-by: songguoliang <songguoliang@kuaishou.com>
2025-07-07 19:35:31 +08:00
NaturalSelect
627118cd8b
feat(cli): support change master leader by cmd
...
Signed-off-by: NaturalSelect <huangzhibin@xiaomi.com>
2025-06-27 14:49:32 +08:00
yanghonggang
7a116351bf
fix(blobstore): ensure Delete returns correct failed locations on error
...
Previously, the Delete method did not fully comply with its interface contract,
which states that it should return the list of locations that have not yet been
deleted when an error occurs.
This change ensures:
- When args are invalid (e.g., illegal Locations), returns (nil, ErrIllegalArguments),
as no deletion was attempted.
- For other errors, returns the list of failed or pending locations to allow proper
handling by the caller.
This improves consistency and helps callers handle partial failures correctly.
close #3851
Signed-off-by: yanghonggang <yanghonggang_yewu@cmss.chinamobile.com>
2025-06-25 15:17:55 +08:00
clinx
ab38b43203
fix(doc): cli Change flashGroup to flashgroup for en doc
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-06-17 19:32:59 +08:00
xiaojunxiang
d3ec3ba9d3
fix(flashgroup): doc, Change flashGroup to flashgroup, otherwise it will cause an error.
...
Signed-off-by: xiaojunxiang <xiaojunxiang@kingsoft.com>
2025-06-17 19:32:59 +08:00
slasher
cc45cc7270
test(crc32block): fix testing of range to next block
...
close : #3844
Signed-off-by: slasher <shenjie1@oppo.com>
2025-06-11 17:17:46 +08:00
slasher
7069ce0a84
chore(ci): check commit has consecutive spaces
...
@formatter:off
Signed-off-by: slasher <shenjie1@oppo.com>
2025-06-03 14:38:33 +08:00
slasher
89e599d7be
chore(docs): remove unusefull files
...
@formatter:off
Signed-off-by: slasher <shenjie1@oppo.com>
2025-06-03 14:08:15 +08:00
clinx
f36148c745
docs(docs): add title for flash document
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-06-03 09:54:07 +08:00
clinx
0bb17f21de
docs(docs): update change log for v3.5.1
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-05-28 20:12:16 +08:00
clinx
1a7cfcab37
docs(docs): update yum rpm to 3.5.1
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-05-28 11:22:36 +08:00
clinx
19db2687fc
fix(docs): Remove the description of redundant flash nodes
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-05-27 16:29:58 +08:00
Cloudstriff
3df63b1a3b
feat(all): add EC24P8 codemode for ocs archive
...
with #1000145875
Signed-off-by: Cloudstriff <chenjiongwendao@qq.com>
2025-05-27 15:00:15 +08:00
clinx
155f6e11e0
fix(docs): An error occurred while loading images in the 'File Pre-read' document
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-05-27 11:15:31 +08:00
clinx
4808a0dc5e
feat(docs): add docs about 3.5.1
...
Signed-off-by: clinx <chenlin1@oppo.com>
2025-05-27 09:53:51 +08:00
mawei029
44c168d562
fix(blobnode): fix the unstable test case, limit rate io
...
with: #1000102964
Signed-off-by: mawei029 <mawei2@oppo.com>
2025-05-23 17:10:05 +08:00
Cloudstriff
235ecdd073
fix(clustermgr): set oversold_free_chunk_cnt into 0 when reset oversold_chunk_ratio into 0
...
with #1000138128
Signed-off-by: Cloudstriff <chenjiongwendao@qq.com>
2025-05-23 15:03:02 +08:00
Cloudstriff
fa335af66d
fix(clustermgr): chunk ratio validation modify and increase report chunks num limit
...
with #1000088261
Signed-off-by: Cloudstriff <chenjiongwendao@qq.com>
2025-05-21 15:14:06 +08:00
xiejian
21d99fb9e8
fix(proxy): avoid no volumes in backup when first time switch
...
with: #1000128497
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-05-21 15:14:06 +08:00
Cloudstriff
1570264b3e
feat(blobnode): reset chunk dirty into 1 when blobnode restart to report all chunks
...
with #1000112253
Signed-off-by: Cloudstriff <chenjiongwendao@qq.com>
2025-05-21 15:14:06 +08:00
slasher
d521e6f3e3
feat(cli): load clusters from consul in cli, change config clusters to slice
...
. #1000118768
Signed-off-by: slasher <shenjie1@oppo.com>
2025-05-21 15:14:06 +08:00
xiejian
45796304f5
fix(proxy): avoid proxy request 0 volume from clustermgr
...
with: #1000118387
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-05-21 15:14:06 +08:00
slasher
f12bf4ab8b
docs(access): change access stream shard crc configs
...
. #1000114187
Signed-off-by: slasher <shenjie1@oppo.com>
2025-05-21 15:14:06 +08:00
slasher
0dd5cc376f
feat(access): check shard get crc in access
...
. #1000114187
Signed-off-by: slasher <shenjie1@oppo.com>
2025-05-21 15:14:06 +08:00
slasher
b6e0936257
feat(blobnode): do not return crc in range shard get
...
. #1000114180
Signed-off-by: slasher <shenjie1@oppo.com>
2025-05-21 15:14:06 +08:00
Cloudstriff
bc0af29d84
fix(clustermgr): fix list disk api return zero when chunk_oversold_ratio is set
...
with #1000112253
Signed-off-by: Cloudstriff <chenjiongwendao@qq.com>
2025-05-21 15:13:51 +08:00
xiejian
912efc5139
feat(proxy): alloc volume according to both volume space and volume num
...
with: #1000100021
Signed-off-by: xiejian <xiejian3@oppo.com>
2025-05-21 15:13:51 +08:00
zhangjianwei
1700359efe
feat(blobnode): add config to avoid hdd read iops when shard delete
...
with: #1000101801
Signed-off-by: zhangjianwei <jianwei1216@qq.com>
2025-05-21 15:13:32 +08:00
Cloudstriff
a28e1a56bc
fix(clustermgr): fix ChunkOversoldRatio and VolumeOverboughtRatio validation
...
add sys config swith case
with #1000088261
Signed-off-by: Cloudstriff <chenjiongwendao@qq.com>
2025-05-21 15:13:17 +08:00
Cloudstriff
20c3de884c
feat(blobnode): enable exceed the max chunk num in chunk create progress
...
with #1000088261
Signed-off-by: Cloudstriff <chenjiongwendao@qq.com>
2025-05-21 15:12:06 +08:00
Cloudstriff
14d37c87db
feat(blobnode): add global config getter for blobnode
...
with #1000088261
Signed-off-by: Cloudstriff <chenjiongwendao@qq.com>
2025-05-21 15:12:06 +08:00
Cloudstriff
319953c846
feat(clustermgr): add ChunkOversoldRatio and VolumeOverBoughtRatio support
...
with #1000088261
Signed-off-by: Cloudstriff <chenjiongwendao@qq.com>
2025-05-21 15:12:06 +08:00
baihailong
92360e00a7
feat(docs): add FAQ
...
@formatter:off
Signed-off-by: baihailong <baihailong@oppo.com>
2025-05-21 14:44:31 +08:00
slasher
b7692def89
chore(ci): list all commits and json to local file
...
@formatter:off
Signed-off-by: slasher <shenjie1@oppo.com>
2025-05-20 19:24:41 +08:00
heymingwei
ec6ca0af10
fix(blobstore): waiting apply snapshot finish when save new raft log
...
Signed-off-by: heymingwei <gongwilliam@163.com>
2025-05-20 11:38:58 +08:00
slasher
c5389d27ad
chore(.git_hub-2): check commit message with letters
...
@formatter:off
Signed-off-by: slasher <shenjie1@oppo.com>
2025-05-14 15:38:40 +08:00
zhangjianwei
6365c76349
fix(scheduler): adjust log levels to reduce unnecessary log output for blob_deleter
...
case-1: during period blobnode chunk compact, delete ops are not allowed,
so scheduler bloc_deleter will receive a large number of
`chunk is compacting` error logs when MarkDelete/Delete.
case-2: during period blobnode chunk migrating, delete ops are not allowed,
so scheduler blob_deleter will receive a large number of
`vuid readonly` error logs when MarkDelete/Delete.
Solution:
to reduce log pressure,
set ErrChunkInCompact/ErrReadonlyVUID to warning level
close #3794
Signed-off-by: zhangjianwei <jianwei1216@qq.com>
2025-05-13 15:36:04 +08:00
yanghonggang
d821466a1f
fix(blobstore): rename CodeNoAvaliableVolume to CodeNoCodemodeVolume
...
The previous error code 'CodeNoAvaliableVolume' (801) contained a typo
and was semantically ambiguous. To avoid confusion with the similarly
named 'CodeNoAvailableVolume' (917) from Clustermgr, it has been renamed
to 'CodeNoCodemodeVolume'.
Fixes : #3790
Signed-off-by: yanghonggang <yanghonggang_yewu@cmss.chinamobile.com>
2025-05-13 14:50:05 +08:00
slasher
59df85ac57
feat(dial): add dial testing for blobstore
...
@formatter:off
Signed-off-by: slasher <shenjie1@oppo.com>
2025-05-09 10:02:20 +08:00
slasher
be56f5aa66
perf(util): store pointer of bytes in bytespool
...
pkg: github.com/cubefs/cubefs/blobstore/util/bytespool
cpu: Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz
BenchmarkBytespoolSlice
BenchmarkBytespoolSlice-4 23023845 50.60 ns/op 29 B/op 1 allocs/op
BenchmarkBytespoolPointer
BenchmarkBytespoolPointer-4 60203656 18.60 ns/op 0 B/op 0 allocs/op
@formatter:off
close #3786
Signed-off-by: slasher <shenjie1@oppo.com>
2025-05-06 17:19:47 +08:00
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
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
gukaifeng
2e24163a51
fix(metanode): fsync the crc file after wirte
...
Signed-off-by: gukaifeng <gukaifeng@xiaomi.com>
Signed-off-by: slasher <shenjie1@oppo.com>
2025-01-08 18:01:42 +08:00
chihe
02b037cdc1
fix(doc): modify png path for blobstore
...
Signed-off-by: chihe <chihe@oppo.com>
2025-01-07 09:50:09 +08:00
baihailong
9a3794274c
feat(docs): add cubefs compiles arm version instructions.
...
Signed-off-by: baihailong <baihailong@oppo.com>
2025-01-03 10:10:34 +08:00
morphes1995
fb4f541413
feat(master): conf persist in rocksdb; if raft use diverse port, old version nodes can't register
...
Signed-off-by: morphes1995 <morphes1995@gmail.com>
2024-12-31 17:36:32 +08:00
morphes1995
ab398d669d
fix(master): RaftPartitionCanUsingDifferentPort make effective after and all dn/mn upgraded
...
Signed-off-by: morphes1995 <morphes1995@gmail.com>
2024-12-31 17:36:32 +08:00
morphes1995
bc08a804cb
feat(master): add param to limit replica location;once raft use diverse port, can't be changed
...
Signed-off-by: morphes1995 <morphes1995@gmail.com>
2024-12-31 17:36:32 +08:00
morphes1995
9a334cd7e8
feat(master): add param to control whether raft partition can use different port
...
Signed-off-by: morphes1995 <morphes1995@gmail.com>
2024-12-31 17:36:32 +08:00
morphes1995
00a3ee193f
fix(master): fix port inconsistent when create dp/mp during upgrading process
...
Signed-off-by: morphes1995 <morphes1995@gmail.com>
2024-12-31 17:36:32 +08:00
morphes1995
848384c2a2
feat(master): node selector try to select nodes locate on distinct machine
...
Signed-off-by: morphes1995 <morphes1995@gmail.com>
2024-12-31 17:36:32 +08:00
morphes1995
f4c7755316
feat(metanode): support multi metanode process using different port on single node
...
Signed-off-by: morphes1995 <morphes1995@gmail.com>
2024-12-31 17:36:32 +08:00
morphes1995
b23df49eca
feat(datanode): support multi datanode process using different port on single node
...
Signed-off-by: morphes1995 <morphes1995@gmail.com>
2024-12-31 17:36:32 +08:00
zhaoguangbao
2beb480989
fix(raft): fix apply not return pool.
...
Signed-off-by: zbb <zbb9528@gmail.com>
2024-12-30 10:43:50 +08:00
Victor1319
d07fb451f4
refactor(master): refactor go code with golint. #22906448
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
8bb0c20885
refactor(all): rename java code dir for codeql check . #22906448
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
8bb1131500
refactor(all): refactor go code with golint. #22906448
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +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
Victor1319
7c0e8fa470
fix(meta): use a read-write lock to prevent concurrent access to clustername. #22915506
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
173dc9dbe1
fix(datanode): datanode can be removed with discard dp
...
close:#22771554
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
dac1a12d0a
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
c384557efe
fix(meta): avoid panic when new export point. #22911241
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
041f312c6d
refactor(fsck): ignore timestamp validation and support compatibility with older versions. #22911241
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
67d5dab1db
fix(master): ignore abnormal dp when addVolStorageClass. #22908260
...
enable to skip check mp & dp forbidden status.
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
4c62f60ef1
fix(datanode): trigger disk error when read data from tiny extent
...
close:#22771554
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
zhumingze
911db95789
fix(datacmd): modify the alarm level of logLeftSpaceLimitRatio parameter parsing errors #22904699
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
9df314bceb
fix(client): if Current is renanmed, create it again
...
close:#22900926
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
2963ffff6f
fix(data): fix deadlock when load extent header from disk. #22900702
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
634e1abea3
fix(meta): add lock when range metapartitions. #22899488
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
154e7ba0d5
refactor(sdk): to avoid int range overflow in sdk retry logic. #22858505
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
77c2df26db
refactor(meta): avoid load mp failed when get vol info error. #22858505
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
89efec9e52
refactor(util): support delete audit log in log module. #22858505
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
ba48924d95
refactor(master): remove useless code. #22890822
...
eliminate security vulnerabilities in the code.
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
zhumingze
edaf7b6f93
feat(cli): support cli to view inode detail information by inode id. #22867405
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2024-12-26 09:24:22 +08:00
zhumingze
f57815426a
fix(util): change clean internal of audit log to 10s #22858505
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
1b15a549bc
fix(meta): update storage class as blobstore when file empty. #22883730
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
c9685d9713
fix(meta): execute sync func only when error is nil. #22883730
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
684ca7787f
fix(meta): use local reserved variable to replace var in inode. #22883730
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
tangdeyi
b7cf39a0c3
fix(objectnode): optimize the logic of createBucket
...
with #22863348
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2024-12-26 09:24:22 +08:00
leonrayang
b6ba24d842
refactor(meta): simplify calculation process of Quota for accuracy and performance
...
Close:#22788628
Signed-off-by: leonrayang <chl696@sina.com>
2024-12-26 09:24:22 +08:00
Victor1319
b78bc6ac2e
fix(sdk): fix client trash concurrent delete bug. #22862286
...
adjust trash dir lock lease time to 1 hour.
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
86e50fd1f5
refactor(meta): record error when RenewalForbiddenMigration failed.
...
#22871509
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
46fc3600aa
fix(trash) if rebuild dir failed ,retry next time
...
close:#22867890
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
18d79eb33c
fix(client): do not return when parent dir is created by other routinues
...
close:#22867890
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
1fdd359f56
fix(client): start schedule task for trash after metawrapper is initilized
...
close:#22867890
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
f9c00bb5c8
fix(meta): adjust the call order of the RegistConsul func to prevent concurrent modify to clustername.
...
#22873788
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
leonrayang
645076645a
feat(metanode): optimize the extend memory allocate process in storeExtend, marshal and unmarshal
...
close:#22788628
Signed-off-by: leonrayang <chl696@sina.com>
2024-12-26 09:24:22 +08:00
Victor1319
877954e167
refactor(meta): add txId in audit log for dentryOp. #22871509
...
refactor tx retry default cfg when tx is conflicted to over default timeout cfg.
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
ecc4444490
fix(master): modify logic for reporting metric for diskError
...
close:#22771554
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
zhumingze
498260102c
feat(util): set the default rotate size for audit logs to 1G #22858505
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
72e458fb73
fix(metanode): not close syncAtime chan. #22871509
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
baihailong
23bf2cd91f
fix(bcache): no cubefscache directory causes an error when starting bcache.#22870633
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
3b6905a825
fix(sdk): support refresh dir log automatically. #22862286
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
2cf7602bda
refactor(meta): refactor delete migration eks log. #22869219
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
d6630cb0e9
feat(sdk): use dir lock to prevent multiple trash from running concurrently. #22862286
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
edcad2d620
refactor(lcnode): rename variable name writeGen to leaseExpire. #22855673
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
zhumingze
306132d83d
fix(util): modify clean logic of audit log and add test case #22858505
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2024-12-26 09:24:22 +08:00
zhumingze
eec42fcec6
feat(cli): support cli to display vol used size based on dp media type #22853006
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
0b81daa151
refactor(meta): refactor client lease logic. #22855673
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
tangdeyi
3461b0873d
fix(objectnode): close volume loadOSSMeta task when volume is deleted
...
with #22861848
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2024-12-26 09:24:22 +08:00
zhumingze
1f5145a4a2
feat(fsck): add CheckMP command to detect inconsistency among mp copies #22779997
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2024-12-26 09:24:22 +08:00
zhumingze
18ae97d850
feat(cmd): enable pprof configuration for signle-node deployment #22779997
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
0a7b6fda95
fix(meta): to avoid write EXTENT_DEL_V2_xx header twice. #22860885
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
baihailong
14a53f9143
fix(libsdk): when start client NewStatistic one time.#22784741
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-12-26 09:24:22 +08:00
baihailong
78a4d47548
fix(sdk): optimize refreshSummary code.#22854234
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-12-26 09:24:22 +08:00
baihailong
791f044a45
fix(sdk): if not find inode of dentry when refreshSummary, skip it.#22828321
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-12-26 09:24:22 +08:00
baihailong
bc661949db
fix(skd): add total access file size.#22826411
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-12-26 09:24:22 +08:00
baihailong
97583eba3c
fix(skd): add directory access file info statistics of storage type.#22789777
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-12-26 09:24:22 +08:00
baihailong
d07f5c4fd0
fix(skd): add directory access file capacity statistics.#22784741
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-12-26 09:24:22 +08:00
baihailong
42b068c4e6
fix(sdk): optimize tool, use ReadDirLimit_ll instead of ReadDir_ll when get dentry.#22724074
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-12-26 09:24:22 +08:00
baihailong
43e1e007b7
fix(sdk): according to the access time statistics directory files.#22724074
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-12-26 09:24:22 +08:00
leonrayang
498f7ecbbc
feat(metanode): disable the process related to snapshots if snapshots are switched off
...
close:#22404072
Signed-off-by: leonrayang <chl696@sina.com>
2024-12-26 09:24:22 +08:00
Victor1319
b99f674824
feat(meta): support return real atime for batchIget api. #22853172
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
f9c2f49204
fix(meta): don't block extent delete req when no success exts. #22852635
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
e3abe5fc97
fix(master): update bcache report info. #22845037
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
02c720959b
fix(meta): when no error break for loop. #22832968
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
fa2e7a4cdf
feat(master): support report whether enable bcache for client. #22845037
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
a5be7f5c7b
fix(sdk): add panic log when invoke getRetryIntervalTimeOut.
...
#22840499
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
3a8f5eb3f8
feat(master): support query all client ip from master. #22834669
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
zhaochenyang
824098f801
refactor(lcnode): hybrid cloud lifecycle rule prefix check #22726594
...
Signed-off-by: zhaochenyang <zhaochenyang@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
d15462b427
fix(master): check zone type when add datanode node. #22832968
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
2030e66068
fix(meta): ignore get dp partitions error when create mp. #22832968
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Cloudstriff
c822f9de20
feat(rpc): add metrics filter config for auditlog
...
with #22357724
Signed-off-by: Cloudstriff <chenjiongwendao@qq.com>
2024-12-26 09:24:22 +08:00
Victor1319
ced8ca0978
feat(masterdata): add config to control whether vol read direct disk. #22818122
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
ab8217379e
refactor(datanode): refactor data read and write performance. #22504692
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
6e9caa9131
refactor(meta): refactor dir lock and unlock logic. #22659556
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
8a7a949f96
refactor(master): set forbidWriteOfProtoVer0 as true for new vol. #22825400
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
a3a34e787f
fix(master): fix RUnlock failed when invoke AllPartitionForbidVer0. #22822061
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
baihailong
b894dfa082
fix(bcache): fixed bcache server can start multiple processes.#22808275
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
1fa202e06d
refactor(sdk): for inner req, only support request mp leader . #22818553
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
baihailong
2015d02b78
fix(client): optimize bcache switch names and debug logs.#22814877
...
Signed-off-by: baihailong <baihailong@oppo.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
Victor1319
fba5a5d6f3
refactor(master): check vol forbidden write type when add vol storage class. #22814514
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
7c9e2aa7f9
fix(master): not show Unspecified storage class in allowed storage class. #22812125
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
3825cad310
refactor(sdk): support limit tiny extent buf size. #22811542
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
baihailong
d6c575eff4
fix(sdk): when enable bcache maybe leadto bad file descriptor.#22812246
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-12-26 09:24:22 +08:00
zhaochenyang
ad04648370
refactor(lcnode): hybrid cloud lc scanner skip trash dir #22797969
...
Signed-off-by: zhaochenyang <zhaochenyang@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
07762e229e
refactor(meta): use bufio to write sanpshot data. #22785311
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
d66aa8a296
refactor(meta): delete migrate extent key when delete inode. #22785311
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
leonrayang
45ff2bf46e
feat(metanode): optimize quota infomation storage to reduce usage of memory
...
close:#22788628
Signed-off-by: leonrayang <chl696@sina.com>
2024-12-26 09:24:22 +08:00
leonrayang
dd3fd9616c
feat(metanode): optimize memory usage of metanode, fields be allocted as needed in multi snapshot
...
close:#22785952
Signed-off-by: leonrayang <chl696@sina.com>
2024-12-26 09:24:22 +08:00
Victor1319
244eeee62b
refactor(meta): refactor migrate extent delete performance. #22785311
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
3c4c7ea65b
refactor(meta): refactor variable name. #22785311
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
e922b4336c
refactor(meta): reduce cpu cost for mp delete worker. #22785311
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
zhaochenyang
152d9b08f5
refactor(lcnode): hybrid cloud add auditlog for lc start stop and heartbeat #22771832
...
Signed-off-by: zhaochenyang <zhaochenyang@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
644508479e
feat(metasdkmaster): support read quoram when mp no leader. #22782472
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
447fcc1d61
fix(master): support meta follower read. #22782680
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
44d1d95161
fix(meta): fix some issue about compatiable. #22780321
...
1. remove useless code.
2. fix compatiable bug abount dataMediatType.
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
60401d3e87
refactor(meta): remove useless code. #22716915
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
8209e99634
feat(client): trash can be disabled by sdk
...
close:#22775703
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
5c43034c5f
fix(master): when performing meta-restoring, it is essential to check this action need to be executed.
...
close:#22771554
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
baihailong
4ab0642da0
fix(sdk): enable config bcache only for clod data.#22770439
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-12-26 09:24:22 +08:00
baihailong
531fe6abec
fix(client): enableBcache is invalid even if it was specified.#22770449
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-12-26 09:24:22 +08:00
zhumingze
830781858e
refactor(autofs): update default log and client path logic #22227137
...
Signed-off-by: zhumingze <zhumingze@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
40f7d2fc5c
fix(meta): return opErr when append migrate extent key. #22771173
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
c36d41d8a5
refactor(master): add log for master raft op. #22766129
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
0c09436c98
fix(metanode): remove invalid filed for repsonese of getInode
...
close:#22768285
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
zhaochenyang
2f5ba609e5
refactor(lcnode): hybrid cloud avoid heatbeat timeout during adding lcnode #22768923
...
Signed-off-by: zhaochenyang <zhaochenyang@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
a69ba6978f
fix(meta): fix unmarshal append inode bug. #22764528
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Reliey
96f4b0101b
feat(datanode): add endpoint for setting enablePid in exporter and handle response building #22257509
...
Signed-off-by: Reliey <zhumingze@oppo.com>
2024-12-26 09:24:22 +08:00
Reliey
ddfc4c29b8
feat(master): add http interface getOpLog for data processing #22257509
...
Signed-off-by: Reliey <zhumingze@oppo.com>
2024-12-26 09:24:22 +08:00
Reliey
5f3c6e2d4a
feat(cli): support reporting and viewing of cluster and vol dimension disk data #22257509
...
Signed-off-by: Reliey <zhumingze@oppo.com>
2024-12-26 09:24:22 +08:00
Reliey
3986329ed7
feat(mastercli): support datanode report dpOpLog and diskOpLog infomation. #22257509
...
Signed-off-by: Reliey <zhumingze@oppo.com>
2024-12-26 09:24:22 +08:00
Reliey
9ef9459cb3
test(stat): add testcase for statistic log when disk is full. #22637219
...
Signed-off-by: Reliey <zhumingze@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
a32476c9c5
fix(meta): fix unmarshal append inode bug. #22764528
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
bcf36ab04f
fix(metanode): modify log level for fsmInternalBatchFreeMigrationExtentKey
...
close:#22757889
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
0eecc1fd85
fix(cli): fix some tiny issues. #22727537
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
abc2ab5912
refactor(master): support double check master media cfg type. #22727537
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
6fee55eb98
fix(meta): process extent list req as cache for blobstore ino. #22726594
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
ad404e752f
feat(meta): hybrid cloud metanode quit starting if master not support the API getUpgradeCompatibleSettings
...
close:#22727537
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
7d22d9d451
feat(master): no allowed to start if config legacyDataMediaType not set correctly
...
close:#22716686
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
shuqiang-zheng
754d983c36
fix(meta): fix an unlocked error when getting the leader address and master address from the masterclient.
...
close:#22709182
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
2bfd708dcf
refactor(metanode): submit inode to free forbidden migration by batch
...
close:#22701675
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
623a671184
fix(meta): empty file not check storage class. #22735527
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
7ba5908e16
fix(ci): set master config enableDirectDeleteVol as true
...
close:#22716686
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
2bced8d337
refactor(datameta): hybrid cloud optimize some logs related to upgrade compatibility
...
close:#22716686
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
67ef6faefc
fix(raft): make the apply and apply snapshot processes mutually exclusive. #22720099
...
not truncate raft log before raft apply snapshot success.
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
692fa3e567
fix(meta): only file check storage class when unmarshal inode. #22735527
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
9f5fbba63b
refactor(master): refactor variable name from cap to quota. #22731703
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
1eca4bf9bc
fix(meta): avoid modify inode info in btree.#22575226
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
ce3439d199
feat(master): support replica storage quota limit.#22731703
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
2fc987ad17
refactor(meta): refactor metanode inodeGetWithAtime code. #22726594
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
5ca27c4483
refactor(master): suppor stat blob storage used. #22623271
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
168fa0418c
feat(mastermeta): add LegacyDataMediaType in master cluster values, and metaNode fetch it from master.
...
close:#22716686
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
716aa7970a
feat(masterdata): datanode quit starting if master returns mediaType not match when register
...
close:#22727852
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
87f06d51bb
refactor(master): support show vol used space group by media type. #22718093
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
07a9e70386
refactor(meta): support concurrent delete extent. #22716917
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
f134d2699c
fix(metanode): delete extent_del file when reach end of the file. #22706828
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
c6f2c51277
fix(metanode): recover panic when marshal inode failed. #22720099
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
97af707e01
refactor(meta): support compatible with v3.4.0. #22711062
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
1f704d8eea
fix(master): hybrid cloud correctly set legacy zone's dataMediaType by config legacyDataMediaType
...
#22699128
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
99beb68c32
fix(master): when create replica volume and replica-num is less than 3, auto set follower-read as true
...
close:#22701504
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
46b540ac7c
fix(master): avoid the Apply and Snapshot processes at the same time. #22660472
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
17b4921396
fix(fsck): fix nil pointer when get partition info
...
close:#22709584
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
zhaochenyang
d09a0d21e4
refactor(lcnode): hybrid cloud avoid panic if rule in doing is nil #22706069
...
Signed-off-by: zhaochenyang <zhaochenyang@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
c824423199
refactor(meta): pass atime when batch sync inodes atime. #22701675
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
c666468043
refactor(meta): support batch persist inode atime. #22701675
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
d59f4e0b84
fix(cli): if create replica volume and replica-num is assigned 1 or 2, set follower-read as true
...
close:#22701504
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
zhaochenyang
a4dd4dfa92
refactor(lcnode): hybrid cloud config lc start time and disable expiration #22653422
...
Signed-off-by: zhaochenyang <zhaochenyang@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
658b89a4d5
fix(meta): increase the timeout when fetch info from master in register and mp start procedure
...
close:#22677404
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
3706792e52
fix(master): add log for persisting apply index
...
close:#22660472
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
3e060881ca
test[java]: improve the operation types provided by TestCfsClient.java
...
close:#22687828
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
0a3f53cdfa
fix(client): client data modification is prohibited if renewal failed
...
close:#22676203
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
zhaochenyang
0eb8f4127d
refactor(lcnode): hybrid cloud admin lcnode auditlog #22675357 #22680253
...
Signed-off-by: zhaochenyang <zhaochenyang@oppo.com>
2024-12-26 09:24:22 +08:00
zhaochenyang
18cbae3922
refactor(lcnode): hybrid cloud check vol delete before lifecycle task start #22666520
...
Signed-off-by: zhaochenyang <zhaochenyang@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
90de1d5705
fix(master): interface AdminVolAddAllowedStorageClass correctly returns success
...
clsoe:#22665897
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
83580e76df
fix(sdk): avoid write on tiny extent handler again. #22657199
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
d9ae754e15
feat(master): if mediaType is 0 in /dataNode/add, set the mediaType as conf item legacyDataMediaType
...
close:#22395995
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
883b15189d
feat(metamastercli): hybrid cloud migration data usage statistics.
...
close:#22658297
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
c8de84516c
refactor(sdk): log print dataPartition count of mediaType when refresh and select dataPartition.
...
close:#22600758
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
f25aa0734d
feat(master): not allow a volume supports both replica storageClass and blobstore
...
close:#22395995
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
1452d45a88
feat(meta): put them into extent delete channel when deleting migration extents of type replica
...
close:#22605815
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
3677494108
refactor(sdk): support sleep before retry when write datanode failed. #22602256
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
zhaochenyang
f7a7ed66ee
refactor(lcnode): hybrid cloud lifecycle validity check #22653422
...
Signed-off-by: zhaochenyang <zhaochenyang@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
532d35a5f1
fix(sdk): set innerReq when init metawrapper. #22645132
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
53d939fad6
fix(datameta): use default value if master not support the API AdminGetVolListForbidWriteOpOfProtoVer0.
...
close:#22644059
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
fecf14f159
feat(lcnode): set inner req true when init lc scanner meta wrapper. #22639641
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
d4d65ab8a0
feat(meta): not modify atime when get extent list for inner req. #22639641
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
2694a71d5d
feat(meta): return real accessTime for lcnode get req. #22639636
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
63d0b94f57
feat(master): add an API to get volumes those set forbidden write op codes of protocaol version-0
...
close#22531837
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
baihailong
f56ef231a1
fix(sdk): classifiy statistic file size and count for refresher tool.#22490031
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-12-26 09:24:22 +08:00
baihailong
e9fb2da0b1
fix(libsdk): libsdk support interface for cubefs tools.#22490031
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
9f7ffeb194
feat(masterdatameta): support volume to forbidden write operate codes of lower packet protocol version
...
close#22531837
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
zhaochenyang
9d23e1660f
refactor(lcnode): hybrid cloud stop task if vol delete #22520059
...
Signed-off-by: zhaochenyang <zhaochenyang@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
a43f96d403
feat(dataclientmaster): support configuring datanode and metanode to forbidden
...
write operate codes of lower packet protocol version.
close#22531837
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
zhaochenyang
7fa4bb8992
refactor(lcnode): hybrid cloud memory optimization #22401401
...
Signed-off-by: zhaochenyang <zhaochenyang@oppo.com>
2024-12-26 09:24:22 +08:00
zhaochenyang
4939fa8f63
refactor(lcnode): hybrid cloud config use create time and log optimization #22616040
...
Signed-off-by: zhaochenyang <zhaochenyang@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
b65e2b7ca6
fix(meta): hybrid cloud not allow truncate if inode's actual storageClass is blob
...
close:#22571994
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
ca137d7c0d
fix(meta): hybrid cloud fix panic when print log in function UpdateExtentKeyAfterMigration
...
close:#22568588
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
ade3d22670
refactor(meta): hybrid cloud add storageClass validation check when inode.storageClass changes
...
##22542807
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
282bb4bde2
feat(master): if crossZone true, support degrade to create partitions when only one zone available
...
close:#22548189
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
zhaochenyang
aa716d9fc0
refactor(lcnode): hybrid cloud stop scan retry and log optimization #22515436 #22538171 #22543543
...
Signed-off-by: zhaochenyang <zhaochenyang@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
8c7acf9714
refactor(sdk): updateExtentKeyAfterMigration print only warn log if inode's lease is occupied
...
close:#22543543
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
71a04cd570
fix(master): reset mp replica's usage stat of storageClass if the metanode is not alive.
...
close:#22490158
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
0d12d07d03
fix(client): to access the right storageClass when inode has migrated to blobstore
...
close:#22506168
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
7a1c28fc85
fix(SDK): in function ExtentClient.Read, return if get extents failed.
...
#22476752
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
e21dbd7a0a
fix(metanode): if storage class is already the same with request, return directly
...
close:#22517222
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
037df5f5f9
fix(sdkclient): client compatible with older version server modules
...
#22400600
@formatter:off
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
zhaochenyang
56b4c27f7a
fix(lcnode): hybrid cloud support start one task and stop one task
...
#22423763
#22502668
Signed-off-by: zhaochenyang <zhaochenyang@oppo.com>
2024-12-26 09:24:22 +08:00
zhaochenyang
f385a3b49d
fix(lcnode): hybrid cloud delete vol done result when start vol task #22496315
...
Signed-off-by: zhaochenyang <zhaochenyang@oppo.com>
2024-12-26 09:24:22 +08:00
zhaochenyang
eca0d782fb
fix(lcnode): hybrid cloud support start vol task and stop vol task #22326199
...
Signed-off-by: zhaochenyang <zhaochenyang@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
daf4dd9d51
fix(lcNode): hybrid cloud set followerRead as false when create ExtentClient
...
#22481972
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
zhaochenyang
4e3e4752e0
fix(lcnode): hybrid cloud fix panic in setLcMetrics #22466527
...
Signed-off-by: zhaochenyang <zhaochenyang@oppo.com>
2024-12-26 09:24:22 +08:00
zhaochenyang
c496672d81
fix(lcnode): hybrid cloud task restart everyday and sync lc results #22449953 #22438986 #22454917
...
Signed-off-by: zhaochenyang <zhaochenyang@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
cc025affe3
refactor(client): hybrid cloud print warn log when OpMetaExtentsList returns proto.OpMismatchStorageClass
...
#22004328
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
57c8f26829
refactor(cli): hybrid cloud add storageClass tips in help messages
...
#22395995
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
42aaa6d19a
refactor(meta): hybrid cloud optimize meta log in UpdateExtentKeyAfterMigration()
...
#22395995
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
zhaochenyang
7346d24e74
fix(lcnode): hybrid cloud task continue if lcnode or master restart #22326221 #22322540
...
Signed-off-by: zhaochenyang <zhaochenyang@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
f9d8d69a29
fix(meta): after deletion migrate extents of an inode
...
push it back info free list if it is marked delete.
#22313098
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
e05a7c063e
refactor(meta): hybrid cloud optimize some error logging
...
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
zhaochenyang
744b001d5c
fix(lcnode): hybrid cloud new blobstore client only when migrating to blobstore #22404848
...
Signed-off-by: zhaochenyang <zhaochenyang@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
af298477f3
fix(master): check if volume's zoneName list has the resource when add allowed storageClass
...
#22395995
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
zhaochenyang
7ddd35e9ee
fix(lcnode): hybrid cloud optimize lcnode scanning #22347010 #22401484
...
Signed-off-by: zhaochenyang <zhaochenyang@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
00b4ccdbce
fix(meta): hybrid cloud if raft not leader when submit opFSMUpdateExtentKeyAfterMigration
...
response proto.OpAgain
#22332725
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
6e06157948
feat(metalcnode): meta API OpMetaUpdateExtentKeyAfterMigration replies err details to lcNode
...
lcNode will print it to audit log
#22327519
#22385058
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
e2e9943f47
feat(cli): while creating volume, auto set crossZone as true if assigned more than one zone.
...
#22376966
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
d1cbcb3d5e
fix(master): hybrid cloud while creating volume, check datapartiton count of specific meidaType.
...
#22377936
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
4d6ee74eb2
feat(meta): hybrid cloud metapartition can start when failed to create blobStore client
...
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
5c20dc2109
feat(client): hybrid cloud only create blobStore client when volume's storageClass is blobStore.
...
close #22338879
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
acbe17f966
feat(master): if crossZone is set but there is only one candidate zone
...
still create volume in the zone.
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
3c3874b238
fix(meta): hybrid cloud Optimize the error message in audit log of lcNode when OpMetaUpdateExtentKeyAfterMigration failed
...
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
131bdc4ae8
fix(master): fixed usage of lock dpMissingReplicaMutex in struct warningMetrics
...
#22295296
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
114fa4f0d6
fix(master): close chan stopc only once, to avoid panic
...
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
bfc9130b8e
fix(master): hybrid cloud when zoneName in datanode's conf file changed, make adjustments of topology.
...
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
zhaochenyang
0fe9b02796
fix(lcnode): hybrid cloud optimize lcnode auditlog #22295845
...
Signed-off-by: zhaochenyang <zhaochenyang@oppo.com>
2024-12-26 09:24:22 +08:00
zhaochenyang
da6467830a
fix(lcnode): hybrid cloud optimize conflict rule prefix #22311091
...
Signed-off-by: zhaochenyang <zhaochenyang@oppo.com>
2024-12-26 09:24:22 +08:00
zhaochenyang
bc8ef471bd
fix(lcnode): hybrid cloud optimize lcnodeInfo #22316398 #22326972
...
Signed-off-by: zhaochenyang <zhaochenyang@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
be1e6ba732
feat(master): hybrid cloud support assigning mediaType when manually create datapartiton.
...
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
d7503fb7b5
feat(master): hybrid cloud support cross zone when creating volume
...
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
NaturalSelect
3b9ef65dbe
chore(all): format code
...
@formatter:off
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-12-26 09:24:22 +08:00
NaturalSelect
7a63703de6
feat(master): hybrid cloud support query cluster storage class info
...
close : #22310366
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-12-26 09:24:22 +08:00
NaturalSelect
f029d45f6a
feat(cli): hybrid cloud support query vol hybrid storage info
...
close : #22304812 #22304800
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
014396bdf9
fix(gosdk): hybrid cloud modify gosdk to be compatible with hybrid cloud
...
#22196087
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
f0b73c1e48
feat(meta): hybrid cloud check if sortedExtents is the same when inode's storageClass
...
it the same with UpdateExtentKeyAfterMigrationRequest
@formatter:off
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
bf9e425de6
feat(master): hybrid cloud check destination datanode's media type must be the same
...
with the source node's when migration and decommission
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
9fd51b5119
fix(lcnode): hybrid cloud remove multiple registrations for /metrics
...
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
zhaochenyang
1d3fc46209
fix(lcnode): hybrid cloud fix panic in lcmgr scanning
...
Signed-off-by: zhaochenyang <zhaochenyang@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
c37b33479c
fix(master): hybrid cloud when manually migrate a datanode, target node's mediaType
...
must be the same with the source node's.
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
90a667e789
fix(master): hybrid cloud when adding a replica, target datanode's mediaType
...
must be the same with the datapartition's mediaType
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
0c57fa34a9
fix(client): if volume is cold and no datapartition, not print log in updateDataPartition
...
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
09259d999d
fix(sdk): hybrid cloud set VolCacheDpStorageClass when invoking NewExtentClient
...
#22196488
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
c57484daca
refactor(master): hybrid cloud refactor the check of createVolReq
...
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
36393590a2
fix(ci): hybrid cloud fix test case TestCreateVolWithDpCount
...
#22196488
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
0ec2d1c2b6
fix(cli): hybrid cloud show if the node is set as read-only when get node information
...
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
a137f68eb5
fix(meta): hybrid cloud when create root inode, set its storageClass as the volume's VolstorageClass
...
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
0173aa7e48
fix(master): hybrid cloud fix test cases of creating datapartitions
...
#22196488
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
ae18253359
fix(meta): hybrid cloud reduce debug log in function (*metaPartition).deleteWorker()
...
#22171638
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
3561f231ba
fix(cli): fix the display of the 'metapartition check' command of the cfs-cli tool
...
clsoe:#22152841
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
84b095887a
fix(metanode): hybrid cloud operation for CreateInfo should check storage class for client request
...
close:#22151482
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
zhaochenyang
ed9545c7a7
feat(lcnode): hybrid cloud add lcnode auditlog ( #22067931 )
...
Signed-off-by: zhaochenyang <zhaochenyang@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
cb588b1d42
fix(metanode): hybrid cloud if storage class for inode is already the same
...
with request for UpdateExtentKeyAfterMigration, return nil
close:#22112938
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
309d89f1a3
fix(meta): hybrid cloud check err when invoking (*Inode).UnmarshalInodeValue
...
close:#22112817
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
baihailong
23d03a0592
fix(sdk): revert some modify for sdk.#22148104
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-12-26 09:24:22 +08:00
baihailong
31ed67cb5e
fix(sdk): closeStream leadto panic. #22148104
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-12-26 09:24:22 +08:00
baihailong
7414081277
fix(sdk): hybrid cloud revert modify for streamer's multi server and fix in other way
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-12-26 09:24:22 +08:00
zhaochenyang
283c22f717
fix(lcnode): hybrid cloud 1. fix LcNodeInfoResponse panic; 2. set snapshot idleNodeCh
...
Signed-off-by: zhaochenyang <zhaochenyang@oppo.com>
2024-12-26 09:24:22 +08:00
zhaochenyang
3a0c807faf
fix(lcnode): hybrid cloud snapshot apply on lcnode
...
1. add firstDentry may cause panic if channel close
2. reset snapshot verinfos before add verinfo
3. add TaskResults in GetOneTask to avoid adding tasks repeatedly
4. support notify multi snapshot tasks
5. delete snapshot failed retry
Signed-off-by: zhaochenyang <zhaochenyang@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
e62a84fb95
fix(metanode): hybrid cloud when ek is nil but mek is not nil, no replacement occurs.
...
close:#22037699
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
d87bb469d4
fix(metanode): hybrid cloud reset the flag of inode when migration ek is deleted
...
close:#21959956
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
baihailong
0fc7a908e0
fix(sdk): hybrid cloud waitForFlush blocked leadto deadlock.
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-12-26 09:24:22 +08:00
baihailong
d33fc14119
fix(sdk): hybrid cloud add sdk debug log
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
b701abdf6a
fix(meta): if inode is dir, not allowed to set migrate extents in UpdateExtentKeyAfterMigration
...
close:#22076233
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
7af36c991a
fix(meta): if the storageClass of inode is the same as requested storageClass then return err.
...
close:#22067659
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
b34d8efcdb
fix(meta): hybrid cloud function TxCreateInode should reply the storageClass of the inode.
...
close:#22060598
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
zhaochenyang
bb6e16be21
fix(lcnode): hybrid cloud NewEbsClient when ebsAddr is not nil ( #22049286 )
...
Signed-off-by: zhaochenyang <zhaochenyang@oppo.com>
2024-12-26 09:24:22 +08:00
baihailong
3a4a9f4be9
fix(sdk): hybrid cloud one streamer has multi server maybe leadto bad file descriptor.#21989411
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
5c911b1cc0
fix(meta): hybrid cloud to correctly determine whether the inode should be deleted when unlink
...
close:#22037078
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
d7730f56ae
fix(meta): hybrid cloud in function MarshalInodeValue, write length 0 to buff if migrate sortedEks is nil
...
close:#22031037
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
d823d1f616
fix(meta): hybrid cloud set migrate storageClass in function fsmInternalDeleteMigrationExtentKey
...
close:#22029476
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
440058e0e5
fix(client): hybrid cloud assign open flags when opening file
...
close:#21969712
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
80ca15784b
fix(client): hybrid cloud fix migrate check condition
...
close:#21969712
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
cf4dadf5bd
fix(client): hybrid cloud create ebs reader or writer when storage class is changed
...
close:#21969712
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
3b5ab67dba
feat(client): hybrid cloud if storage class has been changed, do not raise err when reading file
...
close:#21969712
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
a010a7b39d
feat(fsck): hybrid cloud support scanning migrate-extent garbage
...
Signed-off-by: true1064 <true1063@163.com>
2024-12-26 09:24:22 +08:00
chihe
c642f0a29d
fix(client): hybrid cloud if file is stored in ebs, do not fetch extentkey list from metanode in lookup operation
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
b6443f3b2b
fix(clientmetanode): hybrid cloud remove duplicated logs for deleteMarkedInodes
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
9e688d76ae
fix(metanodeclient): hybrid cloud if encountering storage class mismatch error, do not retry
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
f97367ad20
refactor(metanode): hybrid cloud remove unnecessary code
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
c296833d8e
fix(metanode): hybrid cloud Save list element.prev pointer when the element is removed
...
Signed-off-by: chihe <chi.he@oppo.com>
2024-12-26 09:24:22 +08:00
zhaochenyang
318aca2758
fix(lcnode): hybrid cloud multipart migration to blobstore
...
Signed-off-by: zhaochenyang <zhaochenyang@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
7c185c7cf5
fix(client): hybrid cloud update file node cache if storage class had been changed
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
334200af1c
feat(metanode): hybrid cloud inode marshall support empty file
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
52f2317304
fix(metanode): support empty file migration
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
zhaochenyang
08665970fd
fix(lcnode): multipart migration to blobstore
...
Signed-off-by: zhaochenyang <zhaochenyang@oppo.com>
2024-12-26 09:24:22 +08:00
baijiaruo
582b6f19aa
fix(data): properly set the param isBackupWrite when invoking ExtentStore.Write()
...
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
ddfceda455
fix(metanode): hybrid cloud modify the logic of checking deferred deletion of migration extent key
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
zhaochenyang
cf5db8b6b6
fix(lcnode): hybrid cloud set delayDelMinute after migration
...
Signed-off-by: zhaochenyang <zhaochenyang@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
de7d0693b5
fix(metanode): hybrid cloud notify follower to delete migration ek if update migration ek failed
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
75658db207
fix(metanode): hybrid cloud Correct the type conversion error for logCurrentExtentKeys function
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
zhaochenyang
5b867906d2
fix(lcnode): hybrid cloud DeleteMigrationExtentKey before migration
...
Signed-off-by: zhaochenyang <zhaochenyang@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
698311248a
fix(master): hybrid cloud set ebsblockSize when add blobStore to volume's allowedStorageClass
...
Signed-off-by: true1064 <true1063@163.com>
2024-12-26 09:24:22 +08:00
true1064
ec1975db4c
fix(master): while creating a volume, if blobStore is in req.allowedStorageClass
...
but req.ebsBlockSize is not assigned, set it to default value.
Signed-off-by: true1064 <true1063@163.com>
2024-12-26 09:24:22 +08:00
chihe
13de007c2e
feat(metanode): optimize extentkey logging logic of fsmUpdateExtentKeyAfterMigration function
...
Signed-off-by: chihe <chi.he@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
d3f1d3d734
feat(master): hybrid cloud Support querying the inode count and used size of volumes and metapartitions by storage class.
...
Signed-off-by: true1064 <true1063@163.com>
2024-12-26 09:24:22 +08:00
chihe
21d4c73847
feat(metanode): hybrid cloud Support for deleting discard migration data
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
e9f6dca415
feat(metanode): hybrid cloud Delaying deletion of data before migration
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
044a94d26a
feat(metanode): hybrid cloud The deletion of inode support hybridcloud
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
4173cc9f4d
fix(master): hybrid cloud When updating a volume, ebsBlockSize can be modified if allowedStorageClass contains blobstore.
...
Signed-off-by: true1064 <true1063@163.com>
2024-12-26 09:24:22 +08:00
chihe
0bf7b9b83e
fix(client): hybrid cloud update openforwrite for reused streamer
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
zhaochenyang
ae018c58cd
refactor(lcnode): hybrid cloud add start time in heartbeat
...
Signed-off-by: zhaochenyang <zhaochenyang@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
576d4ce771
refactor(clientmetanode): hybrid cloud add debug log to check opMetaExtentsList value
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
7a0f5d43bd
fix(metanode): hybrid cloud copy storage class from HybridCouldExtentsMigration of inode when executing migration
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
30b8a98bbf
fix(metanode): hybrid cloud Copy WriteGeneration and ForbiddenMigration when getting inode from btree
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
5f5fd78af9
fix(metanode): hybrid cloud fix writeGen rollback to 0
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
zhaochenyang
d207dcc6fe
refactor(lcnode): hybrid cloud fix lcnode log
...
Signed-off-by: zhaochenyang <zhaochenyang@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
94dcb991db
feat(metanode): hybrid cloud add audit log for migration
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
d9c01f0af5
fix(client): hybrid cloud Fix some places where the original condition
...
should be changed to "vol storageClass is blobstore".
Adds field volStorageClass to ExtentClient for this purpose.
Remove field volumeType from ExtentClient by the way.
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
5baafaef59
feat(meta): hybrid cloud provide an API to modify inode's ctime, for debug/test purpose.
...
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
zhaochenyang
75925990f1
refactor(lcnode): hybrid cloud lifecycle transition
...
1. add debug service
Signed-off-by: zhaochenyang <zhaochenyang@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
a62522f2f5
feat(meta): handle compatibility when old client send create request without field StorageClass
...
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
3de7e847a9
feat(master): handle compatibility of master when older version upgrade to hybrid cloud:
...
(1) auto set mediaType of datanode, zone, datapartiton by config legacy "legacyDataMediaType" and persist;
(2) auto set storageClass of volume by config legacy "legacyDataMediaType" and persist;
(3) if need to rollback master to older version, need to do nothing, just replace to old master and restart. because hybrid cloud master only add new fields to meta by not changed old fields.
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
88567fbf65
fix(master): hybrid cloud if vol.volStorageClass is blobStore, add allowedStorageClass is forbidden.
...
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
6f6ea34f2a
fix(master): hybrid cloud amend the way judging if the volume has snapshot version, in update allowedStorageClass procedure.
...
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
a2c2d4a704
fix(metanode): hybrid cloud assign migration hdd ek in UpdateExtentKeyAfterMigration
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
zhaochenyang
4c73097a3d
refactor(lcnode): hybrid cloud lifecycle transition
...
1. close extent client
2. use StorageClass_Replica_HDD and StorageClass_BlobStore
3. scanner init AllowedStorageClass
4. enhance lifecycle parameter check
5. add extent client for write
Signed-off-by: zhaochenyang <zhaochenyang@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
eb2d65002b
refactor(metanode): hybrid cloud 1.Simplify the logic of updating extent key after migration
...
2. reset inode reserved when excute marshall operation
3. initial ebs client in mp
4. remove cold vol or hot vol check in client and objectnode
Signed-off-by: chihe <chi.he@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
5f4ee4eacb
fix(metanode): hybrid cloud fix bug when update extent key after migration
...
Signed-off-by: chihe <chi.he@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
505015cd17
refactor(metanode): hybrid cloud add api for get full inode infomation include eks
...
Signed-off-by: chihe <chi.he@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
f637d0cc19
fix(metanode): hybrid cloud check sortedEks is nil when excute fsmAppendExtentsWithCheck
...
Signed-off-by: chihe <chi.he@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
0bc93129de
refactor(client): hybrid cloud only file opened with write request needs to forbidden migration
...
Signed-off-by: chihe <chi.he@oppo.com>
2024-12-26 09:24:22 +08:00
zhaochenyang
d89812aaf0
feat(lcnode): hybrid cloud lifecycle transition
...
Signed-off-by: zhaochenyang <zhaochenyang@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
284ca0d211
feat(metanodeclient): hybrid cloud support hybridcloud data migration
...
Signed-off-by: chihe <chi.he@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
35ed550795
feat(master): hybrid cloud forbidden AdminCreateVersion API because hybrid cloud not support snapshot version yet
...
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
8a5bc8583a
feat(master):make the snapshot version and multiple storageClass mutually exclusive in a volume.
...
Because now multiple allowedStorageClass can not support snapshot version.
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
9d2bf3b483
feat(mastercli): add API to add storageClass to volume's allowedStorageClass list
...
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
5bcc78bb43
fix(master): in create vol procedure, update datapartition view cache right after the creation of datapartitions
...
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
5936cdfe8d
fix(master): amend some logs
...
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
443199e0b0
fix(client): hybrid cloud only clear dp when volume storage class is blobstore
...
Signed-off-by: chihe <chi.he@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
1f227e722c
fix(master): in create volume, sort allowedStorageClass after check if append volStorageClass info
...
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
10685ceba0
fix(master): when updateVol, check that req.VolStorageClass should be in vol.allowedStorageClass
...
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
d250c3041a
fix(master): check if the cluster has resource to support req.VolStorageClass when create vol
...
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
f04993070b
fix(master): some fix about datapartition creation
...
(1) while creating dp in vol creation, check dp count by mediaType to judge if success.
(2) when background periodical check if need to create dp, skip volumes whose createTime is too recently, to avoid background create dp while volume is creating.
(3) display mediaType of dp in cfs-cli cmd "volume info -d"
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
9d0d2c9fef
feat(master): hybrid cloud sort AllowedStorageClass[] while creating volume
...
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
1cdf8fcd39
fix(metanode): hybrid cloud fix log panic in function of deleteMarkedEBSInodes
...
Signed-off-by: chihe <chi.he@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
51554785e3
fix(master): hybrid cloud not set zoneName as default value if not assigned in the create vol request.
...
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
4815a61444
fix(client): hybrid cloud fix bug about checking media type of dp
...
Signed-off-by: chihe <chi.he@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
3373c73b4f
fix(master): ybrid cloud not use var pointer dataNode if not got it from cluster, to avoid panic
...
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
7a7b663b6c
feat(mastercli): hybrid cloud vol.volStorageClass can be changed by "cfs-cli volume update"
...
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
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
true1064
1f9dab0eda
feat(masterclientpreload): add property CacheDpStorageClass to volume.
...
CacheDpStorageClass is used to inform SDK which storageClass to use when access cache dp.
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
92d1d54832
feat(master): volume supports multi mediaType based on the refactored codes from v3.4.0
...
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
14d7e0e19c
feat(masterclientcli): hybrid cloud add property mediaType to datapartition
...
(1)master: when creating vol, master creates dps of each mediaType according to vol.allowedStorageClass
(2)client: when select dp to do append write, choose dp with spcific mediaType according to inode's storageClass
Signed-off-by: true1064 <tangjingyu@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
true1064
3081a30168
feat(master): hybrid cloud add mediaType property to zone
...
(1) zone mediaType is set as the first add-in datanode's mediaType
(2) once zone mediaType is set, all datanodes in the zone must be the same mediaType.
(3) the cmd 'cfs-cli zone info' shows zone mediaType.
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
029d1b359e
feat(clientmetanode): hybrid cloud support change inode storageclass when updating ek
...
Signed-off-by: chihe <chi.he@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
chihe
e1442f7de1
feat(clientmetanode): hybrid cloud support renewal inode forbidden migration
...
Signed-off-by: chihe <chi.he@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
7211b09cd6
feat(meta): hybrid cloud inode supprot hybrid-clound
...
2.client read/write support hybrid-clound
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
Victor1319
fd428b4706
refactor(master): fix confilcts when pick 3.4.0. #22906448
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
dee812aded
fix(master): canAllocDp compatible with 3.4.0 before
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
bff1bbca48
fix(metanode): inodeOnce marshall compatible with meta 3.3.2
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
baihailong
1d196732dc
fix(client): enableBcache is invalid even if it was specified.
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-12-26 09:24:22 +08:00
leonrayang
9c6438e631
feat(metanode): optimize quota infomation storage to reduce usage of memory
...
Signed-off-by: leonrayang <chl696@sina.com>
2024-12-26 09:24:22 +08:00
leonrayang
65cb8077e4
feat(metanode): optimize memory usage of metanode for multi snapshit
...
Signed-off-by: leonrayang <chl696@sina.com>
2024-12-26 09:24:22 +08:00
chihe
68a27c700d
fix(client): goroutine for trash to build parent dir would not quit
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
1e8ffbeb73
refactor(client): if subdir is empty from cfg file, use cfg from option.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
b57d898709
fix(doc): fix path for cfs-arch-ec.png
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
60dbc1ac30
feat(docs): update Governance related documentation
...
1. Clarify the responsibilities of the TSC, maintainers, and committers.
2. Fix the issue in security reporting as incorrect email address for reporting vulnerabilities.
3. Clarify the governace of SIGs
4. Add a link to the governance section in README.md for emphasis.
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
cf07bf261d
fix(master): check quotaManager for vol when executing ListQuota
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
e4ebd42ae0
fix(metanode): delete extent_del file when reach end of the file.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
1113795e49
fix(meta): reset reserved flag when marshal inode.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
8faf83077f
fix(meta): consider snapshot ver when unmarshal extents
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
8f9035c3a1
fix(meta): inode unmarshal logic is compatible with subsequent versions.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
bae8527daa
fix(meta): check error when unmarshal inode value.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
d858cc505b
fix(metanode): do not update Accesstime when excuting getInodeTopLayer
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
c43dd5eda2
fix(metanod): if clusterEnableSnapshot is not enbale, do not apply VersionOp
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
d3912d2042
fix(datanode): check initPartitionSize when calculating progress
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
46930ab462
refactor(raft): use decimal format to print number in raft log.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
1d79c40a29
refactor(raft): use decimal format to print number in raft log.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
cuishuang
a9c6e74bbf
fix(util): fix slice init length
...
Signed-off-by: cuishuang <imcusg@gmail.com>
2024-12-26 09:24:22 +08:00
leonrayang
7558f203ec
feat(metanode): enable metanode with version 3.4.0 compatible with master 3.3.2
...
Signed-off-by: leonrayang <chl696@sina.com>
2024-12-26 09:24:22 +08:00
leonrayang
fc71116a51
fix(client): enable Datanode with version 3.3.2 compatible with client 3.4.0
...
Signed-off-by: leonrayang <chl696@sina.com>
2024-12-26 09:24:22 +08:00
leonrayang
0647717f79
fix(client): enable Client with version 3.4.0 compatible with 3.3.2
...
Signed-off-by: leonrayang <chl696@sina.com>
2024-12-26 09:24:22 +08:00
chihe
5dbd5ba05e
fix(master): compatible with 3.3.2 metanode(used for memory)
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
26a1a160b4
fix(master): only check offline with old version datanode
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
852dafafd2
fix(datanode): if dpBackupTimeout is not set, then do not delete back up directories.
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
leonrayang
111f9e9903
feat(dataemeta): cluster switch on snapshot take effect on module handle protocal process
...
Signed-off-by: leonrayang <chl696@sina.com>
2024-12-26 09:24:22 +08:00
leonrayang
d4d64fb931
feat(metanode): enable rollback from 3.4.0 to 3.3.2
...
1) Add protocal opFSMSentToChanWithVer, enable compatible during update version because []proto.ExtentKey has no version info
2) Update inode marshal and unmarshal process, do not persist version 3 flag if not eable snapshot
Signed-off-by: leonrayang <chl696@sina.com>
2024-12-26 09:24:22 +08:00
baihailong
003aa07305
fix(client): failure to mount other directories when the mount point is abnormal.
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-12-26 09:24:22 +08:00
baihailong
a3a05ee4bd
fix(client): alarm the mount point has been mounted incorrectly.
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-12-26 09:24:22 +08:00
leonrayang
f761097bde
fix(master): set the cluster's stop channel to nil upon receiving the signal to prevent it from running again
...
Signed-off-by: leonrayang <chl696@sina.com>
2024-12-26 09:24:22 +08:00
chihe
cd73e762e4
fix(datanode): iterating through the cache of dps and disks when stopping space manager
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
leonrayang
0be1a11ad7
fix(master): some goroutines are stateless and do not require waiting for their transfer to a stopped state
...
Signed-off-by: leonrayang <chl696@sina.com>
2024-12-26 09:24:22 +08:00
leonrayang
fc5ac71931
fix(master): enable master exit process more ellgantly
...
Signed-off-by: leonrayang <chl696@sina.com>
2024-12-26 09:24:22 +08:00
chihe
6f3872f6db
fix(client): when creating extent failed for disk full, remove dp from selector
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
cd5376cc20
fix(datanode): launch sechedule for raft log before staring raft when loading dp
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
1442c33a29
fix(master): if the replica being decommissioned is the one intended for decommissioning, no error is reported.
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
1888c9b8a8
fix(raft): if the previous member change did not return, reject the submission of the next member change
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
443b18aa28
fix(master): delete decommission disk from rocksdb when datanode is decommissioned
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
448ab8e54f
test(data): add testcase for datanode op log when disk is full.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
leonrayang
b1cadb29d1
fix(client): client's extents cache should not be forcefully updated that may ignore the ek on flight in some scenarios
...
Signed-off-by: leonrayang <chl696@sina.com>
2024-12-26 09:24:22 +08:00
baihailong
845f106a8a
fix(sdk): client update extents from meta and drop extents in cache leadto ek conflict.
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
2ea78a48f1
fix(datanode): if reading applyid fails when loading dp, then delete from disk cache
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
ab6d34d481
fix(datanode): use lock for getPartitionsAPI
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
c52f8b35eb
fix(master): release token before resetting decommission dst
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
a3fb3d301b
fix(master): if the decommission fails and requires retry, set the status to 'mark' only at the end of the decommission function
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
ac54435341
feat(datanode): increasing retry interval when DataNode connects to Master during startup.
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
leonrayang
3dfdcf354e
feat(master): improve the exit process in multiple goroutines to ensure proper resource cleanup and graceful shutdown.
...
Signed-off-by: leonrayang <chl696@sina.com>
2024-12-26 09:24:22 +08:00
chihe
a831f1e5a7
fix(mater): delete decommission disk record form rocksdb
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
65ce9f8b7c
fix(master): deadlock for datanode and nodeset
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
8a76004126
fix(master): exiting the decommmission goroutine when leader is changed
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
baihailong
1a003718ee
fix(client): check whether the mountpoint has been mounted when mounting.
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
36076b8cd8
fix(master): fix deadlock for deleteMissingDp
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
2645319183
fix(data): donot persist applyId by raftForce
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
96dd26f01a
fix(master): the dp's zone selection logic supports decommission operations.
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
716044fd94
fix(master): when setting a RestoreReplica operation to fail
...
check if another replica is currently undergoing the offline process.
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
b8742d469a
fix(master): use lock to set dp markDecommission
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
leonrayang
78bbb209f2
feat(datanode): enhance the preformace of the stat for disk opertion
...
Signed-off-by: leonrayang <chl696@sina.com>
2024-12-26 09:24:22 +08:00
W9068822
6e51516a8c
feat(stat): datanode disk and dp operation log
...
Signed-off-by: W9068822 <v-lijianrong1@oppo.com>
2024-12-26 09:24:22 +08:00
leonrayang
82666bb21a
feat(clientmaster): enable clients to report their version and flow information to the master
...
Signed-off-by: leonrayang <chl696@sina.com>
2024-12-26 09:24:22 +08:00
chihe
eb5787a7b3
fix(master): traverse all nodesets to check if dp is decommissioning
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
64afe661cb
fix(master): do not check size of datanode when retrying to decommission special replica
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
ef8183b648
fix(cli): remove unnecessary commands for cli
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
baihailong
f0e631799e
fix(sdk): client update extents from meta and drop extents in cache leadto ek conflict.
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
c3131b01f9
fix(datanode): use dp leader real size as to be repaired size.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
323133a9f9
fix(datanode): return error if receive OpDeleteDataPartition when disks are not loaded
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
39c07de007
fix(sdk): return err if getting extents failed in function ExtentClient
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
leonrayang
4428c3b64c
feat(master): enhance the effectiveness of log output
...
Signed-off-by: leonrayang <chl696@sina.com>
2024-12-26 09:24:22 +08:00
leonrayang
043b559ba4
fix(master): use the largest volume ID in load vols process
...
Signed-off-by: leonrayang <chl696@sina.com>
2024-12-26 09:24:22 +08:00
chihe
53107ee952
fix(datanode): modifying the regular expression for backup directory:
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
61e0ab3aa6
fix(master): fix deadlock for getDataPartitionsView
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
da33bc2068
feat(cli): support raftForce for datanode decommission by cfs-cli
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
46157d2c06
refactor(all): resolve conflict when pick commit from 3.3.2 to 3.4.0.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
79579bacd2
fix(data): check response reqId to avoid data painc.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
493795f8db
fix(master): reset bad dp report info after dp recover.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
27c66007c5
refactor(master): report datanode count which can alloc dp.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
a792521c86
refactor(master): add replica num label when report dp no leader metrics.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
2ba73be6be
feat(master): add vol total count metric info.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
7b979b17e6
fix(data): fix delete gc data failed bug.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
d3fa6c9244
fix(metanode): fix tx bug in concurrent use case.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
79ce6ff6cf
refactor(master): reduce dp&mp detail report info
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
5ef3f6c59b
refactor(master): reduce prometheus metrics count for master.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
69ca9cd0f4
fix(metanode): only sync at among replicas when inode is not nil
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
3a4a54f3bc
fix(cli): use macro value instead of hard code
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
f5484d9d98
fix(master): fix the bug that reset transaction info when update vol info.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
b1b5d5bd2b
fix(meta): fix panic bug when delete empty dentry info.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
b5252646d0
refactor(cli): refactor cli hint message when update transaction info.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
716e489036
fix(master): return no leader for request before master change leader success.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
c869155d09
fix(master): fix http pool test case fail bug.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
a305b32b9c
feat(master): cli support setting for persistting accessTime
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
136ee9704e
fix(master): persist accesstimeInterval and EnablePersistAccessTime
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
6970b4570d
feat(master): support set trashInterval with cli
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
be565f6609
refactor(server): refactor http connect pool when comminute with master.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
leonrayang
f721730cfb
feat(client): reduce the massive getVol request from Quota routine
...
Signed-off-by: leonrayang <chl696@sina.com>
2024-12-26 09:24:22 +08:00
chihe
a487a828b4
feat(master): api for enable/disbale persist for accesstime
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
0f64f5010e
feat(master): api for setting accesstime vaild interval by vol
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
58194e8f36
feat(metanode): add sdk for querying accesstime of inode
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
e92c00b752
feat(metanode): persist accesstime by raft
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
leonrayang
93c516105f
fix(master): simplify the process of followe read jugement and resolve issues
...
Signed-off-by: leonrayang <chl696@sina.com>
2024-12-26 09:24:22 +08:00
Victor1319
88e0dc05dd
fix(master): fix some potential deadlock issues.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
a2bc46218b
fix(meta): fix delete dentry conflict with tx bug.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
80d6990c09
fix(datanode): check if host[0] exist when creating repair task
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
52c74006fe
fix(datanode): stop raft if replica is deleted when StartRaftAfterRepair is finished
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
89af159e54
fix(master): remove replica on decommission dst by force when rolling back
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
68d6b4d09d
fix(master): get disk path for replica when getting info for datanode
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
45686739d8
fix(datanode): use localServerAddr instead of replica[0]
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
808b47bddb
fix(master): reset ignoreDecommissionDps when marking disk decommission
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
shuqiang-zheng
aefb1b2bd9
refactor(cli): update instructions for freezing clusters
...
@formatter:off
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
2313a509a7
fix(raft): set no leader for the application layer when raft stopped by panic.
...
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
c9b97d24a2
fix(master): reset RestoreReplica when resetting decommission status
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
f70f1ee08c
fix(master): fix dead lock by getting copy of dp map
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
51240b319e
fix(master): donot reset decommission status for datanode
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
efcc3ae581
feat(master): add a new schedule task for checking meta for replica meta
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
3ca9065975
fix(master): remove redundate replica from partition.replicas on master
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
2fb56e7282
feat(master): auto delete backup directories
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
tangdeyi
7ae6457821
fix(objectnode): separate read and write buffers
...
with
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
54e2526793
fix(datanode): delete backup directories by async
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
fa25b696ee
fix(master): do not persist disk status when querying progress
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
1f16566a92
fix(data): correctly determine the extent type in function handleBatchMarkDeletePacket
...
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
leonrayang
d6e066f899
fix(util): improve the code style according to warnings from code check
2024-12-26 09:24:22 +08:00
chihe
78c6f40829
fix(master): return timeout error for setting restore replica status
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
a348b6acb3
feat(master): api for removing backup directories on disk
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
8d68de0acc
fix(datanode): reduce the locking time when building heart beat
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
a2da2149c3
fix(master): only show running and failed decommisison disk when executing queryAllDecommissionDisk
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
leonrayang
65acca7fdd
fix(datanode): write process skip check between offset and dataSize while do repair
...
Signed-off-by: leonrayang <chl696@sina.com>
2024-12-26 09:24:22 +08:00
leonrayang
ed7fc8d2af
feat(master): add the switch for function of volume snapshot management
...
Signed-off-by: leonrayang <chl696@sina.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
chihe
c3a2fb153c
fix(datanode): to accelerate the traversal of dp by goroutines
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
51cce6dd7d
feat(master): add disk info when executing queryDecommissionToken
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
3bd78424ba
fix(master): special replica dp with raftForce hungs in checking status of new replica
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
eedea5771e
fix(datanode): remove extent from extentInfoMap if extent is deleted
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
bf9fdff28d
feat(master): save previous decommission error msg when decommissioning another replica
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
dd9b9be7f5
fix(datanode): remove dp 0 from disk error set when recovering disk err
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
a2724225ec
fix(master): enable disk when excuting datnode cancel decommission
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
44f9fce264
fix(master): when rolling back special replica dp.
...
only need to delete decommission src if new replica is recovered
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
baihailong
e07aeac619
fix(fuse): if vol name not match regexp when mount, return failed immediately.
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
6cc809434a
fix(master): initialize reportTime for datanode when leader changed
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
shuqiang-zheng
2a9d99bdf9
fix(datanode): remove the gc operation to reduce the time required to create a dp.
...
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
eb1daccedc
fix(master): show ignore decommission dp when displaying decommission progress for dataNode
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
a8d8c96072
fix(master): do not delete decommission disk from list when recover task is submitted
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
d479a79f73
fix(master): optimize the calculation of datanode decommission progress
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
0ffe25c31d
fix(datanode): reload dp by parallelism during recovering bad disk
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
67f5db91ce
fix(datanode): only print root path in log
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
7d05d431e6
fix(datanode): optimize the process of constructing heartbeat packets.
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
8ad898a1e4
fix(master): modify logic of updateDecommissionStatus for datanode
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
39d2baa37e
feat(master): add requestID for sending admin task
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
69f6960be9
fix(metanode): fix the issue that can't clear data when delete inode.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
baihailong
8f48f3ac85
fix(client): if vol not exists, mount return failed immediately.
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
f02d60be3d
fix(master): remove disk from decommission list if it is recoverd
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
bb0f337f9e
fix(master): do not decommission disk with cancel status
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
7a29ac6ba1
fix(datanode): reset diskErrorCnt when recovering bad disk
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
baihailong
21463372eb
fix(client): when volume is deleted, cfs-client need to exit.
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
bc2867049f
fix(datanode): fix panic raised by function of ExistDir
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
3d2137e545
refactor(client): reduce buffer chan size to reduce memory when client idle.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
ac5cde2a05
fix(client): fix the issuse of continuous memory growth on client side.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
43d8903d10
fix(master): skip auto add replica when dp lost leader
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
292f2abd45
feat(master): add api for recovering bad disk
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
baihailong
75f8f1e07a
fix(sdk): access nil pointer leadto cfs-client exit.
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
0e7ab29565
refactor(client): add config to control stream op max timeout.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
b0faae7248
refactor(client): amplify retry interval once overwrite failed to avoid disk io busy.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
c297ded67e
fix(master): mark disk as disabled when decommissioning disk
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
857d71602a
refactor(data): use tryRun to limit delete io.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
c11b55c18b
refactor(client): refactor random write retry strategy.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
NaturalSelect
d9ee4e5130
feat(data): limit memory used
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-12-26 09:24:22 +08:00
NaturalSelect
313c9b0448
fix(master): cluster info show readable time
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-12-26 09:24:22 +08:00
leonrayang
1b9b48f846
refactor(master): refactor the code of vol struct and cluster struct
...
:
Signed-off-by: leonrayang <chl696@sina.com>
2024-12-26 09:24:22 +08:00
NaturalSelect
c551e5dbc2
fix(data): return limited io if failed to delete batch extents
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-12-26 09:24:22 +08:00
NaturalSelect
6aa160552c
feat(master): persist datanode bad disk
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
f36c40c07f
fix(master):if all replica is unvaliable, mark dp as failed
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
942adaed7d
feat(datanode): add debug log for heartbeat
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
NaturalSelect
5365949f7c
feat(master): support config decommission settings
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-12-26 09:24:22 +08:00
NaturalSelect
8386685205
feat(master): parallelism check dp meta
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
8401562ef6
fix(master): only choose from the specific zone in function canWriteForNode
...
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
54402d030a
fix(master): clean decommission list when leader change
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
442714ad20
fix(master): wait for setting RestoreReplica of dp during MarkDecommissionStatus
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
145e53d2f6
fix(datanode): rename root dir of dp to dir with backup prefix.
...
when execute decommisison with raftForce
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
04ac20e2cb
fix(master): calculating the decommission progress of the disk includes ignoring dps.
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
a650776bbf
fix(master): execute recoverReplicaMeta when replica is IOError
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
baihailong
a98a67358d
fix(libsdk): add IsDir and IsRegular for java.
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-12-26 09:24:22 +08:00
baihailong
92edf40c3e
fix(fuse): MountOption add parameter DisableMountSubtype
2024-12-26 09:24:22 +08:00
chihe
cab9ec44f3
fix(master): dp is decommissioned by raftForce, disk manager check recovery for new replica
...
close:#21938887
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
true1064
ff8b40abae
refactor(masterclient): add new field in the client's response of retrieving the partition view
...
indicating whether the volume is read-only.
close:#21938435
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
2832f093f9
fix(master): dp with sepcical replicum delete raft failed, don't reset decommission src
...
close:#22054632
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
23421c97e2
fix(master): put success or failed dp to decommission list when reloading meta adjust debug level
...
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
W9068822
d99ef09572
fix(master): fix get DP compression data, update cached data when needsUpdate is true
...
Signed-off-by: W9068822 <v-lijianrong1@oppo.com>
2024-12-26 09:24:22 +08:00
shuqiang-zheng
0ebf6ffc26
feat(reconstruct): gofmt by gofumpt.
...
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2024-12-26 09:24:22 +08:00
chihe
8baaee5ad9
debug(master): add debug log
...
close:#21980258
Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
zhangjianwei
6c91bc491e
fix(clustermgr): fix kvDBPath argument for blobstore-cli cm listAllDB
...
kvDBPath introduced in 4961b84378 ,
add list volumeUnits when listAllDB.
now command is:
blobstore-cli cm listAllDB <volumeDBPath> <normalDBPath> <kvDBPath>
Signed-off-by: zhangjianwei <jianwei1216@qq.com>
Signed-off-by: slasher <shenjie1@oppo.com>
2024-12-24 14:11:28 +08:00
tangdeyi
359e9184a6
fix(clustermgr): remove raft wal try flush
...
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2024-12-23 16:41:59 +08:00
Haifeng Liu
34947b1d08
Update my email address
2024-12-22 18:59:15 +08:00
JasonHu520
501f5de86e
feat(common): add DisableProposalForwarding config to raftserver
...
@formatter:off
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2024-12-19 11:21:18 +08:00
Reliey
c67c9b1b3e
docs(docs): Modify rpm package download domain name
...
Signed-off-by: Reliey <616318745@qq.com>
2024-12-05 14:58:42 +08:00
Reliey
0d08deb406
feat(docs): add fsck tool usage
...
Signed-off-by: Reliey <616318745@qq.com>
2024-12-05 14:58:42 +08:00
aaronwu2010
c492f6c445
docs(kernel): Add kernel client design document
...
Add kernel client design and usage document.
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2024-12-03 09:27:26 +08:00
Kursat Aktas
1e6552cb23
Introducing CubeFS Guru on Gurubase.io
...
Signed-off-by: Kursat Aktas <kursat.ce@gmail.com>
2024-12-02 14:43:02 +08:00
Reliey
1374333970
docs(docs): Correct incorrect commands in quota and autofs
...
Signed-off-by: Reliey <616318745@qq.com>
2024-11-29 16:41:09 +08:00
mawei029
b98e825a67
docs(blobnode): update blobnode config docs
...
@formatter:off
Signed-off-by: mawei029 <mawei2@oppo.com>
2024-11-12 11:01:05 +08:00
slasher
6c0b9bc00b
chore(common): add new context function of tracer
...
@formatter:off
Signed-off-by: slasher <shenjie1@oppo.com>
2024-11-12 11:01:05 +08:00
mawei029
1f8eb1f584
fix(bssdk): fix background delete when context is canceled
...
. #22765250 of #22357724
Signed-off-by: mawei029 <mawei2@oppo.com>
2024-11-12 11:01:05 +08:00
mawei029
4224c19de0
fix(blobnode): fix blobnode hot change background mbps limit, it should less normal mbps
...
. #22759812
Signed-off-by: mawei029 <mawei2@oppo.com>
2024-11-12 11:01:05 +08:00
mawei029
7653daafee
refactor(blobnode): qos limit read and write bandwidth, discard overload io
...
@formatter:off
Signed-off-by: mawei029 <mawei2@oppo.com>
2024-11-12 11:01:05 +08:00
mawei029
8b4fa82ae1
fix(blobnode): fix blobnode lost disk report ok, when it is already being repairing
...
@formatter:off
Signed-off-by: mawei029 <mawei2@oppo.com>
2024-11-12 11:01:05 +08:00
JasonHu520
2d90e0f96e
perf(scheduler): update volume cache failed error replace with error code
...
@formatter:off
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2024-11-12 11:01:05 +08:00
mawei029
d3575df4d4
refactor(blobnode): put/get shard eio return error code 613
...
. #22358264 of #22357713
Signed-off-by: mawei029 <mawei2@oppo.com>
2024-11-12 11:01:05 +08:00
mawei029
05155c157d
refactor(blobnode): add log for register node, fix return error when boot disk
...
. #22358264 of #22357713
Signed-off-by: mawei029 <mawei2@oppo.com>
2024-11-12 11:01:05 +08:00
mawei029
c7ece9f76f
refactor(blobnode): when a faulty EIO disk occurs, disk read and write requests are disabled
...
. #22358325 of #22357713
Signed-off-by: mawei029 <mawei2@oppo.com>
2024-11-12 11:01:05 +08:00
slasher
3d33e4f992
fix(access): force to send message to proxy and client cleans up
...
. #22411498
Signed-off-by: slasher <shenjie1@oppo.com>
2024-11-12 11:01:05 +08:00
chihe
6d8981bf9c
feat(doc): add version 3.4.0 for doc
...
Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit 10e31d808de3eb00195bfeffa2393b23b499667a)
2024-10-30 18:51:07 +08:00
chihe
189c7dd946
feat(doc): update doc for v3.4.0
...
Signed-off-by: chihe <chihe@oppo.com>
2024-10-30 17:36:30 +08:00
leonrayang
206d5ddadf
feat(doc): Add rule for Peripheral Projects and describe the rule of joining and achriving
...
Signed-off-by: leonrayang <chl696@sina.com>
2024-10-29 17:23:35 +08:00
slasher
d18001a133
docs(access): fix limit of access upload and download
...
Signed-off-by: slasher <shenjie1@oppo.com>
2024-10-23 14:18:16 +08:00
Reliey
a28ac40474
docs(docs): Modify the details of the documentation in the dev-guide section
...
Signed-off-by: Reliey <616318745@qq.com>
2024-09-27 12:39:30 +08:00
Reliey
db8c58074a
docs(docs): Modify the layout and text description of security_practice.md
...
Signed-off-by: Reliey <616318745@qq.com>
2024-09-27 09:28:46 +08:00
Reliey
64e7afaba2
docs(docs): Modifie the log.md and config.md in the ops chapter to be easier to understand
...
Signed-off-by: Reliey <616318745@qq.com>
2024-09-26 15:17:39 +08:00
Reliey
09806ae0b2
docs(docs): Revise capacity.md and zone.md to be easier to understand
...
Signed-off-by: Reliey <616318745@qq.com>
2024-09-26 11:30:03 +08:00
mingwei
cdbbfa5656
docs(ops): add auto-ops docs
...
Signed-off-by: mingwei <gongmingwei@oppo.com>
2024-09-25 19:19:38 +08:00
Reliey
13b92e50d7
docs(docs): Add some details and problem solutions to cluster-deploy documentation
...
Add some details to cluster-deploy.md
Signed-off-by: Reliey <616318745@qq.com>
2024-09-25 10:32:34 +08:00
Reliey
b8815f9423
docs(docs): Modify the description of the trash document to be more accurate and add some details
...
Signed-off-by: Reliey <616318745@qq.com>
2024-09-24 14:10:43 +08:00
Reliey
3923fbe5f5
docs(docs): Correct inaccuracies and typos in feature-cache documentation
...
commit message
Signed-off-by: Reliey <616318745@qq.com>
2024-09-20 09:21:08 +08:00
leonrayang
6e8066dcd5
feat(doc): Update the information of the maintainer members
...
Signed-off-by: leonrayang <chl696@sina.com>
2024-09-18 22:33:49 +08:00
Reliey
208451d4c6
docs(docs): correct the inaccuracies and typos in the module design section
...
commit message
signed-off-by: Reliey <616318745@qq.com>
2024-09-18 20:25:26 +08:00
leonrayang
4dde46d30b
feat(doc): Update governance documentation to improve the accuracy of vendor-neutrality
...
Signed-off-by: leonrayang <chl696@sina.com>
2024-09-13 15:40:27 +08:00
Reliey
0b83e56790
feat(doc): Add more details on the single deployment for better governance
...
commit message
signed-off-by: Reliey <616318745@qq.com>
2024-09-13 10:18:49 +08:00
Reliey
65bd5eb51f
feat(doc): Add instructions for yum deployment under arm architecture
...
commit message
Signed-off-by: Reliey <616318745@qq.com>
2024-09-11 15:45:38 +08:00
leonrayang
dbeab8ddbb
feat(doc): Update OpenSSF Best Practices to silver badge
...
Signed-off-by: leonrayang <chl696@sina.com>
2024-09-10 09:57:08 +08:00
xiejian
19f6ea3ca7
fix(clustermgr): fix cm AllocChunks failure causes concurrency issues
...
with #22565373
Signed-off-by: xiejian <xiejian3@oppo.com>
2024-09-03 09:53:23 +08:00
leonrayang
e053fa3f07
feat(doc): Add CODEOWNERS to improve control over code merge approval priorities
...
Signed-off-by: leonrayang <chl696@sina.com>
2024-09-02 15:58:41 +08:00
leonrayang
959b61e3f4
enhance(doc): Organize documents of ecology
...
Signed-off-by: leonrayang <chl696@sina.com>
2024-09-02 11:30:23 +08:00
leonrayang
6617aa1eb7
feat(doc): Update OWNERS.md
...
Signed-off-by: leonrayang <chl696@sina.com>
2024-08-28 18:34:56 +08:00
leonrayang
2a041e7765
feat(docs): Update Governance related documentation
...
1. Clarify the responsibilities of the TSC, maintainers, and committers.
2. Fix the issue in security reporting as incorrect email address for reporting vulnerabilities.
3. Clarify the governace of SIGs
4. Add a link to the governance section in README.md for emphasis.
Signed-off-by: leonrayang <chl696@sina.com>
2024-08-28 17:14:02 +08:00
Huweicai
5ebd3e7e19
feat(build): check interface exist before using
...
Signed-off-by: Huweicai <i@huweicai.com>
2024-08-23 13:51:58 +08:00
shuqiang-zheng
3f1e45a22a
fix(security): slice memory allocation with excessive size value.
...
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2024-08-12 14:03:06 +08:00
baihailong
4a87988bf7
fix(sdk): fix Uncontrolled data used in network request
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-08-12 11:30:10 +08:00
shuqiang-zheng
dd741df686
fix(security): slice memory allocation with excessive size value.
...
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2024-08-12 09:56:14 +08:00
shuqiang-zheng
f8c677a041
fix(security): slice memory allocation with excessive size value.
...
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2024-08-09 19:04:31 +08:00
baihailong
6174cfb9bd
fix(util): incorrect conversion between integer types
...
close: #259
Signed-off-by: baihailong <baihailong@oppo.com>
2024-08-09 17:14:32 +08:00
slasher
68e970cbbd
fix(util): incorrect conversion between integer types
...
fixup code scanning: see https://github.com/cubefs/cubefs/security/code-scanning
Signed-off-by: slasher <shenjie1@oppo.com>
2024-08-09 14:06:07 +08:00
leonrayang
b658d0db49
feat(doc): Add TestCase Guidelines for contributors
...
Signed-off-by: leonrayang <chl696@sina.com>
2024-08-09 10:59:09 +08:00
slasher
45a486ec22
chore(ci): add codeql of golang
...
Signed-off-by: slasher <shenjie1@oppo.com>
2024-08-08 17:42:50 +08:00
leonrayang
83d122e6dc
feat(doc): Add CubeFS-self-assessment.md
...
Signed-off-by: leonrayang <chl696@sina.com>
2024-08-08 17:22:46 +08:00
JasonHu520
f6fd42f1b2
fix(scheduler): reclaim from clustermgr with source vuid
...
with: #22472242
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2024-08-07 10:27:22 +08:00
leonrayang
3576d88889
feat(doc): Add more rules on the sub project for better governance
...
Signed-off-by: leonrayang <chl696@sina.com>
2024-08-06 18:55:25 +08:00
leonrayang
a474dfbe26
feat(doc): Update some maintainer's Affiliation information
...
Signed-off-by: leonrayang <chl696@sina.com>
2024-08-06 18:55:25 +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
leonrayang
1536a544f2
feat(doc): Update the governance documentation
...
1.Clearify the promotion and exit rules for committers.
2.Add the Expectations for maintainer and committers
3.Clearify the core maintainers
Signed-off-by: leonrayang <chl696@sina.com>
2024-07-31 14:20:53 +08:00
slasher
b34dfb8de0
chore(util): add default of switch, update err judgment
...
@formatter:off
Signed-off-by: slasher <shenjie1@oppo.com>
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2024-07-29 15:13:21 +08:00
slasher
753475c481
fix(access): return not exist volume in access cached
...
. #22420678
Signed-off-by: slasher <shenjie1@oppo.com>
2024-07-29 15:13:21 +08:00
slasher
4aca6e2127
fix(rpc): return 598 http status code if fail to decode from response
...
. #22420678
Signed-off-by: slasher <shenjie1@oppo.com>
2024-07-29 15:13:21 +08:00
tangdeyi
9d392be776
fix(clustermgr): fix pendingkey memory release when add disk to dropped node
...
with #22402652
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2024-07-29 15:13:21 +08:00
JasonHu520
9622635308
fix(scheduler): update volume unit failed, first get latest volume info to comfirm whether updated
...
. #22366648
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2024-07-29 15:13:21 +08:00
xiejian
5e5351780b
fix(clustermgr): AllocVolumeUnit return error when inconsistent request vuid and cm vuid
...
. #22366648
Signed-off-by: xiejian <xiejian3@oppo.com>
2024-07-29 15:13:21 +08:00
leonrayang
88f826557b
feat(doc): Update the release documentation and add docker image info
...
Signed-off-by: leonrayang <chl696@sina.com>
2024-07-29 10:16:08 +08:00
chihe
2911125677
fix(datanode): check disk path for replica with master when executing attachPartition
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-22 17:10:59 +08:00
chihe
9dd4c9cf1b
fix(master): decommission concel ignore decommission running
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-22 17:10:59 +08:00
NaturalSelect
6b82499eb7
feat(meta): async inode del file recycle
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-22 17:10:59 +08:00
NaturalSelect
807581fe83
feat(meta): adjust delete INODE_DEL file water mark
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-22 17:10:59 +08:00
NaturalSelect
33d820c27f
fix(meta): fix INODE_DEL recycle
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-22 17:10:59 +08:00
NaturalSelect
c2e20b6e2e
fix(meta): limit the count of metanode inode audit log
...
Signed-off-by: NaturalSelect <2145973003@qq.com>
2024-07-22 17:10:59 +08:00
true1064
035fafbf52
fix(data): When loading the disk, strengthen the checking before removing the duplicated data partition directories.
...
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-07-22 17:10:59 +08:00
leonrayang
981b298ca3
refactor(master): refactor the code of zone moudule
...
Signed-off-by: leonrayang <chl696@sina.com>
2024-07-22 17:10:59 +08:00
chihe
47a7a6dfa4
feat(master):recover replica deleted by raftForce
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-22 17:10:59 +08:00
chihe
e9f4b5ab7e
fix(master): remove the status of DecommissionNeedManualFix
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-22 17:10:59 +08:00
chihe
3325185e75
fix(master): fix deadlock for progress of WarnMissingDp
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-22 17:10:59 +08:00
chihe
e9804d0043
feature(datanode): do not remove root dir for dp deleted by raftForce with auto decommmission mode
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-22 17:10:59 +08:00
Victor1319
601c736226
refactor(master): add log when over datanode dp cnt limit.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-07-22 17:10:59 +08:00
Victor1319
2c16aa9c47
fix(meta): add gen log when append extent key.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-07-22 17:10:59 +08:00
shuqiang-zheng
fb82f1bb4a
feat(client): cleaning up the log that may be printed to standard output during write process.
...
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2024-07-22 17:10:59 +08:00
Victor1319
3bc66f6c7d
fix(data): fix reload datapartition error.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-07-22 17:10:59 +08:00
NaturalSelect
e858b4d740
fix(meta): fix INODE_DEL recycle
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-22 17:10:59 +08:00
shuqiang-zheng
28d1561188
fix(master): Fix the problem of loading volDelayDeleteTimeHour from rocksdb without determining whether the value is greater than 0 or not.
...
@formatter:off
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2024-07-22 17:10:59 +08:00
Victor1319
5d7464f05f
refactor(master): reload data from rocksdb once leader changed.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-07-22 17:10:59 +08:00
NaturalSelect
f9e319ff4f
fix(master): avoid warningMetrics deadlock
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-22 17:10:59 +08:00
leonrayang
5c82a084f1
fix(datanode): The contents on which the CRC check depends are inconsistent with each other
...
Update the crc check output from error to warn, the inconsistent may be false report and require
more output and make a jugement.
The applyId and crc cann't be atomic under the architecture and are not necessary for performance.
Signed-off-by: leonrayang <chl696@sina.com>
2024-07-22 17:10:59 +08:00
leonrayang
c9611557a2
fix(datanode):Refactor the paramter of storage write at datanode
...
Signed-off-by: leonrayang <chl696@sina.com>
2024-07-22 17:10:59 +08:00
baihailong
39dc1dfaa8
fix(sdk): add gosdk.
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-07-22 17:10:59 +08:00
NaturalSelect
85445548b2
fix(data): avoid flush extent when it is not dirty
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-22 17:10:59 +08:00
chihe
3a8a2633be
fix(datanode): donot raise panic when ApplyMemberChange trigger disk error
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-22 17:10:59 +08:00
chihe
c641056a38
fix(master): reset decommission type when dp decommission fail
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-22 17:10:59 +08:00
chihe
0c89a008cf
fix(master): remove excessive peer during checkReplicaMeta
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-22 17:10:59 +08:00
chihe
7176a68346
fix(datanode): remove expired peers with expired nodeID
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-22 17:10:59 +08:00
chihe
7b9efc560f
fix(datanode): remove expired root of dp during loading dp
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-22 17:10:59 +08:00
chihe
55f8ce3b67
fix(master):if dp has emtpy replicas when execute decommission,return error
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-22 17:10:59 +08:00
chihe
83b51e236c
fix(master): if raft is already started when repair for dp is finished, return error directly
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-22 17:10:59 +08:00
chihe
01e1ed9c3b
fix(master): add lock for accessing missingMpAddrSet
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-22 17:10:59 +08:00
chihe
9f81498736
fix(master): change error msg for multiple replica are executing decommissioning
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-22 17:10:59 +08:00
NaturalSelect
605371c336
fix(util): refactor audit log remove
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-22 17:10:59 +08:00
NaturalSelect
bc5dd77fbd
feat(master): support set dp heartbeat timeout
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-22 17:10:59 +08:00
shuqiang-zheng
bf2753766e
feat(log): Add support for standard output in the log module.
...
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2024-07-22 17:10:59 +08:00
baihailong
f08ff32bff
fix(sdk): add cfs_IsDir,cfs_IsRegular for libsdk.
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-07-22 17:10:59 +08:00
NaturalSelect
6aca325797
feat(master): feat support vol level dp meta repair
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-22 17:10:59 +08:00
NaturalSelect
41d2a78dd7
fix(data): ensure that truncate index is less than applied index
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-22 17:10:59 +08:00
NaturalSelect
414229e0b5
fix(master): update dp cache after create vol
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-22 17:10:59 +08:00
NaturalSelect
f88206c3a2
fix(data): adjust extent flush period to 5min
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-22 17:10:59 +08:00
baihailong
51b093afac
fix(sdk): add statistical metrics for libsdk.
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-07-22 17:10:59 +08:00
NaturalSelect
9767a884b4
fix(meta): avoid leak EXTENT_DEL fd
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-22 17:10:59 +08:00
baihailong
89d1a533f6
fix(client): remove the wrong code in function write.
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-07-22 17:10:59 +08:00
baihailong
e80bdd732f
fix(fuse): print goroutine info when cfs-client exiting normally.
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-07-22 17:10:59 +08:00
baihailong
c4f9b9395e
fix(sdk): add debug log for remove dp and select dp.
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-07-22 17:10:59 +08:00
chihe
e287f3a9ce
fix(master): redundant replica not participate when decommissioning mutiple replicas of dp
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-22 17:10:59 +08:00
NaturalSelect
48506bbd18
fix(data): avaliable space calculate consider decommissioned disks
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-22 17:10:59 +08:00
W9068822
d25840b71f
feat(metrics): report version of client, metanode, datanode, authnode, lcnode, objectnode
...
Signed-off-by: W9068822 <v-lijianrong1@oppo.com>
2024-07-22 17:10:59 +08:00
baihailong
8459b9372b
fix(fuse): report error when read size not expected.
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-07-22 17:10:59 +08:00
Victor1319
0527b01ce9
refactor(data): remove autoComputeCrc func from snapshot process.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-07-22 17:10:59 +08:00
NaturalSelect
7a1c60eeea
feat(master): support enable or disable auto dp meta repair
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-22 17:10:59 +08:00
NaturalSelect
f65dbefd4e
feat(meta): batch delete extents in delete extent channel
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-22 17:10:59 +08:00
W9068822
eef2eb1faf
fix(dp): sendErrReply @formatter:off
...
Signed-off-by: W9068822 <v-lijianrong1@oppo.com>
2024-07-22 17:10:59 +08:00
chihe
a64437610e
fix(master): modify condition for raftForce when executing checkReplicaMeta
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-22 17:10:59 +08:00
chihe
2e0b1796fd
fix(master): add log to debug add disabled disk failed
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-22 17:10:59 +08:00
chihe
b10c9a9ab0
fix(master): do not change error msg for decommission failed dp when master reboot
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-22 17:10:59 +08:00
chihe
f70d464aad
fix(master): the DecommissionNeedManualFix status should be included in the statistics for dataNode
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-22 17:10:59 +08:00
chihe
9f875df15e
fix(master): delete new replica when performing rollback in AutoAddReplica mode
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-22 17:10:59 +08:00
NaturalSelect
d68b68a2a2
fix(master): support config dp repiar timeout
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-22 17:10:59 +08:00
NaturalSelect
38b37bc52e
fix(master): carry weight node selector ignore mp limit
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-22 17:10:59 +08:00
NaturalSelect
cf772279a7
feat(master): nodeset info return can alloc metanode/datanode cnt
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-22 17:10:59 +08:00
NaturalSelect
f665fbbfab
fix(client): avoid remove dp concurrent
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-22 17:10:59 +08:00
NaturalSelect
47d20e4b7e
chore(master): fix ci test
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-22 17:10:59 +08:00
Victor1319
77fdb47ea0
refactor(data): datanode only process random write op before node start.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-07-22 17:10:59 +08:00
NaturalSelect
7df2c4f46b
chore(master): fix ci tests
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-22 17:10:59 +08:00
NaturalSelect
04d809365b
fix(master): load decommission disk limit when load cluster
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-22 17:10:59 +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
b3f82108f3
fix(sdk): revert code to fix eh flush failed error.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-07-22 17:10:59 +08:00
chihe
8b01841eb1
fix(master): only set RestoreReplica to RestoreReplicaMetaStop when removed from decommission list
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-22 17:10:59 +08:00
chihe
b4b732d913
fix(master): use raft force to delete redundant peers when 1-replica rollback failed
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-22 17:10:59 +08:00
chihe
2d4c3db90e
feat(client): update pom.xml for maven
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-22 17:10:59 +08:00
NaturalSelect
09c77b87b0
fix(master): when stop master wait 10 sec for background tasks to exit
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-22 17:10:59 +08:00
slasher
8ed2139413
chore(blobstore): format code with new gofumt
...
Signed-off-by: slasher <shenjie1@oppo.com>
2024-07-19 09:42:11 +08:00
NaturalSelect
6b53973075
fix(master): assess replica[0] need dp lock
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-18 16:57:38 +08:00
wangxiaodong1
ac3a91e105
feat(master): add replicas laber for dp and mp noleader metrics
...
Signed-off-by: wangxiaodong1 <wangxiaodong1@oppo.com>
2024-07-18 16:57:38 +08:00
chihe
2848a2c6db
fix(cli): decommission disk for cli tool add migrationType param
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-18 16:57:38 +08:00
chihe
44aa80e27e
feat(master):report the list of dps hold token
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-18 16:57:38 +08:00
W9068822
24618be53c
fix(cli): fix DataNodeMigrate, @formatter:off
...
Signed-off-by: W9068822 <v-lijianrong1@oppo.com>
2024-07-18 16:57:38 +08:00
W9068822
bf336dc34d
feat(master): add getAllDataNodes and getAllMetaNodes apis
...
Signed-off-by: W9068822 <v-lijianrong1@oppo.com>
2024-07-18 16:57:38 +08:00
NaturalSelect
f70de7e82f
fix(data): tiny extent snapshot off fix to 128M
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-18 16:57:38 +08:00
W9068822
d8d82481af
fix(dp): add dp count limitation
...
Signed-off-by: W9068822 <v-lijianrong1@oppo.com>
2024-07-18 16:57:38 +08:00
NaturalSelect
402da3957d
chore(data): change get store used size log level
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-18 16:57:38 +08:00
NaturalSelect
025d2ff89c
fix(data): load extents consider snapshot
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-18 16:57:38 +08:00
NaturalSelect
d0352cc55c
fix(master): fix abortDecommissionDisk interface
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-18 16:57:38 +08:00
NaturalSelect
c19b690d1d
feat(master): support reset dp restore status
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-18 16:57:38 +08:00
chihe
c008fefa97
feat(master): audit log for try decommission disk
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-18 16:57:38 +08:00
chihe
fd504244b7
fix(master): if RestoreReplica is MetaRunning, reset it to MetaStop when master reboot or change leader.
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-18 16:57:38 +08:00
NaturalSelect
4acdeca1fd
feat(master): return can alloc partition when query node info
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-18 16:57:38 +08:00
baihailong
3316b7ccf4
fix(client): revert reports file's metadata and data inconsistencies.
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-07-18 16:57:38 +08:00
Victor1319
4b91bec9aa
fix(data): remove rlock to avoid deadlock.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-07-18 16:57:38 +08:00
NaturalSelect
6dbd7368a9
fix(master): avoid panic when master exit
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-18 16:57:38 +08:00
chihe
368b30f715
feat(master): add audit log for decommission datapartition
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-18 16:57:38 +08:00
chihe
88b0f20c91
feat(master): add audit log for decommission disk
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-18 16:57:38 +08:00
chihe
cafd844e8a
feat(master): excute checkReplicaMeta when mark dp decommission
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-18 16:57:38 +08:00
chihe
b6ca473ac9
feature(master): mutual exclusion between the decommission progress and restoreReplicaMeta progress
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-18 16:57:38 +08:00
chihe
0cf259b89f
feat(master): auto add missing repplica
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-18 16:57:38 +08:00
chihe
12abd5d817
fix(master): the DecommissionNeedManualFix status should be included in the progress statistics
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-18 16:57:38 +08:00
baihailong
81b5f56c3b
fix(fuse): when client starting, reports last exit info.
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-07-18 16:57:38 +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
Victor1319
2e124833bb
refactor(meta): skip discard dp when delete extent failed.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-07-18 16:57:38 +08:00
NaturalSelect
4245f15add
fix(meta): correct inode size calculate
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-18 16:57:38 +08:00
NaturalSelect
14f86322d0
feat(data): rewrite space manager stop function
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-18 16:57:38 +08:00
NaturalSelect
bc87fcbeb1
fix(data): avoid panic during apply rand write after store close
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-18 16:57:38 +08:00
Victor1319
326a91648b
fix(client): avoid block flush when clean up stream.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-07-18 16:57:38 +08:00
NaturalSelect
b7eeda10b4
refactor(data): revert data node dp delay load
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-18 16:57:38 +08:00
NaturalSelect
978254d5a5
fix(data): avoid write extent after store closed
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-18 16:57:38 +08:00
NaturalSelect
65878a4085
test(master): fix unit test
...
@formatter:off
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-18 16:57:38 +08:00
Victor1319
b7b042feff
fix(client): fix ek conflict error when invoke closeOpenHandler.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-07-18 16:57:38 +08:00
NaturalSelect
fadcba2fce
test(util): fix unit test
...
@formatter:off
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-18 16:57:38 +08:00
NaturalSelect
93fedf5db5
fix(client): remove unused import
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-18 16:57:38 +08:00
Victor1319
9aff977edb
docs(docs): update rpm version from 3.3.0 to 3.3.2.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-07-18 16:57:38 +08:00
Victor1319
0e1f9cf0aa
docs(docs): add docs about v3.3.2.
...
1. update change log.
2. add doc for volume delay deletion.
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-07-18 16:57:38 +08:00
Victor1319
c2e6e7aaab
test(data): fix bad testcase for data, meta, master.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-07-18 16:57:38 +08:00
Victor1319
27b8481bee
test(data): fix bad testcase for data, meta, master.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-07-18 16:57:38 +08:00
NaturalSelect
16bd33d9ec
fix(client): if we meet limited io, recover directly
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-18 16:57:38 +08:00
NaturalSelect
319e8eb4f5
fix(client): release all conns, if we meet an EOF
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-18 16:57:38 +08:00
baihailong
d9dff8981e
fix(sdk): fix ek conflict caused by traverse.
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-07-18 16:57:38 +08:00
leonrayang
a9b3d54028
feat(master): Volume update enable crossZone
...
Signed-off-by: leonrayang <changliang@oppo.com>
2024-07-18 16:57:38 +08:00
leonrayang
68fea4c4fb
fix(master): go routine for qos leak while raft change but forget close
...
Signed-off-by: leonrayang <changliang@oppo.com>
2024-07-18 16:57:38 +08:00
shuqiang-zheng
6b63f25071
fix(pprof): Fix for pprof endpoint exposures.
...
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2024-07-18 16:57:38 +08:00
NaturalSelect
ec188331f0
feat(cli): support set trash interval
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-18 16:57:38 +08:00
NaturalSelect
91c65e17ab
feat(data): speed data node restart
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-18 16:57:38 +08:00
Victor1319
1e9dec3c20
fix(data): Add to partitions map only after start raft success.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-07-18 16:57:38 +08:00
chihe
45774a7aea
feature(master): Compatible with old version trash
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-18 16:57:38 +08:00
chihe
138ffa3004
fix(client): Don't remove non-empty directories when trash enable
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-18 16:57:38 +08:00
Victor1319
89f370ea0e
feat(data): Start the external service port first, then start Raft.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-07-18 16:57:38 +08:00
NaturalSelect
53b269d7e5
fix(master): update decommission limit when load nodeset
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-18 16:57:38 +08:00
Victor1319
4a61b225fb
fix(meta): Print error log when remove raft member failed.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-07-18 16:57:38 +08:00
NaturalSelect
a0fcae90e6
feat(data): flush extent cache in timer
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-18 16:57:38 +08:00
Victor1319
f9006bb7f6
fix(data): Automatic cleanup of channels to avoid deadlock issues.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-07-18 16:57:38 +08:00
Victor1319
96848ee256
fix(master): Support asynchronous deletion of volume persistent information to avoid occupation of locks.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-07-18 16:57:38 +08:00
Victor1319
d95f005df9
fix(master): Avoid concurrent access exceptions when responding to HTTP requests with a map.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-07-18 16:57:38 +08:00
Victor1319
0d255b3ee0
refactor(master): Optimize filecheck-related logs for easier issue troubleshooting.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-07-18 16:57:38 +08:00
Victor1319
c7aba207cc
refactor(cli): Optimize the print output results of fileInCore.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-07-18 16:57:38 +08:00
Victor1319
b3f3278e5a
feat(data): Support asynchronous deletion of expired partition lists.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-07-18 16:57:38 +08:00
NaturalSelect
f7f012de3d
feat(meta): audit log print millisecond
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-18 16:57:38 +08:00
S9054862
297fd4627c
feat(data): load extent info on demand
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-18 16:57:38 +08:00
NaturalSelect
81ade8089a
feat(meta): delete dentry support inode audit
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-18 16:57:38 +08:00
Victor1319
0e47f7244d
refactor(data): refactor print log whith req id when send or read follower failed.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-07-18 16:57:38 +08:00
Victor1319
375c0efa5d
feat(fsck): support unlock target dp.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-07-18 16:57:38 +08:00
Victor1319
663f266210
fix(client): To prevent write and flush operations from timing out and failing to respond to interrupt.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-07-18 16:57:38 +08:00
Victor1319
b0381b46c9
feat(fsck): support batch persistence of bad extents.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-07-18 16:57:38 +08:00
Victor1319
8afb049908
fix(fsck): fix block bug when request same node.
2024-07-18 16:57:38 +08:00
Victor1319
a798901c6a
feat(fsck): Limit the deletion of only 128 files at once.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-07-18 16:57:38 +08:00
Victor1319
0d16adfbc7
feat(fsck): support gc extent mark and delete at the same time.
...
1. support mark gc extents and delete gc extents.
2. after delete gc extents success, rename extents to xx.succ.
Signed-off-by: Victor1319 <834863182@qq.com>
2024-07-18 16:57:38 +08:00
S9054862
e812d1c37a
fix(data): speed up initBaseFileID
...
Signed-off-by: S9054862 <huangzhibin1@oppo.com>
2024-07-18 16:57:38 +08:00
chihe
1df3baa7ea
feat(datnode): support read enableExtentRepairReadLimit from conf and query dp holded read extent token
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-18 16:57:38 +08:00
chihe
30ca51488b
feat(datanode): Support the functionality of allowing only one extent data read at a time per disk
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-18 16:57:38 +08:00
S9054862
00ecb62b94
feat(data): limit io current on a disk when load/stop dp
...
Signed-off-by: S9054862 <huangzhibin1@oppo.com>
2024-07-18 16:57:38 +08:00
W9068822
0c6f5314da
feat(master): compress client/partitions response data
...
Signed-off-by: W9068822 <v-lijianrong1@oppo.com>
2024-07-18 16:57:38 +08:00
true1064
6f4b6fa498
enhance(master/cli): Reduce too much dp info printing about replica file count and size differ:
...
(1)master: not record replica file count and size differ if dp is in decommission
(2)cli: only print number of dp with replica file count and size differ in default; and add an argument to control whether print such dp info
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-07-18 16:57:38 +08:00
true1064
a0554c572f
fix(data): datapartition status should be readonly when disk status is read-only
...
Signed-off-by: tangjingyu <tangjingyu@oppo.com>
2024-07-18 16:57:38 +08:00
true1064
5285933e0a
fix(master): correct the determination of DataNode writability
...
Signed-off-by: tangjingyu <tangjingyu@oppo.com>
2024-07-18 16:57:38 +08:00
NaturalSelect
9720d3eb2e
fix(data): rewrite disk selector
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-18 16:57:38 +08:00
yhjiango
3797f6b0e8
fix(object): fix request parts check in complete multipart
...
Signed-off-by: yhjiango <jiangyunhua@oppo.com>
2024-07-18 16:57:38 +08:00
shuqiang-zheng
a54c02bda3
fix(master): Printing load metadata information to the output log.
...
close : #21966908
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2024-07-18 16:57:38 +08:00
yhjiango
e487250c51
fix(object): adjust STS auth process
...
Signed-off-by: yhjiango <jiangyunhua@oppo.com>
(cherry picked from commit 1f23b3f620 )
Signed-off-by: yhjiango <jiangyunhua@oppo.com>
2024-07-18 16:57:38 +08:00
NaturalSelect
45d644fdff
fix(master): use DeleteRange to clear rocksdb
...
close : #3152
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-18 16:57:38 +08:00
true1064
0cc6a3631d
fix(data): when traversing the replicas slice, avoid panics caused by changes in the slice length
...
Signed-off-by: true1064 <true1063@163.com>
2024-07-18 16:57:38 +08:00
NaturalSelect
4a43bbc799
fix(master): avoid cross device link when apply snapshot
...
close : #3145
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-18 16:57:38 +08:00
true1064
4a285269a4
fix(metadata): Taking a local snapshot or applying raft snapshot in MP persist the UniqID field
...
when loading a local snapshot, if the UniqID is found to be 0, set it to a larger value.
Signed-off-by: true1064 <true1063@163.com>
2024-07-18 16:57:38 +08:00
Victor1319
45b6896c46
feat(data): when extent is mark delete, write op not failed.
...
Signed-off-by: Victor1319 <834863182@qq.com>
2024-07-18 16:57:38 +08:00
Victor1319
f6861102e0
feat(fsck): support print volume name after calc garbage extent.
...
Signed-off-by: Victor1319 <834863182@qq.com>
2024-07-18 16:57:38 +08:00
Victor1319
d09a8503dd
feat(fsck): not fatal when get one dp info failed.
...
Signed-off-by: Victor1319 <834863182@qq.com>
2024-07-18 16:57:38 +08:00
Victor1319
8d68346c5c
feat(fsck): support calcuate bad extent concurrently.
...
Signed-off-by: Victor1319 <834863182@qq.com>
2024-07-18 16:57:38 +08:00
true1064
2f0b2b1737
enhance(master): not calculate preload dp capacity every time in newSimpleView,to reduce CPU usage
...
Signed-off-by: true1064 <tangjingyu@oppo.com>
2024-07-18 16:57:38 +08:00
Victor1319
66200ee8bb
fix(fsck): return error when get connect failed.
...
Signed-off-by: Victor1319 <834863182@qq.com>
2024-07-18 16:57:38 +08:00
true1064
ffcf6b3483
fix(data): function startEvict() should not panic when failed to get volume info from master
...
Signed-off-by: true1064 <true1063@163.com>
2024-07-18 16:57:38 +08:00
baihailong
cd5ba1a177
fix(libsdk): rename file A to file B twice, file B not exist while open B
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-07-18 16:57:38 +08:00
baihailong
5f2a7da336
fix(libsdk): libsdk support cfs_link, cfs_symlink
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-07-18 16:57:38 +08:00
Victor1319
152dca0fa2
feat(meta): Enhance the allocation and validation of txId to avoid potential duplicates.
...
Signed-off-by: Victor1319 <834863182@qq.com>
2024-07-18 16:57:38 +08:00
Victor1319
5076a34844
fix(data): cancel extent count limit when create extent.
...
Cancel the limit of "maxCount + 10" extents to avoid no available data partitions.
Signed-off-by: Victor1319 <834863182@qq.com>
2024-07-18 16:57:38 +08:00
shuqiang-zheng
b5b41237ad
fix(master):Change the logic of checkReplicaNum in the update volume process.
...
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2024-07-18 16:57:38 +08:00
shuqiang-zheng
a18a3c1ba0
enhance(log):Modify the threshold for triggering log cleanup to logLeftSpaceLimitRatio of the total disk space.
...
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2024-07-18 16:57:38 +08:00
shuqiang-zheng
9ac7ca9128
enhance(cli):Modifying Volume Deletion Related Error Messages.
...
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2024-07-18 16:57:38 +08:00
baihailong
3d7c51d170
fix(libsdk,meta): support dir lock
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-07-18 16:57:38 +08:00
shuqiang-zheng
8ba6d7517d
fix(master):Fixed the problem that volumes marked for deletion but still in the freeze period could not restore the dp and mp replicas after reboot and migration was not supported.
...
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2024-07-18 16:57:38 +08:00
Victor1319
c976358bbe
refactor(cli): remove pasue flag in transaction flag hint.
...
Signed-off-by: Victor1319 <834863182@qq.com>
2024-07-18 16:57:38 +08:00
Victor1319
ee9aba1f3a
fix(master&client&cli): Add a new variable EnableTransactionV1 to avoid compatibility issues
...
Signed-off-by: Victor1319 <834863182@qq.com>
2024-07-18 16:57:38 +08:00
Victor1319
9a77a99cec
fix(master): only new vol enable rename atomic operation default, and support close.
...
Signed-off-by: Victor1319 <834863182@qq.com>
2024-07-18 16:57:38 +08:00
baihailong
9f034bd556
fix(sdk): not check result of InodeGet_ll leadto panic in Truncate.
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-07-18 16:57:38 +08:00
Victor1319
83c839c6f8
feat(master): set rename atomic switch open default.
...
Signed-off-by: Victor1319 <834863182@qq.com>
2024-07-18 16:57:38 +08:00
leonrayang
926745dff4
fix(master):MaxDpCntLimit in load datanode and band with configure
...
Signed-off-by: leonrayang <chl696@sina.com>
2024-07-18 16:57:38 +08:00
leonrayang
10e16e1593
enhance(client):tiny extent update 128KB to 1MB
...
Signed-off-by: leonrayang <chl696@sina.com>
2024-07-18 16:57:38 +08:00
shuqiang-zheng
0cada31f3d
feat(master): update the volume freeze feature to make it unreadable when the volume is frozen.
...
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2024-07-18 16:57:38 +08:00
baihailong
a812f33e7d
fix(libsdk): fix bug, cfs_getattr return ENOENT after cfs_unlink, cfs_open,cfs_write.
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-07-18 16:57:38 +08:00
shuqiang-zheng
4a46d338b8
feat(master): Open the volume deletion interface to freeze the volume when performing a volume deletion and then wait 48 hours before deleting the volume.
...
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2024-07-18 16:57:38 +08:00
yhjiango
46246c4768
feat(objectnode): s3 sts and signature auth
...
1. sts federation token
2. signature auth code refactor
Signed-off-by: yhjiango <jiangyunhua@oppo.com>
(cherry picked from commit 4401624f96 )
Signed-off-by: yhjiango <jiangyunhua@oppo.com>
2024-07-18 16:57:38 +08:00
NaturalSelect
7c08fedcd8
feat(master): add forbid vol feature
...
Signed-off-by: NaturalSelect <2145973003@qq.com>
2024-07-18 16:57:38 +08:00
baihailong
274b5d8c0a
feature(libsdk): cfs_rename support param overwritten
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-07-18 16:57:38 +08:00
baihailong
371a54e829
fix(libsdk): multi-thread call cfs_rename leadto same ino
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-07-18 16:57:38 +08:00
baihailong
9d82cd821e
fix(libsdk): fix cfs_mkdirs bug when multi-thread call
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-07-18 16:57:38 +08:00
baihailong
cba84402b6
fix(libsdk): support cfs_truncate
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-07-18 16:57:38 +08:00
Victor1319
55e4aaf5c1
🐞 fix(fsck): remove clean switch flag from fsck.
...
Signed-off-by: Victor1319 <834863182@qq.com>
2024-07-18 16:57:38 +08:00
Victor1319
941b71a2cf
🐞 fix(data): when read locked extent, only print error log not return error.
...
Signed-off-by: Victor1319 <834863182@qq.com>
2024-07-18 16:57:38 +08:00
chihe
c5771e50e6
feature(doc): update the content of doc to version 3.3.1
...
Signed-off-by: chihe <chi.he@oppo.com>
2024-07-18 16:57:38 +08:00
leonrayang
c29084e440
enhance(client): Log path check too strict to startup if have softlink in the path
...
Signed-off-by: leonrayang <chl696@sina.com>
2024-07-18 16:57:38 +08:00
Victor1319
cb966c66c7
✨ feat(data): refactor delete logic to check opcode first
...
Signed-off-by: Victor1319 <834863182@qq.com>
2024-07-18 16:57:38 +08:00
Victor1319
c02a337d1c
🐞 fix(fsck): close clean switch before online.
...
Signed-off-by: Victor1319 <834863182@qq.com>
2024-07-18 16:57:38 +08:00
leonrayang
0a17538541
enhance(security document): Add note for user report private security issues with groups.io
...
Signed-off-by: leonrayang <chl696@sina.com>
2024-07-18 16:57:38 +08:00
leonrayang
ed86a95ca2
fix(master):qos.Lock of assignClientsNewQos forget release and trigger deadlock
...
Signed-off-by: leonrayang <chl696@sina.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
NaturalSelect
9e0a1d9484
refactor(util): remove lock from auditlog
...
Signed-off-by: NaturalSelect <2145973003@qq.com>
2024-07-18 16:57:38 +08:00
NaturalSelect
625a7a3d62
feat(master): enable audit log by default
...
NOTE: Please be careful when cherry-picking this commit.
Signed-off-by: NaturalSelect <2145973003@qq.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
shuqiang-zheng
68cf97ab68
fix(master):fix the problem of TestCreateColdVol
...
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2024-07-18 16:57:38 +08:00
Victor1319
0d4b1254b5
🐞 fix(fsck): add lock to protect host map
...
Signed-off-by: Victor1319 <834863182@qq.com>
2024-07-18 16:57:38 +08:00
Victor1319
0c62eecc3a
🐞 fix(data): not check before time when lock extent to avoid fail.
...
Signed-off-by: Victor1319 <834863182@qq.com>
2024-07-18 16:57:38 +08:00
baihailong
f43822f661
fix(auditlog): fix multithread logAudit bug
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-07-18 16:57:38 +08:00
Victor1319
9ede5a8cfe
🐞 fix(fsck&data): support repeat delete extent
...
Signed-off-by: Victor1319 <834863182@qq.com>
2024-07-18 16:57:38 +08:00
Victor1319
7a45fc7ac2
🐞 fix(fsck): fix rename old dir bug
...
Signed-off-by: Victor1319 <834863182@qq.com>
2024-07-18 16:57:38 +08:00
Victor1319
2d79270c41
✨ feat(fsck & data): refacotr gc logic
...
1. "getAllExtent?id=xx&beforeTime=xx" supports get extent GC flags.
2. When deleting extent, also check for GC flags. If there are no GC flags, return an error.
3. Optimize related log printing by outputting relationship information and execution time, reduce unnecessary logs, and improve performance.
4. Optimize the implementation of the "getExtents" list interface and the performance of batch locking interfaces. Read all the latest information of extents at once to avoid accessing the disk for each extent, reducing timeout calls.
5. Support outputting profiles for easy performance analysis.
6. "cleanBadExtents" and "rollbackBadExtents" support a "clean" parameter to control whether to perform data cleanup and overwrite.
7. Use a task pool to support multi-threaded concurrent tasks.
8. Limit the concurrent task number to 3 for each node.
9. Back up the execution result of the previous command each time it is executed for easy tracing.
10. Remove "from-dp" from "getMpExtents" and "getDpExtents" and directly support concurrent retrieval of full volume information.
11. When obtaining MP information, take the maximum value among the three nodes as the reference.
12. When persisting MP information, use a buffer to optimize performance and avoid reading and writing to disk each time.
13. Analyze performance bottlenecks and optimize the process of obtaining MP extents.
14. If there is an exception during the MP retrieval process, exit directly.
Signed-off-by: Victor1319 <834863182@qq.com>
2024-07-18 16:57:38 +08:00
chihe
70d7986e34
enhance(client): ignore exist error when creating parent dir in transaction mode
...
Signed-off-by: chihe <chi.he@oppo.com>
2024-07-18 16:57:38 +08:00
huyao2
60070d5696
feat(fsck): Optimize fsck gc features, including:
...
1. The before of getDpextent must be at least 3 hours smaller than the current time.
2. The use of locks in the lock extent is changed from mutual exclusion locks to read-write locks.
3. Add a time judgment when locking extent. If the time is greater than before time, it means it has been changed and it will fail.
4. Support concurrency when cleaning bad extent
5. Add verification of master and volume names
Signed-off-by: huyao2 <huyao2@oppo.com>
2024-07-18 16:57:38 +08:00
baihailong
00fdbe3dbc
fix(util): fix audit log bug, not handle shiftFiles() returned error
2024-07-18 16:57:38 +08:00
NaturalSelect
3b2a91bdf6
fix(cli): fix ui error occured by cherry-pick
...
Signed-off-by: NaturalSelect <2145973003@qq.com>
2024-07-18 16:57:38 +08:00
NaturalSelect
bcd5ff6740
fix(util): avoid lock in audit log
...
Signed-off-by: NaturalSelect <2145973003@qq.com>
2024-07-18 16:57:38 +08:00
NaturalSelect
556a452ebf
fix(util): audit log performance
...
Signed-off-by: NaturalSelect <2145973003@qq.com>
2024-07-18 16:57:38 +08:00
NaturalSelect
fa23e44ad8
feat(metanode): merge GetDataPartitionsView RPCs and GetVolumeSimpleInfo RPCs in a volume into one RPC
...
close : #1908
Signed-off-by: NaturalSelect <2145973003@qq.com>
2024-07-18 16:57:38 +08:00
NaturalSelect
daeb0e1d72
feat(metanode): audit log support master control
...
Signed-off-by: NaturalSelect <2145973003@qq.com>
2024-07-18 16:57:38 +08:00
chihe
cef4705ac2
feature(client): trash supports random interval to prevent a large number of concurrent deletions
...
Signed-off-by: chihe <chi.he@oppo.com>
2024-07-18 16:57:38 +08:00
chihe
77771938f7
bugfix(ci): fix some test case error
...
Signed-off-by: chihe <chi.he@oppo.com>
2024-07-18 16:57:38 +08:00
baijiaruo
d1e852f290
enhance(cli): Optimize get mp extent. If an mp exception is encountered, the request fails.
...
Signed-off-by: baijiaruo <baijiaruo@126.com>
2024-07-18 16:57:38 +08:00
chihe
4fd208f7f2
bugfix(client): trash will ignore nil inodeInfo when remove expired dir
...
Signed-off-by: chihe <chi.he@oppo.com>
2024-07-18 16:57:38 +08:00
baijiaruo
58fec1f635
fix(datanode): Fix the problem of extent lock error when the extent is copied in the scene
...
Signed-off-by: baijiaruo <baijiaruo@126.com>
2024-07-18 16:57:38 +08:00
NaturalSelect
b66928aa08
feat(object): support full path audit log
...
Signed-off-by: NaturalSelect <2145973003@qq.com>
2024-07-18 16:57:38 +08:00
NaturalSelect
177055f4e0
feat(meta): support back-end audit log
...
close : #2625
Signed-off-by: NaturalSelect <2145973003@qq.com>
2024-07-18 16:57:38 +08:00
chihe
6af0545e28
enchance(client): modify ParentDirPrefix
...
Signed-off-by: chihe <chi.he@oppo.com>
2024-07-18 16:57:38 +08:00
chihe
84223360b4
fix(client): trash support back-end audit
2024-07-18 16:57:38 +08:00
chihe
80c6e6417f
enhance(client): ingnore exist error when rebuild parent dir
...
Signed-off-by: chihe <chi.he@oppo.com>
2024-07-18 16:57:38 +08:00
chihe
80bdde78e0
bugfix(client): if file is not find in Current when setXattr, then try find it in expired dirs
...
Signed-off-by: chihe <chi.he@oppo.com>
2024-07-18 16:57:38 +08:00
chihe
43f112c65b
fix(client): 1.Launch new deleteWorker when deleteInterval is changed
...
2.Change the setxattr operation to synchronous.
Signed-off-by: chihe <chi.he@oppo.com>
2024-07-18 16:57:38 +08:00
baijiaruo
5b6723ab0f
enhance(cli): add fsck gc tool
...
Signed-off-by: baijiaruo <baijiaruo@126.com>
2024-07-18 16:57:38 +08:00
chihe
a6b774a2e8
fix(client): 1. use ReadDir_ll when remove expired data 2.long name add uuid subfix
...
Signed-off-by: chihe <chi.he@oppo.com>
2024-07-18 16:57:38 +08:00
chihe
5f1503d70b
enhance(client): trash read current directory in segments
...
Signed-off-by: chihe <chi.he@oppo.com>
2024-07-18 16:57:38 +08:00
Victor1319
dbb6970bdd
fix(master): tmp code
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-07-18 16:57:38 +08:00
chihe
7af24470b2
fix(client): 1.fix inode leak for trash 2. save long file name in xattr
...
Signed-off-by: chihe <chi.he@oppo.com>
2024-07-18 16:57:38 +08:00
chihe
832e745599
fix(client): add dir cache when delete expired trash dir
...
Signed-off-by: chihe <chi.he@oppo.com>
2024-07-18 16:57:38 +08:00
chihe
2356570e01
feature(client): support trash
...
Signed-off-by: chihe <chi.he@oppo.com>
2024-07-18 16:57:38 +08:00
slasher
847bdb062a
chore(ci): run ci when merging to release
...
Signed-off-by: slasher <shenjie1@oppo.com>
2024-07-18 16:57:38 +08:00
NaturalSelect
e3d08a2504
fix(master): avoid metrics panic
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-18 16:57:38 +08:00
NaturalSelect
d201f99c04
feat(master): support set decommission disk limit
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-18 16:57:38 +08:00
chihe
3b287ce496
fix(master): initial WarnMetrics before schedual tasks for master
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-18 16:57:38 +08:00
chihe
d3203d21f8
fix(master): when marking dp to start decommission, no need to concerned about the rollback times
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-18 16:57:38 +08:00
chihe
e32bdb511e
fix(master): delete decommission dst from hosts of master by force if rollback failed
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-18 16:57:38 +08:00
chihe
ceed02819a
fix(master): do not set new replica status if new replica is not found
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-18 16:57:38 +08:00
chihe
af7ae48674
feat(master): enhace audit log for master
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-18 16:57:38 +08:00
shuqiang-zheng
025ded08fb
fix(log): Fix problems that may be caused by concurrent flushing of logs.
...
@formatter:off
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2024-07-18 16:57:38 +08:00
shuqiang-zheng
eed62c913f
enhance(log): Modify the threshold triggering log to logLeftSpaceLimitRatio of the total disk space
...
@formatter:off
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2024-07-18 16:57:38 +08:00
leonrayang
76121f501d
enhance(metanode): Reduce log output and memory cost
...
Signed-off-by: leonrayang <chl696@sina.com>
2024-07-18 16:57:38 +08:00
chihe
c34141c911
fix(datanode): remove root dir for disk error dp not loaded
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-18 16:57:38 +08:00
chihe
f516e148f5
fix(master): retry auto disk decommission when bad replica is removed
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-18 16:57:38 +08:00
chihe
de3a41a473
fix(datanode): remove peers from the monitor for raft after raftFsm is stopped
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-18 16:57:38 +08:00
NaturalSelect
d012d0bf1a
fix(client): release all conns, if we meet an EOF
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-18 16:57:38 +08:00
baihailong
c37c3ead4d
fix(client): client reports file's metadata and data inconsistencies.
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-07-18 16:57:38 +08:00
NaturalSelect
c869d9366e
fix(raft): check raft wal when rebuild log index
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-18 16:57:38 +08:00
NaturalSelect
e58b1b005e
refactor(master): change audit log format
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-18 16:57:38 +08:00
chihe
db4ce8dcb0
fix(datanode): add debug log for reading extent repair packet
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-18 16:57:38 +08:00
baihailong
1e975f2116
fix(sdk): fix streamer's multi server problem.
...
Signed-off-by: baihailong <baihailong@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
Zhenzhen-Li-0618
02ad20af7d
fix(metanode): remove item may changed clone btree
...
Signed-off-by: Zhenzhen-Li-0618 <lizhenzhen0618@126.com>
2024-07-16 11:23:03 +08:00
Yu-Ang Cao
ae9ab070b9
enhance(sdk): NewMetaWrapper initializes the epoch with a random number.
...
close : #3416
Signed-off-by: Yu-Ang Cao <cyadxx@mail.ustc.edu.cn>
2024-07-16 10:50:18 +08:00
xiaojunxiang
68901bc30b
fix(doc): Correct datanode.json in cluster-deploy.md
...
Signed-off-by: xiaojunxiang <xiaojunxiang@kingsoft.com>
2024-07-16 10:30:54 +08:00
slasher
b8211ebe58
refactor(access): change access request limited to 4xx
...
. #22358245
Signed-off-by: slasher <shenjie1@oppo.com>
2024-07-15 16:38:24 +08:00
leonrayang
ef19fda5e7
feat(doc): Update the governace.md, add roadmap and sigs governace
...
Signed-off-by: leonrayang <chl696@sina.com>
2024-07-15 15:20:12 +08:00
leonrayang
6a0ae6e1bf
feat(doc): Add the document of governance in Chinese
...
Signed-off-by: leonrayang <chl696@sina.com>
2024-07-15 15:20:12 +08:00
leonrayang
c4431deb41
feat(doc): Update the doc of CONTRIBUTING.md and add guide for contributors
...
Signed-off-by: leonrayang <chl696@sina.com>
2024-07-15 15:20:12 +08:00
leonrayang
81d73dfcb0
feat(doc): Clarify the duty of maintainers and committers
...
Signed-off-by: leonrayang <chl696@sina.com>
2024-07-15 15:20:12 +08:00
xiejian
3226795533
fix(clustermgr): fix the issue of inconsistent vuid when AllocChunks is retried
...
with: ##22356967
Signed-off-by: xiejian <xiejian3@oppo.com>
2024-07-15 11:03:57 +08:00
xiejian
954ca1dd48
fix(clustermgr): fix diskmgr refresh process of repeated counting of nodes
...
with: #22350063
Signed-off-by: xiejian <xiejian3@oppo.com>
2024-07-15 11:03:57 +08:00
tangdeyi
06a0eefab8
fix(clustermgr): add node without diskType
...
with #22347840
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2024-07-15 11:03:57 +08:00
tangdeyi
7e8583f42b
fix(clustermgr): stabilize setID allocation result
...
with #22338769
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2024-07-15 11:03:57 +08:00
tangdeyi
dfc8a327e6
fix(clustermgr): nodeSetIdcCap conf init
...
with #22335363
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2024-07-15 11:03:57 +08:00
tangdeyi
a5be58eaf3
fix(clustermgr): reserve nodeset/diskset when all nodes/disks are not in use
...
with #22331837
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2024-07-15 11:03:57 +08:00
mawei029
c96e97f097
fix(tools): blobnode check dropped disk, fix disks count beyound 10, with marker and count
...
Signed-off-by: mawei029 <mawei2@oppo.com>
with: #22328399 of #22196596
2024-07-15 11:03:57 +08:00
xiejian
fad52a9b44
fix(clustermgr): fix diskmgr refresh panic when spaceStatInfo is not initialized in compatibility mode
...
with: #22330124
Signed-off-by: xiejian <xiejian3@oppo.com>
2024-07-15 11:03:57 +08:00
tangdeyi
1406c74d41
fix(clustermgr): remove nodeSetIdcCap config
...
with #22328795
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2024-07-15 11:03:57 +08:00
tangdeyi
ad4e1a2fcb
fix(clustermgr): diskSet capacity limit
...
with #22327756
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2024-07-15 11:03:57 +08:00
Cloudstriff
2cdd890664
fix(clustermgr): fix ec volume with different disk type chunk problem
...
with #22325238
Signed-off-by: Cloudstriff <chenjiongwendao@qq.com>
2024-07-15 11:03:57 +08:00
mawei029
659930fa44
feat(tools): check chunk clean of dropped disk, blobnode cli tools
...
with: #22282964 of #22160501
Signed-off-by: mawei029 <mawei2@oppo.com>
2024-07-15 11:03:57 +08:00
tangdeyi
1e6c86cc5c
fix(clustermgr): copyset config default value
...
with #22313190 #22315591
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2024-07-15 11:03:57 +08:00
Cloudstriff
546dc881b9
feat(blobnode): fix repair shard timeout return 500 code problem
...
with #22315849
Signed-off-by: Cloudstriff <chenjiongwendao@qq.com>
2024-07-15 11:03:57 +08:00
Cloudstriff
f8d40dd199
fix(clustermgr): fix unlock volume force while volume is unlocking
...
with #22304241
Signed-off-by: Cloudstriff <chenjiongwendao@qq.com>
2024-07-15 11:03:57 +08:00
slasher
bcc476d639
chore(common): codemode tactic valid with replicated
...
@formatter:off
Signed-off-by: slasher <shenjie1@oppo.com>
2024-07-15 11:03:57 +08:00
tangdeyi
dc9b760635
fix(clustermgr): ec volume unit alloc
...
with #22303365
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2024-07-15 11:03:57 +08:00
tangdeyi
cd0234a101
fix(clustermgr): add existed disk return created status
...
with #22295049
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2024-07-15 11:03:57 +08:00
tangdeyi
f57777b915
fix(clustermgr): ban add node without changing host and add disk to dropped node
...
with #22289797 #22290300
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2024-07-15 11:03:57 +08:00
xiejian
0de0a8d38e
fix(clustermgr): check task codemode by mode tactic
...
with: #22201875
Signed-off-by: xiejian <xiejian3@oppo.com>
2024-07-15 11:03:57 +08:00
JasonHu520
793a8080ea
fix(scheduler): fix statics of scheduler incorrect
...
with: #22283199 of #22283174
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2024-07-15 11:03:57 +08:00
slasher
4fd4e71198
fix(access): new back ground context for flush volume in proxy
...
. #22285709
Signed-off-by: slasher <shenjie1@oppo.com>
2024-07-15 11:03:57 +08:00
tangdeyi
4b9bf234e6
fix(clustermgr): validate role when add node
...
with #22283384
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2024-07-15 11:03:57 +08:00
mawei029
21ca13f370
fix(bssdk): add limit name rps
...
with: #22256852 of #22160501
Signed-off-by: mawei029 <mawei2@oppo.com>
2024-07-15 11:03:57 +08:00
tangdeyi
dc91b64e02
fix(clustermgr): add error msg
...
with #22283083
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2024-07-15 11:03:57 +08:00
xiejian
266f000adc
fix(clustermgr): complete the error code message
...
with: #22204241 #22201875
Signed-off-by: xiejian <xiejian3@oppo.com>
2024-07-15 11:03:57 +08:00
xiejian
eb5b423fed
fix(clustermgr): compatible with old version blobnode alloc chunks retry
...
with #22282411
Signed-off-by: xiejian <xiejian3@oppo.com>
2024-07-15 11:03:57 +08:00
mawei029
399613b0f9
refact(blobnode): we need re-add all disk, when first add node
...
Signed-off-by: mawei029 <mawei2@oppo.com>
with: #22265425 of #22160501
2024-07-15 11:03:57 +08:00
tangdeyi
4c8f8892be
feat(clustermgr): clustermgr support copyset
...
1.allow disk register again to diskSet
2.remove allocNodeID and add getTopoInfo
with #22271762 #22271777 #22271792
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2024-07-15 11:03:57 +08:00
xiejian
4d1601ee7a
feat(clustermgr): support create replica volume
...
with #22040215
Signed-off-by: xiejian <xiejian3@oppo.com>
2024-07-15 11:03:57 +08:00
tangdeyi
c1c66d0111
feat(clustermgr): clustermgr support copyset
...
1. add nodeAdd and nodeDrop api
2. add topoMgr struct
3. do refactor for copy set change
with #22171901 #22040204
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2024-07-15 11:03:57 +08:00
JasonHu520
63e940b9e6
refactor(consul): consul client support acl token
...
with: #22274526 of #22040204
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2024-07-15 11:03:57 +08:00
mawei029
3acf81f151
refactor(blobnode): report network flow metric with io type
...
with: #22236519 of #22160501
with: #22237444 of #22160501
Signed-off-by: mawei029 <mawei2@oppo.com>
2024-07-15 11:03:57 +08:00
Cloudstriff
f7f3d119b1
build(blobstore): replace target path of blobstore go build with current dir
...
with #22109605
Signed-off-by: Cloudstriff <chenjiongwendao@qq.com>
2024-07-15 11:03:57 +08:00
mawei029
653dcacd76
feat(blobnode): register node and disk to cm, support copy set
...
with: #22196753 of #22160501
Signed-off-by: mawei029 <mawei2@oppo.com>
2024-07-15 11:03:57 +08:00
xiejian
84567b8d67
feat(blobnode): put shard time out return error code 675
...
with: #22201875 of #22040231
Signed-off-by: xiejian <xiejian3@oppo.com>
2024-07-15 11:03:57 +08:00
xiejian
690c26fe43
feat(clustermgr): cm background worker return unsupported replica mode error
...
with: #22201875 of #22040231
Signed-off-by: xiejian <xiejian3@oppo.com>
2024-07-15 11:03:57 +08:00
JasonHu520
2f688bbe94
refactor(common): auto set the default value of task switch key to cm
...
with: #22213629 of #22040231
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2024-07-15 11:03:57 +08:00
Cloudstriff
1102e822f0
fix(clustermgr): applying dropping disk progress add disk status filter
...
applying dropping disk progress add disk status filter, avoid add
dropping disk repeatedly after disk dropped concurrently
with #22212160
Signed-off-by: Cloudstriff <chenjiongwendao@qq.com>
2024-07-15 11:03:57 +08:00
tangdeyi
648e5cb9f3
feat(clustermgr): node/disk struct and node api
...
with #22209997
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2024-07-15 11:03:57 +08:00
xiejian
fc422bfe56
feat(clustermgr): support force unlock volume
...
with: #22173138
Signed-off-by: xiejian <xiejian3@oppo.com>
2024-07-15 11:03:57 +08:00
slasher
a0efbcb5be
feat(rpc): disable unique host on the same host if failed
...
. #22182990 of #22109605
Signed-off-by: slasher <shenjie1@oppo.com>
2024-07-15 11:03:57 +08:00
slasher
a792e031ff
feat(access): reset clustermgr client if hosts changed
...
. #22182997 of #22109605
Signed-off-by: slasher <shenjie1@oppo.com>
2024-07-15 11:03:57 +08:00
mawei029
1d19da99db
refactor(blobnode): disk mount check during blobnode process startup
...
with: #22181981 of #22160501
Signed-off-by: mawei029 <mawei2@oppo.com>
2024-07-15 11:03:57 +08:00
linfangrong
2648d5ba06
fix(metanode): metaPartition Reset, release memory when deletePartition
...
Signed-off-by: linfangrong <linfangrong.liuxin@qq.com>
2024-07-12 16:35:53 +08:00
NaturalSelect
488ff7434f
test(master): fix unit tests
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-05 17:05:43 +08:00
chihe
e887af06c2
fix(master): if special dp is decommissioned, disk manager check recovery progress for new replica
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-05 17:05:43 +08:00
chihe
e39425fe83
feat(master): enhance for replica mata
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-05 17:05:43 +08:00
chihe
7a6febec4b
feat(cli): add decommissioned disks info for datanode node info display
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-05 17:05:43 +08:00
chihe
d303bc8d3b
fix(master): validate the existence of the disk and node when performing disk decommission
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-05 17:05:43 +08:00
chihe
fadbdb3ebd
feat(master): do not check decommission condition when raftForce is setted
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-05 17:05:43 +08:00
chihe
65ee50a40a
fix(cli): cli can display dps encountering IO errors during loading
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-05 17:05:43 +08:00
chihe
d0ec3febe2
feat(master): exclude decommission src when acquiring token
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-05 17:05:43 +08:00
chihe
352662ad60
fix(datanode): raise disk error when dp persist applied id
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-05 17:05:43 +08:00
chihe
f3f98060ec
feat(master): decommission all dp from disk if threshold for bad dp on disk is not set
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-05 17:05:43 +08:00
chihe
c3c35e40f3
fix(datanode): replica for dp can only be updated by raft member change
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-05 17:05:43 +08:00
Victor1319
523a04de95
fix(data): persist dp meta only when create dp to avoid reset apply id 0.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-07-05 17:05:43 +08:00
NaturalSelect
fdec047ee4
feat(master): support abort disk decommission
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-05 17:05:43 +08:00
NaturalSelect
0a158c3e96
feat(master): support query decommission failed disks
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-05 17:05:43 +08:00
NaturalSelect
a1d27d729e
feat(data): limit rw dp decrease count at once
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-05 17:05:43 +08:00
NaturalSelect
3b03341425
feat(master): support max mp cnt limit
...
@formatter:off
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-05 17:05:43 +08:00
NaturalSelect
14ce5dc2cd
test(master): fix unit tests
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-05 17:05:43 +08:00
shuqiang-zheng
3726ccf80d
feature(master): If the dpCount is less than 10 when creating a volume, change it to 10.
...
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
@formatter:off
2024-07-05 17:05:43 +08:00
W9068822
470967aae4
feat(ci): fix format failed.
...
Signed-off-by: W9068822 <v-lijianrong1@oppo.com>
2024-07-05 17:05:43 +08:00
NaturalSelect
3f529a7b78
feat(master): if all disks decommissioned, not allow to alloc dp on datanode
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-05 17:05:43 +08:00
chihe
d5851c01a4
feat(master): if special replica dp has reduant replica when marking decommission, return failed
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-05 17:05:43 +08:00
NaturalSelect
25098c069f
feat(meta): batch delete extents in delete extent channel
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-05 17:05:43 +08:00
chihe
292943e3f8
fix(datanode): enhance for raft panic
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-05 17:05:43 +08:00
NaturalSelect
f3e17deaad
fix(data): refactor snapshot extent deletion
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-05 17:05:43 +08:00
NaturalSelect
81f99aab29
feat(master): support master decomm audit log
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-05 17:05:43 +08:00
chihe
a59916a028
fix(datanode): when adding raft member,return failed if nodeID is different from meta replica
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-05 17:05:43 +08:00
chihe
9a6ae28c4b
feat(master): delete dp from badparitionIds when exceeding maximum rollback attempts.
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-05 17:05:43 +08:00
chihe
905cef0868
fix(datanode): if raft trigger disk io when persisting wal logs, do not raise data server panic
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-05 17:05:43 +08:00
NaturalSelect
495b8e4d77
fix(data): batch delete normal extent not punch del, if disable snap
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-05 17:05:43 +08:00
Victor1319
5f72c26013
fix(data): When a disk operation error occurs, only stop the current raft.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-07-05 17:05:43 +08:00
chihe
ba31ce154c
feat(master): support query for auto decommission progress
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-05 17:05:43 +08:00
chihe
3ecdbe0af0
feat(master): enhance for auto decommission
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-05 17:05:43 +08:00
chihe
f704f3fdac
feat(cli): add report for disk error dp replica for cli
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-05 17:05:43 +08:00
chihe
3455d2965b
feat(master,datanode): support recover meta for data replica
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-02 16:35:56 +08:00
chihe
74d9bc806a
fix(master): check peers length and content for replica
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-02 16:35:56 +08:00
chihe
e2433de194
fix(master): don't set new created replica status to unavailable for specail dp
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-02 16:35:56 +08:00
chihe
1172101007
fix(datnode): validata pair.Size in FormatSize
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-02 16:35:56 +08:00
chihe
34dce27cc4
feat(master): add api for checking meta for dp replica with meta for dp keeped in master
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-02 16:35:56 +08:00
chihe
65d3ce1410
fix(datanode): only remove redundant raft memeber when single replicum dp is noleader
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-02 16:35:56 +08:00
chihe
569023a181
fix(master): when special replicum dp retry decommission, do not check recover flag
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-02 16:35:56 +08:00
chihe
755a827cdb
fix(datanode): when datanode remove raft memeber, use local nodeID
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-02 16:35:56 +08:00
NaturalSelect
96ed7fd818
fix(master): persist decommission error message
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-02 16:35:56 +08:00
chihe
d0fd485af7
fix(master): don't delete excess replica for the dp excuting decommission operation
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-02 16:35:56 +08:00
Victor1319
e169e23dc6
fix(data): Use usedCap as totalCap when usedCap bigger than totalCap.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-07-02 16:35:56 +08:00
chihe
3ab2260b3a
fix(master): A leaderless single replica can self-recover into a state with a leader
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-02 16:35:56 +08:00
chihe
78b692b207
fix(master): remove replica by force when reaching max rollback retry
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-02 16:35:56 +08:00
chihe
dcf3215333
fix(master): when reaching retry max, don't reset decommission dst
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-02 16:35:56 +08:00
NaturalSelect
389875a4c1
fix(master): data race may happens when background goroutine update decommission status
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-02 16:35:56 +08:00
chihe
f0f94e77c4
fix(master): set dp as rollback failed when the maximum of token retrieval failures is reached
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-02 16:35:56 +08:00
W9068822
f8db5d104b
enchance(master): limit parameter count to 10 each time MP is created
...
Signed-off-by: W9068822 <v-lijianrong1@oppo.com>
2024-07-02 16:35:56 +08:00
NaturalSelect
25fd340c39
fix(data): avoid panic when remove dp
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-02 16:35:56 +08:00
chihe
7167c72b59
feature(master): QueryDataNodeDecoProgress supports error message
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-02 16:35:56 +08:00
chihe
f9fb1e6fa9
fix(master): release token before reset deocmmission dst
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-02 16:35:56 +08:00
NaturalSelect
a250c250c3
refactor(master): check dp when sync update
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-02 16:35:56 +08:00
NaturalSelect
7329d1f1e8
feat(master): check datapartition status when set dp discard
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-02 16:35:56 +08:00
NaturalSelect
9ca77ba7aa
feat(master): if dp is discard, decommission will success directly
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-02 16:35:56 +08:00
NaturalSelect
1d0afe8602
fix(client): close tmpConn correctly
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-02 16:35:56 +08:00
NaturalSelect
19fe22876a
fix(client): use tmp conn to avoid reorder packet
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-02 16:35:56 +08:00
S9054862
d6532c1794
fix(client): treat try again error as a special error
...
Signed-off-by: S9054862 <huangzhibin1@oppo.com>
2024-07-02 16:35:56 +08:00
true1064
1462bbe944
refactor(master): add a new field indicating whether the volume is readonly
...
Signed-off-by: tangjingyu <tangjingyu@oppo.com>
2024-07-02 16:35:56 +08:00
chihe
a82fbc56e6
fix(master): dp with sepcical replicum delete decommission src raft failed, not reset src
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-02 16:35:56 +08:00
chihe
9d2ddde089
fix(datanode): single dp use delete new raft member with raftForce when rolling back
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-02 16:35:56 +08:00
chihe
7fa9beba0e
fix(master): restore the decommission progress of dp with special replica number when master restart
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-02 16:35:56 +08:00
NaturalSelect
18e83cd45d
fix(cli): foramt decommission dp info
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-02 16:35:56 +08:00
NaturalSelect
610e6bd457
feat(master): support auto decommission disk and config
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-02 16:35:56 +08:00
chihe
08f46f88e8
fix(master): display progress when decommission failed datanode restart
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-02 16:35:56 +08:00
NaturalSelect
38bd1924e0
fix(cli): datapartition query-progress
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-07-02 16:35:56 +08:00
true1064
0dbc434c36
fix(meta): To correctly determine whether the inode should be deleted when unlink
...
Signed-off-by: tangjingyu <tangjingyu@oppo.com>
2024-07-02 16:35:56 +08:00
true1064
356e2406d7
fix(meta): check if inode exists in function ExtentsList
...
Signed-off-by: tangjingyu <tangjingyu@oppo.com>
2024-07-02 16:35:56 +08:00
slasher
4bfad9399b
chore(doc): improving the developer process
...
Signed-off-by: slasher <shenjie1@oppo.com>
2024-07-01 18:37:25 +08:00
S9054862
8ad316ecfc
feat(data): repair block size support master config
...
Signed-off-by: S9054862 <huangzhibin1@oppo.com>
2024-07-01 15:09:55 +08:00
leonrayang
4ee2208263
feat(master): Optimize logic of uid calculate for better performance
...
1.use channel to instead of lock and isolate with main heartbeat routine
2.calculate in an aysnchoronus way periodically instead of real time
3.move heartbeat outside the goroutine, the startup of goroutine may delay the response time
Signed-off-by: leonrayang <changliang@oppo.com>
2024-07-01 15:09:55 +08:00
chihe
2b26a1fbcb
enhance(master): if host 0 is down for 10 minutes during repairing, mark dp decomission failed
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-01 15:09:55 +08:00
chihe
1330695c0f
fix(datnode): get copy of dp replica when excuting updateMaxMinAppliedID
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-01 15:09:55 +08:00
chihe
a52614d955
fix(master): put success or failed dp to decommission list when reloading meta adjust debug level
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-01 15:09:55 +08:00
W9068822
63f1cbd41b
fix(master): fix get DP compression data, update cached data when needsUpdate is true
...
Signed-off-by: W9068822 <v-lijianrong1@oppo.com>
2024-07-01 15:09:55 +08:00
chihe
199353bcae
debug(master): add debug log
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-01 15:09:55 +08:00
chihe
b4ab10a1aa
fix(master): reset decommissoin dst if decommissioning dp failed
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-01 15:09:55 +08:00
chihe
ee7ece407c
enhance(datanode): add log for extent repair speed
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-01 15:09:55 +08:00
chihe
db6f8ab0ec
fix(datanode): packerror if get extent token failed
...
Signed-off-by: chihe <chihe@oppo.com>
2024-07-01 15:09:55 +08:00
Victor1319
6d53e5667e
fix(data): fix nil poniter bug when invoke partition api for repair replica.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-07-01 15:09:55 +08:00
Victor1319
119755987a
feat(master): Optimizing Volume Deletion Performance and Speed.
...
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-07-01 15:09:55 +08:00
leonrayang
cef58ab3db
feat(doc): Correct minor issues and clarify certain decision-making processes
...
In particular, improve the necessary requirements and decision-making process
for becoming a committer or maintainer.
Signed-off-by: leonrayang <chl696@sina.com>
2024-06-07 19:38:33 +08:00
leonrayang
b87f2387eb
feat(doc): Update the documentation for Release.md
...
update the documentation for Release.md as its filename's capitalization
does not match other .md files,and add more detailed information.
Signed-off-by: leonrayang <chl696@sina.com>
2024-05-31 11:49:24 +08:00
leonrayang
03c6917cea
feat(doc): Update the document of the roadmap as the branch name has been changed
...
Make slight adjustments to the test name
Signed-off-by: leonrayang <chl696@sina.com>
2024-05-31 11:49:24 +08:00
slasher
49180bf576
fix(access): init upload token once
...
. #22237333 of #22237300
Signed-off-by: slasher <shenjie1@oppo.com>
2024-05-29 19:34:47 +08:00
leonrayang
f0947021c9
feat(doc): Update the Governance Document
...
Signed-off-by: leonrayang <chl696@sina.com>
2024-05-27 15:54:29 +08:00
slasher
59538d3a98
feat(common): apply http argument parser in nodes
...
. #22032841 of #22032813
Signed-off-by: slasher <shenjie1@oppo.com>
2024-05-24 10:43:02 +08:00
slasher
e0961daeb1
feat(common): add http argument parser
...
. #22032837 of #22032813
Signed-off-by: slasher <shenjie1@oppo.com>
2024-05-24 10:43:02 +08:00
leonrayang
333c267ff5
feat(doc): Add the documentation of dependency details according to go.mod
...
and indicate CNCF projects
Signed-off-by: leonrayang <chl696@sina.com>
2024-05-24 10:27:02 +08:00
leonrayang
5688cb9df7
feat(doc): Update the document of Versioning support by CubeFS
...
Signed-off-by: leonrayang <chl696@sina.com>
2024-05-24 10:27:02 +08:00
leonrayang
0d8d15f017
feat(doc): Add documentation on the rules for branches, releases, and versions.
...
Signed-off-by: leonrayang <chl696@sina.com>
2024-05-23 10:47:09 +08:00
mingwei
fb0fb8861f
fix(doc): fix readme pic's url and some name
...
Signed-off-by: mingwei <gongmingwei@oppo.com>
2024-05-23 10:23:08 +08:00
zhangchuanqing1
dacb598dc4
feat(doc): Add Chuanqing Zhang to be a committer.
...
Signed-off-by: zhangchuanqing1 <zhangchuanqing1@jd.com>
2024-05-22 16:19:54 +08:00
Huweicai
5d8120d7c2
refactor(master): remove redundant logging Sprintf
...
Signed-off-by: Huweicai <i@huweicai.com>
2024-05-21 11:22:15 +08:00
mingwei
f20edb00cf
docs(all): update docs architecture
...
update the chinese and english docs architecture
Signed-off-by: mingwei <gongmingwei@oppo.com>
2024-05-21 10:42:30 +08:00
mawei029
b216b19a99
refactor(access): optimized read process and retry put
...
with: #22187720 of #22040152
Signed-off-by: mawei029 <mawei2@oppo.com>
2024-05-21 10:17:28 +08:00
slasher
437c4f2126
feat(bssdk): blobstore sdk logger defined with interface
...
. #22181060
Signed-off-by: slasher <shenjie1@oppo.com>
2024-05-21 10:17:28 +08:00
JasonHu520
f07065701f
fix(scheduler): solve dead lock problem for drop manager
...
with: #22173113 of #22172987
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2024-05-21 10:17:28 +08:00
slasher
5daaa9e19a
chore(access): change access config default values
...
1. MaxHostRetry = 0, means to retry all hosts.
2. FailRetryIntervalS = 300, means setting host to fail queue 5 minutes.
3. ServiceIntervalS = 300, means discovering service per 5 minutes.
with #22166504 of #22166054
Signed-off-by: slasher <shenjie1@oppo.com>
2024-05-21 10:17:28 +08:00
slasher
64cbc677a1
chore(access): add retry get body function in put args
...
with #22167497 of #22166054
Signed-off-by: slasher <shenjie1@oppo.com>
2024-05-21 10:17:28 +08:00
Cloudstriff
1895af4822
feat(taskpool): add task pool running API support
...
with #22040110
Signed-off-by: Cloudstriff <chenjiongwendao@qq.com>
2024-05-21 10:17:28 +08:00
mawei029
944aceba8d
fix(blobnode): releaseEpochChunk the release chunk file is not thorough
...
with: #22164756 of #22134387
Signed-off-by: mawei029 <mawei2@oppo.com>
2024-05-21 10:17:28 +08:00
tangdeyi
24387698c1
fix(clustermgr): fix used space when disk readonly
...
with #22159693 #22202452
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2024-05-21 10:17:28 +08:00
tangdeyi
0b3afe0869
perf(clustermgr): remove shard volume balance
...
with #22058112
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2024-05-21 10:17:28 +08:00
mawei029
a7af9fadc6
refactor(access): support alloc+putat part process
...
with: #22131293 of #22040152
with: #22125770 of #22040152
Signed-off-by: mawei029 <mawei2@oppo.com>
2024-05-21 10:17:28 +08:00
mawei029
f52ea9ffc4
refactor(access): move stream files to stream directory
...
with: #22125787 of #22040152
Signed-off-by: mawei029 <mawei2@oppo.com>
2024-05-21 10:17:28 +08:00
mawei029
33384a343a
refactor(access): support putat and alloc
...
with: #22125770 of #22040152
Signed-off-by: mawei029 <mawei2@oppo.com>
2024-05-21 10:17:28 +08:00
mawei029
01cdb54b3c
feat(access): support sdk, merge blobstore access into cubefs sdk
...
with: #22095487 of #22040152
Signed-off-by: mawei029 <mawei2@oppo.com>
2024-05-21 10:17:28 +08:00
xiejian
fcd5023bde
test(blobstore): remove inconsistent results in different environments
...
with #22119364
Signed-off-by: xiejian <xiejian3@oppo.com>
2024-05-21 10:17:28 +08:00
slasher
589b10460a
feat(common): start profile http before main server been loaded
...
. #22119364 of #22040110
Signed-off-by: slasher <shenjie1@oppo.com>
2024-05-21 10:17:28 +08:00
tangdeyi
de81e3d98b
perf(clustermgr): volume allocation optimization
...
. #22058112
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2024-05-21 10:17:28 +08:00
shuqiang-zheng
9abd9ab35d
feat(doc): Add Shuqiang Zheng to be a committer.
...
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2024-05-20 17:34:22 +08:00
leonrayang
299ddcc6bc
feat(doc): Update the document of adopters
...
Signed-off-by: leonrayang <chl696@sina.com>
2024-05-15 16:41:04 +08:00
BillXiang
25074c5d0c
fix(metanode): return OpNotExistErr when inode does not exist in CheckQuota to not retry
...
Signed-off-by: BillXiang <xiangwencheng@gmail.com>
2024-05-14 16:43:08 +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
leonrayang
c2ea1de3d4
feat(doc): Update the document of adopters
...
Signed-off-by: leonrayang <chl696@sina.com>
2024-05-09 20:07:30 +08:00
leonrayang
82c1b64aaa
feat(doc): Update the document of versioning support by CubeFS
...
Signed-off-by: leonrayang <chl696@sina.com>
2024-05-09 11:07:27 +08:00
slasher
9e0161a843
fix(blobstore): fix metric to microsecond of response duration
...
Signed-off-by: slasher <shenjie1@oppo.com>
2024-05-07 15:25:13 +08:00
leonrayang
89ffec03f0
feat(doc): Update the document of the roadmap
...
Signed-off-by: leonrayang <changliang@oppo.com>
2024-05-06 10:40:03 +08:00
leonrayang
63abbb9e57
feat(doc): "Update the document of the roadmap to improve readability
...
include features that are in preparation but not yet scheduled.
Signed-off-by: leonrayang <changliang@oppo.com>
2024-04-30 15:01:32 +08:00
leonrayang
0a6a5724c9
feat(doc): Update the document of contributing
...
Signed-off-by: leonrayang <changliang@oppo.com>
2024-04-30 14:50:13 +08:00
leonrayang
a4248db8ae
feat(doc): Update the Governance Document
...
Signed-off-by: leonrayang <changliang@oppo.com>
2024-04-29 15:51:02 +08:00
slasher
d4fabb57f2
docs(template): change tips of pull request template as comment
...
Signed-off-by: slasher <shenjie1@oppo.com>
2024-04-25 14:34:33 +08:00
mawei029
851afbb5ff
refactor(blobnode): wait all chunk file is remove, and then close disk handler
...
with: #22095475 of #22019399
Signed-off-by: mawei029 <mawei2@oppo.com>
2024-04-25 10:27:27 +08:00
mawei029
6a95856248
fix(blobnode): initialize the config of chunk clean interval sec
...
with: #22095475 of #22019399
Signed-off-by: mawei029 <mawei2@oppo.com>
2024-04-25 10:27:27 +08:00
mawei029
304b0e5a2d
fix(blobnode): wait all physics chunk file is remove, and then close disk handler
...
with: #22095475 of #22019399
Signed-off-by: mawei029 <mawei2@oppo.com>
2024-04-25 10:27:27 +08:00
slasher
9c9cbad5e4
chore(util): rename deprecated ioutil
...
with #21965980
Signed-off-by: slasher <mcq.sejust@gmail.com>
2024-04-25 10:27:27 +08:00
slasher
a8a4717f19
docs(action): update scorecard analysis action yaml
...
Signed-off-by: slasher <shenjie1@oppo.com>
2024-04-24 15:57:38 +08:00
Victor1319
28313b46f6
docs(docs): add docs about v3.3.2.
...
1. update change log.
2. add doc for volume delay deletion.
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-04-23 19:05:24 +08:00
morphes1995
b8c26ba20f
feat(cli): cfs-cli add functionality to show disk info
...
Signed-off-by: morphes1995 <morphes1995@gmail.com>
2024-04-19 14:06:35 +08:00
JasonHu520
38d6d23249
fix(scheduler): solve load panic issue while count junk task wrote by timeout task kv operation
...
with: #22023547 of #22019399
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2024-04-17 16:29:24 +08:00
JasonHu520
5e1d7bf6db
fix(scheduler): fix generate duplicated task for chunk
...
with: #22023547 of #22019399
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2024-04-17 16:29:24 +08:00
mawei029
e587396b56
fix(scheduler): fix statistics of disk drop
...
with: #22023563 of #22019399
Signed-off-by: mawei029 <mawei2@oppo.com>
2024-04-17 16:29:24 +08:00
mawei029
f0d3d52eef
fix(scheduler): fix cannot delete bid, warning must mark delete
...
with: #22023547 of #22019399
Signed-off-by: mawei029 <mawei2@oppo.com>
2024-04-17 16:29:24 +08:00
JasonHu520
854d6503d6
fix(scheduler): fix load disk drop task panic problem
...
with: #22023547 of #22019399
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2024-04-17 16:29:24 +08:00
JasonHu520
1bb497b83c
feat(limit): add acquire with context function for blocking limit
...
1. this provides context arg to control the time of waiting limit
with: #22023547 of #22019399
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2024-04-17 16:29:24 +08:00
mawei029
ffea75f9a6
refactor(scheduler): update process of drop disk for scheduler
...
with: #22023547 of #22019399
Signed-off-by: mawei029 <mawei2@oppo.com>
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2024-04-17 16:29:24 +08:00
mawei029
16963e947a
test(scheduler): add ut for improving disk drop concurrency performance
...
with: #22023563 of #22019399
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
Signed-off-by: mawei029 <mawei2@oppo.com>
2024-04-17 16:29:24 +08:00
mawei029
fada020c27
perf(scheduler): disk drop concurrency, release limit on finish, task limit when load
...
with: #22023563 of #22019399
Signed-off-by: mawei029 <mawei2@oppo.com>
2024-04-17 16:29:24 +08:00
JasonHu520
a486320433
perf(scheduler): improve disk drop concurrency performance
...
with: #22023547 of #22019399
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2024-04-17 16:29:24 +08:00
morphes1995
f0d42ff42f
fix(datanode): fix some typo error
...
Signed-off-by: morphes1995 <morphes1995@gmail.com>
2024-04-15 11:10:56 +08:00
leonrayang
6f723d725b
feat(doc): Update maintainer list according to activity and add steering commitee member
...
Signed-off-by: leonrayang <changliang@oppo.com>
2024-04-12 11:31:24 +08:00
slasher
d6577c7faa
chore(doc): improve pull request template content
...
closes #3305
Signed-off-by: slasher <shenjie1@oppo.com>
2024-04-07 20:31:09 +08:00
slasher
bdffd66650
feat(cli): auto format struct and table
...
with #21965811
Signed-off-by: slasher <shenjie1@oppo.com>
2024-03-29 14:22:29 +08:00
shuqiang-zheng
e59f07a084
feat(reconstruct): gofmt by gofumpt.
...
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2024-03-28 11:43:55 +08:00
shuqiang-zheng
cffcc4bbfd
fix(master): Modify the execution order of deletion after freezing.
...
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2024-03-28 11:43:55 +08:00
shuqiang-zheng
af739c6a3f
fix(master): Fix the problem of updating a cold volume when cachecap and replicaNum is all 0.
...
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2024-03-28 11:43:55 +08:00
shuqiang-zheng
42fa6628f4
enhance(cli): Modifying Volume Deletion Related Error Messages.
...
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2024-03-28 11:43:55 +08:00
shuqiang-zheng
6d0de0df25
fix(master): Fixed the problem that delayed deleted volumes do not support migration.
...
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2024-03-28 11:43:55 +08:00
shuqiang-zheng
452d2a3239
enhance(cli): Dynamically configure volDeletionDelayTime through the interface.
...
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2024-03-28 11:43:55 +08:00
shuqiang-zheng
325694a4f7
enhance(cli): Add query interface to show the current delayed deletion time of the volume.
...
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2024-03-28 11:43:55 +08:00
shuqiang-zheng
7be84be6fa
fix(master): Fix the bug that when the configured delayDeletionTime is changed.
...
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2024-03-28 11:43:55 +08:00
shuqiang-zheng
dea6c736c5
feat(master): Add a configuration item to determine if freezing before volume deletion.
...
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2024-03-28 11:43:55 +08:00
shuqiang-zheng
ae3b170fe6
feat(master): Make a volume unreadable when it freezes..
...
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2024-03-28 11:43:55 +08:00
shuqiang-zheng
9c5185e9be
feat(master): Freeze the volume when performing volume deletion.
...
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2024-03-28 11:43:55 +08:00
BillXiang
e11d3cd638
fix(client): write qos of hot volume
...
Signed-off-by: BillXiang <xiangwencheng@gmail.com>
2024-03-27 15:14:45 +08:00
leonrayang
d740ec0654
feat(reconstruct): gofmt by gofumpt
...
Signed-off-by: leonrayang <changliang@oppo.com>
2024-03-27 14:24:50 +08:00
leonrayang
f117df54cf
fix(code merge): Raft Partition mock be missed before
...
Signed-off-by: leonrayang <changliang@oppo.com>
2024-03-27 14:24:50 +08:00
NaturalSelect
3fefda48fe
test(master): fix decommission unit test
...
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-03-27 14:24:50 +08:00
chihe
92b2dcaff8
feature(master):support reset decommission dp status for datanode with no dp left
...
close#21938887
Signed-off-by: chihe <chihe@oppo.com>
2024-03-27 14:24:50 +08:00
chihe
566401114b
fix(master): restore dp host if adding replica failed
...
close:#22010510
Signed-off-by: chihe <chihe@oppo.com>
2024-03-27 14:24:50 +08:00
shuqiang-zheng
8b7924818f
debug(master): Print task-specific information about master's processing of dataNode heartbeat responses.
...
close : #22000400
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2024-03-27 14:24:50 +08:00
chihe
da7dbeec15
fix(master): fix complie error for last commit
...
close:#21938898
Signed-off-by: chihe <chihe@oppo.com>
2024-03-27 14:24:50 +08:00
chihe
e9386a85f9
enhance(master): decommission failed dp without reaching rollback retry maximun can be put into decommission list
...
close:#21938898
Signed-off-by: chihe <chihe@oppo.com>
2024-03-27 14:24:50 +08:00
chihe
78d380a60a
enhance(datanode): remove mutex for extent repair read
...
close:#21999366
Signed-off-by: chihe <chihe@oppo.com>
2024-03-27 14:24:50 +08:00
chihe
be9c0c9896
fix(datanode): if get extent repair read token for disk failed, release read token for datanoe
...
close:#21999366,#21999177,#21999095
Signed-off-by: chihe <chihe@oppo.com>
2024-03-27 14:24:50 +08:00
Victor1319
9d3073f869
feat(data): Optimizing Network Connections for datanode. #21971464
...
1. fix dirty net connection problem.
2. not user connection pool when enableSumxPool
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-03-27 14:24:50 +08:00
chihe
597ee1ac10
fix(master): a rollback is still required, even if the rollback conditions have not been triggered, when reached retry max
...
close:#21938898
Signed-off-by: chihe <chihe@oppo.com>
2024-03-27 14:24:50 +08:00
chihe
f3c0006e1d
fix(datanode):Don't delete datapartition when removing raft member
...
close:#21952262
Signed-off-by: chihe <chihe@oppo.com>
2024-03-27 14:24:50 +08:00
NaturalSelect
df58ccb9b4
feat(master): show error message when decommission dp fails
...
close : #21952214
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-03-27 14:24:50 +08:00
chihe
a3ce619a78
feat(master): retry decommission for failed dp first
...
close:##21952214
Signed-off-by: chihe <chihe@oppo.com>
2024-03-27 14:24:50 +08:00
leonrayang
7c1382d762
feat(reconstruct): reconstruct code
...
Signed-off-by: leonrayang <changliang@oppo.com>
2024-03-27 14:24:50 +08:00
leonrayang
04fe04ede7
reconstruct(metanode): reconstruct dir snapshot deletion subprocess
...
Signed-off-by: leonrayang <changliang@oppo.com>
2024-03-27 14:24:50 +08:00
leonrayang
8e0f73b9c3
fix(datanode): Don't use zero for indicating completion in the load partition and Raft status
...
avoid conflicts with the initial value
close:#21991650
Signed-off-by: leonrayang <changliang@oppo.com>
2024-03-27 14:24:50 +08:00
leonrayang
7b93604b34
fix(datanode): dp may on decommision while doing auto compute crc, so change it to warn
...
close:#21979158
Signed-off-by: leonrayang <changliang@oppo.com>
2024-03-27 14:24:50 +08:00
chihe
1de4e44d55
feat(master): auto reduce redundant replica if rolling back
...
close:#21993948
Signed-off-by: chihe <chihe@oppo.com>
2024-03-27 14:24:50 +08:00
chihe
729ac67268
feature(master): Decommission datapartition operation for cli tool is supported
...
close:#21975923
Signed-off-by: chihe <chihe@oppo.com>
2024-03-27 14:24:50 +08:00
S9054862
21f13601a5
fix(master): avoid to pull old vol view from other followers
...
close : #21970720
Signed-off-by: S9054862 <huangzhibin1@oppo.com>
2024-03-27 14:24:50 +08:00
S9054862
97c3b94af9
fix(data): avoid panic when normal extent hole repair read
...
close : #21995943
Signed-off-by: S9054862 <huangzhibin1@oppo.com>
2024-03-27 14:24:50 +08:00
baihailong
f26dcfb48b
fix(libsdk): cfs_close dir print error "stream is not opened yet".
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-03-27 14:24:50 +08:00
baihailong
4779613567
fix(sdk): when the stream's residual server coroutine exits, others stream maybe deleted
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-03-27 14:24:50 +08:00
baihailong
0073bdac33
fix(sdk): when the stream's residual server coroutine exits, others stream maybe deleted.#2827
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-03-27 14:24:50 +08:00
baihailong
6a5d6525a5
fix(sdk): flush operation appeared bad file descriptor
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-03-27 14:24:50 +08:00
baihailong
4c2ee76e74
fix(sdk): GetStreamer drop request in channel leadto deadlock
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-03-27 14:24:50 +08:00
leonrayang
8d48ae1b44
fix(datanode): snapshot mod append should not allocate extent id in follower
...
close:#21938895
Signed-off-by: leonrayang <changliang@oppo.com>
2024-03-27 14:24:50 +08:00
leonrayang
c867f09bd7
feat(datanode): add testcase for repair routine
...
close:#21938895
Signed-off-by: leonrayang <changliang@oppo.com>
2024-03-27 14:24:50 +08:00
leonrayang
76675d4a61
feat(mock): Move raft mock to uitl for all module usage
...
close:#21938895
Signed-off-by: leonrayang <changliang@oppo.com>
2024-03-27 14:24:50 +08:00
leonrayang
b5895c07b1
fix(datanode): normal extent repair need punch hole in senario of snapshot
...
close:#21938895
Signed-off-by: leonrayang <changliang@oppo.com>
2024-03-27 14:24:50 +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
chihe
ba7a02d8be
feat(master): some enhanced functionalities for checking datanode decommission status
...
close:#21975944
Signed-off-by: chihe <chihe@oppo.com>
2024-03-27 14:24:50 +08:00
chihe
e2c5fa0cda
feat(master): If the service on the node where the new replica is created stops,attempt other nodes
...
close:#21967801
Signed-off-by: chihe <chihe@oppo.com>
2024-03-27 14:24:50 +08:00
chihe
3202efb924
bugfix(datanode): remove logic of fetching replica from master after adding raft member
...
Signed-off-by: chihe <chi.he@oppo.com>
2024-03-27 14:24:50 +08:00
chihe
901fb4be3b
bugfix(datanode): Apply will be initialized when new datapartition is created
...
Signed-off-by: chihe <chi.he@oppo.com>
2024-03-27 14:24:50 +08:00
chihe
ef7adaaed4
bugfix(master): 1.datanode with no disk reset to initial 2. restore dp replica if rollback failed
...
Signed-off-by: chihe <chi.he@oppo.com>
2024-03-27 14:24:50 +08:00
chihe
b518b4c53a
feat(datnode): 1.support read enableExtentRepairReadLimit from conf 2.query dp holded token
...
Signed-off-by: chihe <chihe@oppo.com>
2024-03-27 14:24:50 +08:00
chihe
f66c732104
feat(datanode): Support the functionality of allowing only one extent data read at a time per disk
...
Signed-off-by: chihe <chihe@oppo.com>
2024-03-27 14:24:50 +08:00
chihe
74dcb76aef
feat(datanode): support api handler for reloading data partition
...
Signed-off-by: chihe <chihe@oppo.com>
2024-03-27 14:24:50 +08:00
chihe
1042fa9857
feat(datanode): add log for extent repair speed
...
Signed-off-by: chihe <chi.he@oppo.com>
2024-03-27 14:24:50 +08:00
chihe
a89ab7f919
enhance(datanode): add debug log for datanode repair
...
Signed-off-by: chihe <chi.he@oppo.com>
2024-03-27 14:24:50 +08:00
chihe
dc3eca6638
fix(master): if vol for cache dp is deleted, mark dp decommission status as success directly
...
Signed-off-by: chihe <chihe@oppo.com>
2024-03-27 14:24:50 +08:00
chihe
a6c1636381
fix(master): start to check decommission datanode or disk when meta data is ready
...
Signed-off-by: chihe <chihe@oppo.com>
2024-03-27 14:24:50 +08:00
chihe
3766292316
feature(master): support specify count for datanode decomission
...
Signed-off-by: chihe <chihe@oppo.com>
2024-03-27 14:24:50 +08:00
chihe
56a1caa057
debug(master): to debug length of dp.Replicas equals to 0
...
Signed-off-by: chihe <chihe@oppo.com>
2024-03-27 14:24:50 +08:00
tangdeyi
6ad04f6365
fix(object): listobjectv2 IsTruncated required
...
Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2024-03-22 11:02:51 +08:00
slasher
724f850d4a
style(util): change log level with name
...
Signed-off-by: slasher <mcq.sejust@gmail.com>
2024-03-14 17:27:55 +08:00
yhjiango
f7e7235694
fix(object): fix request parts check in complete multipart
...
Signed-off-by: yhjiango <jiangyunhua@oppo.com>
2024-03-13 15:54:54 +08:00
yhjiango
611ef3263e
fix(object): fix tagging valid verification
...
Signed-off-by: yhjiango <jiangyunhua@oppo.com>
2024-03-13 15:54:54 +08:00
lily-lee
b3bc9eeeee
refactor(docs): refactor evaluation env,add CPU,memory and disk information
...
Signed-off-by: lily-lee <lilylee88756@gmail.com>
2024-03-13 15:35:36 +08:00
slasher
100122c0ca
perf(common): trace prefer to format track log
...
close #3224
Signed-off-by: slasher <mcq.sejust@gmail.com>
2024-03-11 18:48:30 +08:00
slasher
ebdc9f2763
perf(common): limit internal track log of trace span
...
close #3223
Signed-off-by: slasher <mcq.sejust@gmail.com>
2024-03-11 18:48:30 +08:00
NaturalSelect
491c1cbbd7
fix(meta): limit the count of metanode inode audit log
...
close : #3194
Signed-off-by: NaturalSelect <2145973003@qq.com>
2024-03-11 16:00:27 +08:00
NaturalSelect
9203f558bd
test(util): fix routinepool test
...
close : #3211
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-03-08 17:38:43 +08:00
nasuiyile
714536eaf2
fix(meta): Protect MetaPartition UpdateXAttr interface
...
Signed-off-by: nasuiyile <3290213518@qq.com>
2024-03-08 12:32:11 +08:00
zhaochenyang
72d9291453
fix(lcnode): fix lcnode panic and reduce task allocation time
...
Signed-off-by: zhaochenyang <zhaochenyang@oppo.com>
2024-03-07 17:21:21 +08:00
baihailong
60e0650735
fix(fuse): MountOption add parameter DisableMountSubtype
...
Signed-off-by: baihailong <baihailong@oppo.com>
2024-03-07 10:29:50 +08:00
NaturalSelect
ebb1d14942
fix(util): recycle audit logs when rolling
...
close : #3178
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-03-06 17:21:28 +08:00
yhjiango
234d30ec11
fix(object): partNumber must not be greater than 10000
...
Signed-off-by: yhjiango <jiangyunhua@oppo.com>
2024-03-06 15:42:27 +08:00
yhjiango
1f23b3f620
fix(object): adjust STS auth process
...
Signed-off-by: yhjiango <jiangyunhua@oppo.com>
2024-03-06 15:42:27 +08:00
NaturalSelect
3a0e306ed3
feat(meta): batch delete extents when truncate file
...
close : #3169
Signed-off-by: NaturalSelect <huangzhibin1@oppo.com>
2024-03-06 14:25:17 +08:00