aboutsummaryrefslogtreecommitdiff
path: root/test/s3
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2025-10-13 21:19:38 -0700
committerchrislu <chris.lu@gmail.com>2025-10-13 21:19:38 -0700
commitffc45a538d535c2cc9f374918c7db68c09809299 (patch)
tree672f88a01d32d876b58760acc291621269bb3059 /test/s3
parentf15eaaf8b9e9bfe92c392d6ba17f41140ea283f3 (diff)
downloadseaweedfs-ffc45a538d535c2cc9f374918c7db68c09809299.tar.xz
seaweedfs-ffc45a538d535c2cc9f374918c7db68c09809299.zip
Added bounds checking after calculating startIdx.
Problem: Race condition in cache lookup logic: Thread A reads cache metadata (17+ records, endOffset = 32) Thread B modifies/truncates the cache to 17 records Thread A calculates startIdx = 19 based on old metadata Slice operation consumedRecords[19:17] panics
Diffstat (limited to 'test/s3')
0 files changed, 0 insertions, 0 deletions