Commit Graph

91 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
c65d6c19df fix(lcnode): init ExtentConfig with metaWrapper
close:#23007284

Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 15:57:56 +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
morphes1995
4a96eeb26e fix(object): buffer optimization when calculate md5sum
Signed-off-by: morphes1995 <morphes1995@gmail.com>
2025-01-10 15:56:35 +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
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
Victor1319
0b81daa151 refactor(meta): refactor client lease logic. #22855673
Signed-off-by: Victor1319 <zengxuewei@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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
NaturalSelect
3b9ef65dbe chore(all): format code
@formatter:off

Signed-off-by: NaturalSelect <huangzhibin1@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
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
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
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
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
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
zhaochenyang
5b867906d2 fix(lcnode): hybrid cloud DeleteMigrationExtentKey before migration
Signed-off-by: zhaochenyang <zhaochenyang@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