Commit Graph

507 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
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
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
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
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
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
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
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
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
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
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
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
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
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