rocksdb/java/rocksjni
Yanqin Jin bd513fd075 Add commit marker with timestamp (#9266)
Summary:
Pull Request resolved: https://github.com/facebook/rocksdb/pull/9266

This diff adds a new tag `CommitWithTimestamp`. Currently, there is no API to trigger writing
this tag to WAL, thus it is unavailable to users.
This is an ongoing effort to add user-defined timestamp support to write-committed transactions.
This diff also indicates all column families that may potentially participate in the same
transaction must either disable timestamp or have the same timestamp format, since
`CommitWithTimestamp` tag is followed by a single byte-array denoting the commit
timestamp of the transaction. We will enforce this checking in a future diff. We keep this
diff small.

Reviewed By: ltamasi

Differential Revision: D31721350

fbshipit-source-id: e1450811443647feb6ca01adec4c8aaae270ffc6
2021-12-10 11:05:35 -08:00
..
backupablejni.cc
backupenginejni.cc
cache.cc support getUsage and getPinnedUsage in JavaAPI for Cache (#7925) 2021-03-17 09:30:33 -07:00
cassandra_compactionfilterjni.cc
cassandra_value_operator.cc
checkpoint.cc
clock_cache.cc
columnfamilyhandle.cc
compact_range_options.cc
compaction_filter_factory_jnicallback.cc
compaction_filter_factory_jnicallback.h
compaction_filter_factory.cc
compaction_filter.cc
compaction_job_info.cc
compaction_job_stats.cc
compaction_options_fifo.cc
compaction_options_universal.cc
compaction_options.cc
comparator.cc
comparatorjnicallback.cc
comparatorjnicallback.h
compression_options.cc Limit buffering for collecting samples for compression dictionary (#7970) 2021-02-19 14:09:54 -08:00
concurrent_task_limiter.cc S390 Linux is failing tests ColumnFamilyOptionsTest.cfPaths (#7853) 2021-01-15 16:32:31 -08:00
config_options.cc
env_options.cc
env.cc
event_listener_jnicallback.cc Add (& fix) some simple source code checks (#8821) 2021-09-07 21:19:27 -07:00
event_listener_jnicallback.h Add (& fix) some simple source code checks (#8821) 2021-09-07 21:19:27 -07:00
event_listener.cc Replace the namespace "rocksdb" to "ROCKSDB_NAMESPACE" (#8531) 2021-07-15 17:23:39 -07:00
filter.cc
ingest_external_file_options.cc
iterator.cc
jnicallback.cc
jnicallback.h Add event listeners to RocksJava (#7425) 2020-10-14 11:33:52 -07:00
loggerjnicallback.cc
loggerjnicallback.h
lru_cache.cc
memory_util.cc Small JNI improvements (#7371) 2020-10-14 22:23:56 -07:00
memtablejni.cc
merge_operator.cc Allow to use a string as a delimiter in StringAppendOperator (#8536) 2021-08-02 16:50:41 -07:00
native_comparator_wrapper_test.cc
optimistic_transaction_db.cc
optimistic_transaction_options.cc
options_util.cc
options.cc Java wrapper for blob_gc_force_threshold as blobGarbageCollectionForceThreshold (#9109) 2021-11-01 11:59:10 -07:00
persistent_cache.cc
portal.h Add commit marker with timestamp (#9266) 2021-12-10 11:05:35 -08:00
ratelimiterjni.cc
remove_emptyvalue_compactionfilterjni.cc
restorejni.cc
rocks_callback_object.cc
rocksdb_exception_test.cc
rocksjni.cc New-style blob option bindings, Java option getter and improve/fix option parsing (#8999) 2021-10-19 09:21:52 -07:00
slice.cc Replace the namespace "rocksdb" to "ROCKSDB_NAMESPACE" (#8531) 2021-07-15 17:23:39 -07:00
snapshot.cc
sst_file_manager.cc
sst_file_reader_iterator.cc
sst_file_readerjni.cc
sst_file_writerjni.cc
sst_partitioner.cc SST Partitioner interface that allows to split SST files (#6957) 2020-07-24 13:44:49 -07:00
statistics.cc
statisticsjni.cc
statisticsjni.h
table_filter_jnicallback.cc
table_filter_jnicallback.h
table_filter.cc
table.cc
testable_event_listener.cc Replace TableProperties::properties_offsets map with external_sst_file_global_seqno_offset (#9212) 2021-12-02 08:30:36 -08:00
thread_status.cc
trace_writer_jnicallback.cc
trace_writer_jnicallback.h
trace_writer.cc
transaction_db_options.cc
transaction_db.cc
transaction_log.cc
transaction_notifier_jnicallback.cc
transaction_notifier_jnicallback.h
transaction_notifier.cc
transaction_options.cc
transaction.cc Small JNI improvements (#7371) 2020-10-14 22:23:56 -07:00
ttl.cc Small JNI improvements (#7371) 2020-10-14 22:23:56 -07:00
wal_filter_jnicallback.cc
wal_filter_jnicallback.h
wal_filter.cc
write_batch_test.cc Remove some unneeded code (#8736) 2021-09-01 14:28:58 -07:00
write_batch_with_index.cc Deprecate WriteBatch.remove() and use the new style delete() (#9256) 2021-12-10 09:18:17 -08:00
write_batch.cc Deprecate WriteBatch.remove() and use the new style delete() (#9256) 2021-12-10 09:18:17 -08:00
write_buffer_manager.cc Introduce allowStall option for write buffer manager constructor (#9076) 2021-10-26 12:09:54 -07:00
writebatchhandlerjnicallback.cc Add commit marker with timestamp (#9266) 2021-12-10 11:05:35 -08:00
writebatchhandlerjnicallback.h Add commit marker with timestamp (#9266) 2021-12-10 11:05:35 -08:00