mirror of
https://github.com/facebook/rocksdb.git
synced 2024-11-25 22:44:05 +00:00
824e646341
Summary: There are some cases when flachcache file descriptor was already allocated (i.e. fb-MySQL). Then NewFlashcacheAwareEnv returns an error at open() because fd was already assigned. This diff adds another function to instantiate FlashcacheAwareEnv, with pre-allocated fd cachedev_fd. Test Plan: Tested with MyRocks using this function, then worked Reviewers: sdong, igor Reviewed By: igor Subscribers: dhruba, MarkCallaghan, rven Differential Revision: https://reviews.facebook.net/D36447 |
||
---|---|---|
.. | ||
backupable | ||
checkpoint | ||
compacted_db | ||
convenience | ||
document | ||
flashcache | ||
geodb | ||
leveldb_options | ||
merge_operators | ||
redis | ||
spatialdb | ||
ttl | ||
write_batch_with_index | ||
merge_operators.h |