Commit Graph

6108 Commits

Author SHA1 Message Date
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