[ERROR]1. OssBlockWorker::writeBlock should check the endOfLocalSpace. 2. open too many files error
neuyilan opened this issue · 3 comments
neuyilan commented
-
when evict block to oss, should check whether the evicted block is the last bucket of the local space, if it is the last bucket of the local space, it size may not equal BUCKET_SIZE;
-
when open->write->close the file many times, the gopherwood may throw the error that "too many files open", maybe some file descriptor is not closed;
Eric5553 commented
fixed
Eric5553 commented
- OssBlockWorker::writeBlock should check the endOfLocalSpace
The previous fix does not work for this bug.