Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Workaround
-
None
-
None
-
None
Description
When I tested write performance with the new client, I got the following exception
I found the problem started after we implemented retry in HDDS-5674. In the test, I used a single client to write 400 files concurrently. and each file 128MB. The client's memory will become much larger than before.
The reason for this is that bufferList is used in Retry to maintain references to all byteBuffers currently being written. The client will hold those references to byteBuffer until commit the block. In the past, all Bytebuffers were released after they were sent, but now we need to wait for write successful before releasing. So now the client will accumulate more Bytebuffers and need more memory.
Attachments
Attachments
Issue Links
- links to