diff options
| author | chrislu <chris.lu@gmail.com> | 2025-12-01 16:21:29 -0800 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2025-12-01 16:21:29 -0800 |
| commit | b49ee254814d6ecea7937147f30862c154f25667 (patch) | |
| tree | a8f55f7c25d6c390b3dfd416b50017f0f857b5cb /test/erasure_coding/ec_integration_test.go | |
| parent | 870e32c4ad154dac83c14fc150b6ef3a5842f1ab (diff) | |
| download | seaweedfs-b49ee254814d6ecea7937147f30862c154f25667.tar.xz seaweedfs-b49ee254814d6ecea7937147f30862c154f25667.zip | |
Fix race condition to work across multiple filer instances
- Store each chunk as a separate file entry instead of updating session JSON
- Chunk file names encode offset, size, and fileId for atomic storage
- getTusSession loads chunks from directory listing (atomic read)
- Eliminates read-modify-write race condition across multiple filers
- Remove in-memory mutex that only worked for single filer instance
Diffstat (limited to 'test/erasure_coding/ec_integration_test.go')
0 files changed, 0 insertions, 0 deletions
