rocksdb/db
agiardullo dc9d70de65 Optimistic Transactions
Summary: Optimistic transactions supporting begin/commit/rollback semantics.  Currently relies on checking the memtable to determine if there are any collisions at commit time.  Not yet implemented would be a way of enuring the memtable has some minimum amount of history so that we won't fail to commit when the memtable is empty.  You should probably start with transaction.h to get an overview of what is currently supported.

Test Plan: Added a new test, but still need to look into stress testing.

Reviewers: yhchiang, igor, rven, sdong

Reviewed By: sdong

Subscribers: adamretter, MarkCallaghan, leveldb, dhruba

Differential Revision: https://reviews.facebook.net/D33435
2015-05-29 14:36:35 -07:00
..
builder.cc Allow GetThreadList to report Flush properties. 2015-05-15 23:22:22 -07:00
builder.h Add more table properties to EventLogger 2015-05-12 15:53:55 -07:00
c.cc Support saving history in memtable_list 2015-05-28 16:34:24 -07:00
c_test.c
column_family.cc Optimistic Transactions 2015-05-29 14:36:35 -07:00
column_family.h Optimistic Transactions 2015-05-29 14:36:35 -07:00
column_family_test.cc Support saving history in memtable_list 2015-05-28 16:34:24 -07:00
compact_files_test.cc
compaction.cc Universal Compaction with multiple levels won't allocate up to output size 2015-05-13 14:15:46 -07:00
compaction.h Cleanup CompactionJob 2015-05-05 19:01:12 -07:00
compaction_job.cc Rename EventLoggerHelpers EventHelpers 2015-05-28 13:37:47 -07:00
compaction_job.h Allow GetThreadList() to report basic compaction operation properties. 2015-05-06 22:51:06 -07:00
compaction_job_test.cc Cleanup CompactionJob 2015-05-05 19:01:12 -07:00
compaction_picker.cc CompactRange skips levels 1 to base_level -1 for dynamic level base size 2015-05-18 10:54:11 -07:00
compaction_picker.h Optimize GetRange Function 2015-05-05 09:57:47 -07:00
compaction_picker_test.cc Reset parent_index and base_index when picking files marked for compaction 2015-05-12 11:16:25 -07:00
comparator_db_test.cc
corruption_test.cc fix typos 2015-04-25 18:14:27 +09:00
cuckoo_table_db_test.cc
db_bench.cc Optimistic Transactions 2015-05-29 14:36:35 -07:00
db_filesnapshot.cc
db_impl.cc Optimistic Transactions 2015-05-29 14:36:35 -07:00
db_impl.h Optimistic Transactions 2015-05-29 14:36:35 -07:00
db_impl_debug.cc
db_impl_experimental.cc Don't compact bottommost level in SuggestCompactRange 2015-04-29 13:35:48 -07:00
db_impl_readonly.cc
db_impl_readonly.h
db_iter.cc fix typos 2015-04-25 18:14:27 +09:00
db_iter.h
db_iter_test.cc
db_test.cc Optimistic Transactions 2015-05-29 14:36:35 -07:00
dbformat.cc Optimistic Transactions 2015-05-29 14:36:35 -07:00
dbformat.h Optimistic Transactions 2015-05-29 14:36:35 -07:00
dbformat_test.cc
deletefile_test.cc
event_helpers.cc Rename EventLoggerHelpers EventHelpers 2015-05-28 13:37:47 -07:00
event_helpers.h Rename EventLoggerHelpers EventHelpers 2015-05-28 13:37:47 -07:00
experimental.cc Implement DB::PromoteL0 method 2015-04-23 12:10:36 -07:00
fault_injection_test.cc fault_injection_test: add a test case to cover log syncing after a log roll 2015-04-09 16:15:42 -07:00
file_indexer.cc Fix possible SIGSEGV in CompactRange (github issue #596) 2015-04-29 10:52:31 -07:00
file_indexer.h
file_indexer_test.cc Fix possible SIGSEGV in CompactRange (github issue #596) 2015-04-29 10:52:31 -07:00
filename.cc
filename.h
filename_test.cc
flush_job.cc Rename EventLoggerHelpers EventHelpers 2015-05-28 13:37:47 -07:00
flush_job.h Allow GetThreadList to report Flush properties. 2015-05-15 23:22:22 -07:00
flush_job_test.cc Optimistic Transactions 2015-05-29 14:36:35 -07:00
flush_scheduler.cc
flush_scheduler.h
forward_iterator.cc
forward_iterator.h
internal_stats.cc Support saving history in memtable_list 2015-05-28 16:34:24 -07:00
internal_stats.h Support saving history in memtable_list 2015-05-28 16:34:24 -07:00
job_context.h
listener_test.cc Fixed a bug in EventListener::OnCompactionCompleted(). 2015-05-12 16:10:23 -07:00
log_format.h
log_reader.cc
log_reader.h Log writer record format doc. 2015-04-07 16:25:56 -07:00
log_test.cc
log_writer.cc Fix comparison between signed and usigned integers 2015-05-19 10:59:30 -07:00
log_writer.h Log writer record format doc. 2015-04-07 16:25:56 -07:00
managed_iterator.cc
managed_iterator.h Fixed xfunc related compile errors in ROCKSDB_LITE 2015-04-09 21:05:18 -07:00
memtable.cc Optimistic Transactions 2015-05-29 14:36:35 -07:00
memtable.h Optimistic Transactions 2015-05-29 14:36:35 -07:00
memtable_allocator.cc
memtable_allocator.h
memtable_list.cc Optimistic Transactions 2015-05-29 14:36:35 -07:00
memtable_list.h Optimistic Transactions 2015-05-29 14:36:35 -07:00
memtable_list_test.cc Optimistic Transactions 2015-05-29 14:36:35 -07:00
memtablerep_bench.cc build: avoid unused-variable warning 2015-05-02 13:19:10 -07:00
merge_context.h API to fetch from both a WriteBatchWithIndex and the db 2015-05-11 14:51:51 -07:00
merge_helper.cc Helper function to time Merges 2015-04-27 20:23:50 -07:00
merge_helper.h Helper function to time Merges 2015-04-27 20:23:50 -07:00
merge_operator.cc
merge_test.cc
perf_context_test.cc
plain_table_db_test.cc
prefix_test.cc
repair.cc Optimistic Transactions 2015-05-29 14:36:35 -07:00
skiplist.h
skiplist_test.cc
slice.cc
snapshot.h Cleanup CompactionJob 2015-05-05 19:01:12 -07:00
table_cache.cc
table_cache.h
table_properties_collector.cc A new call back to TablePropertiesCollector to allow users know the entry is add, delete or merge 2015-04-06 10:27:21 -07:00
table_properties_collector.h A new call back to TablePropertiesCollector to allow users know the entry is add, delete or merge 2015-04-06 10:27:21 -07:00
table_properties_collector_test.cc A new call back to TablePropertiesCollector to allow users know the entry is add, delete or merge 2015-04-06 10:27:21 -07:00
transaction_log_impl.cc
transaction_log_impl.h
version_builder.cc
version_builder.h
version_builder_test.cc
version_edit.cc
version_edit.h Add experimental API MarkForCompaction() 2015-04-17 16:44:45 -07:00
version_edit_test.cc
version_set.cc Optimistic Transactions 2015-05-29 14:36:35 -07:00
version_set.h Optimize GetApproximateSizes() to use lesser CPU cycles. 2015-04-30 10:55:03 -07:00
version_set_test.cc Fix level size overflow for options_.level_compaction_dynamic_level_bytes=true 2015-04-03 09:04:35 -07:00
wal_manager.cc
wal_manager.h
wal_manager_test.cc Fix flakiness of WalManagerTest 2015-04-13 16:15:05 -07:00
write_batch.cc
write_batch_base.cc
write_batch_internal.h
write_batch_test.cc Optimistic Transactions 2015-05-29 14:36:35 -07:00
write_callback.h Optimistic Transactions 2015-05-29 14:36:35 -07:00
write_callback_test.cc Optimistic Transactions 2015-05-29 14:36:35 -07:00
write_controller.cc
write_controller.h
write_controller_test.cc maint: use ASSERT_TRUE, not ASSERT_EQ(true; same for false 2015-04-17 14:54:17 -07:00
write_thread.cc Optimistic Transactions 2015-05-29 14:36:35 -07:00
write_thread.h Optimistic Transactions 2015-05-29 14:36:35 -07:00
writebuffer.h