Sanjays2402 opened a new pull request, #2172:
URL: https://github.com/apache/libcloud/pull/2172

   Closes #1975
   
   ### Description
   
   `fasteners.InterProcessLock` creates its lock file but never removes it, and
   `LockLocalStorage.__exit__` did not remove it either. The file name is a 
sha256
   of the locked path, so one file was left behind in the temp directory for 
every
   distinct path ever locked -- a long running process writing many objects can
   exhaust inodes. The lock file is now removed after the IPC lock is released.
   
   ### Status
   
   done, ready for review
   
   ### Checklist (tick everything that applies)
   
   - [x] [Code 
linting](http://libcloud.readthedocs.org/en/latest/development.html#code-style-guide)
 (required, can be done after the PR checks)
   - [x] Documentation
   - [x] [Tests](http://libcloud.readthedocs.org/en/latest/testing.html)
   - [ ] 
[ICLA](http://libcloud.readthedocs.org/en/latest/development.html#contributing-bigger-changes)
 (required for bigger changes)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to