rocksdb/utilities
Mayank Agarwal 854d236361 Add backward compatible option in GetLiveFiles to choose whether to not Flush first
Summary:
As explained in comments in GetLiveFiles in db.h, this option will cause flush to be skipped in GetLiveFiles because some use-cases use GetSortedWalFiles after GetLiveFiles to generate more complete snapshots.
Using GetSortedWalFiles after GetLiveFiles allows us to not Flush in GetLiveFiles first because wals have everything.
Note: file deletions will be disabled before calling GLF or GSWF so live logs will not move to archive logs or get delted.
Note: Manifest file is truncated to a proper value in GLF, so it will always reply from the proper wal files on a restart

Test Plan: make

Reviewers: dhruba, haobo

Reviewed By: dhruba

CC: leveldb

Differential Revision: https://reviews.facebook.net/D13257
2013-10-04 10:20:10 -07:00
..
merge_operators Replace include/leveldb with include/rocksdb. 2013-08-23 10:51:00 -07:00
redis Replace include/leveldb with include/rocksdb. 2013-08-23 10:51:00 -07:00
ttl Add backward compatible option in GetLiveFiles to choose whether to not Flush first 2013-10-04 10:20:10 -07:00
.DS_Store Implemented StringAppendOperator and unit tests. 2013-05-13 15:09:42 -07:00
merge_operators.h Replace include/leveldb with include/rocksdb. 2013-08-23 10:51:00 -07:00