Commit Graph

988 Commits

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