omegaga c4e19b77e8 Add a read option to enable background purge when cleaning up iterators
Summary:
Add a read option `background_purge_on_iterator_cleanup` to avoid deleting files in foreground when destroying iterators.
Instead, a job is scheduled in high priority queue and would be executed in a separate background thread.

Test Plan: Add a variant of PurgeObsoleteFileTest. Turn on background purge option in the new test, and use sleeping task to ensure files are deleted in background.

Reviewers: IslamAbdelRahman, sdong

Reviewed By: IslamAbdelRahman

Subscribers: andrewkr, dhruba

Differential Revision: https://reviews.facebook.net/D59499
2016-06-21 18:41:23 -07:00
..
2016-05-17 13:11:56 -07:00
2016-05-17 13:11:56 -07:00
2016-06-17 10:30:47 -07:00
2016-06-17 10:30:47 -07:00
2016-06-09 19:03:10 -07:00
2016-05-09 11:52:28 -07:00
2016-06-09 19:03:10 -07:00
2016-06-17 10:30:47 -07:00
2016-06-17 10:30:47 -07:00
2016-03-18 15:18:42 -07:00
2016-05-17 13:11:56 -07:00
2016-06-17 10:30:47 -07:00