Commit graph

74 commits

Author SHA1 Message Date
Jack Robison
ee12fe9573
add support for OpenAsSecondary and TryCatchUpWithPrimary 2021-11-09 13:17:41 -05:00
iFA
487b19ba19
Add files via upload 2021-05-21 22:57:22 +02:00
iFA
2d5bb4faf1
Add files via upload 2021-04-14 09:17:45 +02:00
iFA
f166a5dca3
Add files via upload 2021-04-14 09:09:06 +02:00
iFA
92b8097048
Update _rocksdb.pyx 2021-03-11 18:19:40 +01:00
iFA
a846ec9af5
Update _rocksdb.pyx 2021-02-19 17:36:01 +01:00
iFA
5afbf3cb73
Update _rocksdb.pyx 2021-02-19 09:10:01 +01:00
iFA
f3be0a05d9
Update _rocksdb.pyx 2021-02-17 10:45:42 +01:00
iFA
fdeab9f159
Update _rocksdb.pyx 2021-02-16 21:54:48 +01:00
iFA
4989f5ccf0
Update _rocksdb.pyx 2021-02-16 21:35:41 +01:00
iFA
1685cdf309
Fixing closing 2021-01-17 16:09:26 +01:00
iFA
c1e12fd62d
Update _rocksdb.pyx 2020-09-03 08:50:13 +02:00
iFA
3f4e75f119
Update _rocksdb.pyx 2020-08-31 11:24:28 +02:00
iFA
4bc9039ccc
Update _rocksdb.pyx 2020-08-07 08:25:16 +02:00
iFA
7750e765b8
Update _rocksdb.pyx 2020-07-19 14:21:35 +02:00
iFA
9bbf17b22e
Update _rocksdb.pyx 2020-05-18 17:51:11 +02:00
iFA
ecd0823331
Update _rocksdb.pyx 2020-04-07 14:17:30 +02:00
iFA
b721c18a6a
Update _rocksdb.pyx 2020-03-12 20:53:07 +01:00
iFA
57397cd077
Update _rocksdb.pyx 2019-04-22 20:45:29 +02:00
Alexander Böhn
952e7bb4ab
Allow rocksdb.DB instances to be manually closed
While `delete rocks_ptr` is a deterministic operation in C++, the Python analogue `del rocks_handle` is not – disposal and finalization of the Rocks database are entirely dependent on the Python garbage collector (q.v. the `python-rocksdb` tests themselves, which call `gc.collect()` after `del rocks_handle` to attempt to force the destructor to run). This change exposes a method to trigger the destruction of the underlying Rocks database pointer (deterministic!) through the Python Rocks handle; existing code will not need to be changed, as the Python object destructor (non-deterministic!) will now call this method.

This is the second revision of this PR – it resolves the first revision, #39.
2019-02-01 11:36:36 -05:00
twmht
32a3dca280 remove full_scan_mode 2019-02-01 21:56:58 +08:00
Jason Fried
2a66e20ca3 Column Family Support
Add support for Column Families in a runtime safe way.
Add unittests to test functionality
Insure all unittests are passing.
Cleaned up unittests to not use a fixed directory in tmp, but use tempfile
2018-11-06 02:26:47 +00:00
twmht
8382523ac4 fix memtable_factory crash 2017-06-19 13:58:37 +08:00
twmht
5610d9474d update the usage of default operators 2017-04-25 08:25:02 +08:00
twmht
79b0f8d6fb add seekForPrev 2017-04-23 19:32:41 +08:00
twmht
9d87eb5bdc add compaction_pri 2017-04-17 00:00:44 +08:00
twmht
9fcafffbf4 add default merge operator 2017-04-16 14:13:01 +08:00
twmht
58ba17ac90 Merge options source_compaction_factor, max_grandparent_overlap_bytes and expanded_compaction_factor into max_compaction_bytes 2017-04-08 00:18:38 +08:00
twmht
056d62d43d now support rocksdb 5.3.0 2017-03-24 00:56:24 +08:00
hofmockel
01f13577ad Add "row_cache" to options. 2015-08-30 12:21:40 +02:00
hofmockel
6b54dc9e64 No need for the 'get_ob' methods on PyCache. 2015-08-30 12:20:45 +02:00
hofmockel
167ee99f33 Change API of compact_range to be compatible with the change of rocksdb. 2015-08-27 21:45:09 +02:00
hofmockel
8fba5ffa1d Wrap the RepairDB function. 2015-08-15 16:34:35 +02:00
hofmockel
2ef04007c4 Add lz4 compression type. 2015-07-05 13:52:17 +02:00
hofmockel
302d1a6440 Make it possible to iterate over a WriteBatch. 2015-07-05 13:35:15 +02:00
hofmockel
8b26e1e4b0 Get rid of depricated way to create backupengine. 2015-04-12 14:08:30 +02:00
hofmockel
0c13b55e55 Remove rm_scan_count_limit from Cache creation. 2015-04-12 13:58:22 +02:00
hofmockel
b9f06fe785 Remove table_cache_remove_scan_count_limit because it is also removed from rocksdb. 2015-04-12 13:51:28 +02:00
hofmockel
87a7ddfe1c Move filter_policy to block_based_table_factory. 2014-10-22 09:43:47 +02:00
hofmockel
5550ed91e7 Move the block_cache* from options to block_based_table_factory. 2014-10-22 09:41:33 +02:00
hofmockel
14dd1c785a Move the 'simple' block based table options to the block_table_factory. 2014-10-22 09:35:17 +02:00
hofmockel
3358119f22 Remove deprecated options. 2014-10-22 09:31:46 +02:00
hofmockel
a3072c79b3 Document the new init-methods for the SST-table-builders 2014-08-22 19:58:17 +02:00
hofmockel
13518d2680 Remove TotalOrderPlainTableFactory. It was also removed in rocksdb. 2014-08-22 19:15:46 +02:00
hofmockel
f4c5aed418 Make the 'compact_range' call available in python
(cherry picked from commit c6e4014136)
2014-05-31 20:25:06 +02:00
hofmockel
f897bf4911 Adapt to the changes of 'prefix seek api'
See https://github.com/facebook/rocksdb/wiki/Prefix-Seek-API-Changes
2014-05-31 20:21:42 +02:00
hofmockel
6ceb6514b5 Allow configuration of universal style compaction 2014-04-29 17:46:21 +02:00
hofmockel
1cb9ec4ee1 Allow it to configure the memtable representation 2014-04-28 20:32:33 +02:00
hofmockel
482379cf94 Add support for the 'PlainTableFactories' 2014-04-27 19:20:30 +02:00
hofmockel
bfb370fdc8 Add new option called verify_checksums_in_compaction 2014-04-27 16:39:17 +02:00