incubator-uniffle
incubator-uniffle copied to clipboard
Negative value of preAllocatedSize
I found sometimes the value of preAllocatedSize is negative in the shuffle server log, which makes me confused. Maybe this problem is caused by race condition.

It's abnormal. It should be caused by some bugs.
We have found this problem before, and it has not occurred since #159
We have found this problem before, and it has not occurred since #159
#159 has been applied in our internal uniffle cluster, but it still occurred.
If the requireBufferId just expires when writing data, it may occurred. Maybe we need to introduce locks when memory be released.