rocksdb/utilities
agiardullo 711465ccec API to fetch from both a WriteBatchWithIndex and the db
Summary:
Added a couple functions to WriteBatchWithIndex to make it easier to query the value of a key including reading pending writes from a batch.  (This is needed for transactions).

I created write_batch_with_index_internal.h to use to store an internal-only helper function since there wasn't a good place in the existing class hierarchy to store this function (and it didn't seem right to stick this function inside WriteBatchInternal::Rep).

Since I needed to access the WriteBatchEntryComparator, I moved some helper classes from write_batch_with_index.cc into write_batch_with_index_internal.h/.cc.  WriteBatchIndexEntry, ReadableWriteBatch, and WriteBatchEntryComparator are all unchanged (just moved to a different file(s)).

Test Plan: Added new unit tests.

Reviewers: rven, yhchiang, sdong, igor

Reviewed By: igor

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D38037
2015-05-11 14:51:51 -07:00
..
backupable Fix BackupEngine 2015-05-07 17:39:19 -07:00
checkpoint rocksdb: Add missing override 2015-02-26 11:28:41 -08:00
compacted_db Fix crash caused by opening an empty DB in readonly mode 2015-04-01 16:55:08 -07:00
convenience fix crashes in stats and compaction filter for db_ttl_impl 2015-05-05 16:54:47 -07:00
document rocksdb: switch to gtest 2015-03-17 14:08:00 -07:00
flashcache Fix the compilation error in flashcache.cc on Mac 2015-04-07 15:27:23 -07:00
geodb Build for CYGWIN 2015-04-23 21:33:44 -07:00
leveldb_options Added CompatibleOptions for compatibility with LevelDB Options 2014-11-20 19:24:39 -08:00
merge_operators rocksdb: switch to gtest 2015-03-17 14:08:00 -07:00
redis rocksdb: switch to gtest 2015-03-17 14:08:00 -07:00
spatialdb API to fetch from both a WriteBatchWithIndex and the db 2015-05-11 14:51:51 -07:00
ttl fix crashes in stats and compaction filter for db_ttl_impl 2015-05-05 16:54:47 -07:00
write_batch_with_index API to fetch from both a WriteBatchWithIndex and the db 2015-05-11 14:51:51 -07:00
merge_operators.h