Commit graph

107 commits

Author SHA1 Message Date
iFA
aefb8123ae
Update slice_transform.pxd 2020-09-03 08:53:13 +02:00
iFA
7a4fa59617
Update options.pxd 2020-09-03 08:52:56 +02:00
iFA
8184df7c1a
Update merge_operator.pxd 2020-09-03 08:52:11 +02:00
iFA
820f69ec8a
Update iterator.pxd 2020-09-03 08:51:52 +02:00
iFA
1e63c4935d
Update filter_policy.pxd 2020-09-03 08:51:34 +02:00
iFA
7a93495a42
Update db.pxd 2020-09-03 08:51:11 +02:00
iFA
1d486f7437
Update comparator.pxd 2020-09-03 08:51:02 +02:00
iFA
30d4b02f00
Update cache.pxd 2020-09-03 08:50:52 +02:00
iFA
14513d9971
Update backup.pxd 2020-09-03 08:50:24 +02:00
iFA
c1e12fd62d
Update _rocksdb.pyx 2020-09-03 08:50:13 +02:00
iFA
0f66d77c6c
Update options.pxd 2020-08-31 11:35:52 +02:00
iFA
2f971e9caa
Create statistics.pxd 2020-08-31 11:34:25 +02:00
iFA
4186979026
Update table_factory.pxd 2020-08-31 11:31:48 +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
a3848007e6
Update db.pxd 2020-07-19 14:21:03 +02:00
iFA
8865320820
Update table_factory.pxd 2020-05-18 17:51:39 +02:00
iFA
4e7ad8b9d9
Update options.pxd 2020-05-18 17:51:27 +02:00
iFA
9bbf17b22e
Update _rocksdb.pyx 2020-05-18 17:51:11 +02:00
iFA
47451afdb7
Update options.pxd 2020-04-07 14:19:08 +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
d94c3a57c0
Update db.pxd 2020-03-12 20:51:57 +01:00
iFA
f14a8197bb
Update table_factory.pxd 2020-03-12 20:51:28 +01:00
iFA
734a8b6337
Update options.pxd 2020-03-12 20:49:29 +01:00
iFA
ac49a391af
Update options.pxd 2019-04-22 20:46:01 +02:00
iFA
57397cd077
Update _rocksdb.pyx 2019-04-22 20:45:29 +02:00
Ming-Hsuan-Tu
ee1bc5a0b9
Merge pull request #40 from fish2000/patch-2
Allow `rocksdb.DB` instances to be manually closed (second revision PR)
2019-02-02 12:45:08 +08:00
twmht
ccd9f21ea1 temporary remove some test options 2019-02-02 12:39:17 +08: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
0c809e1d2b change default compaction_pri 2019-02-01 21:57:23 +08: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
Ming-Hsuan-Tu
4d18d4be42
Merge branch 'master' into feature-fixSnappyCompressionTest 2018-02-15 15:56:05 +08:00
Mehdi Abaakouk
e4c0de9455 Allow to compile the extension everywhere
This change:
* uses to setuptools Cython automatic extension build system.
* Add tox.ini to run tests and build docs into virtualenv
* Add .travis.yaml and Dockerfile to run tests in CI
* Change requirements to ensure:
  - Cython and setuptools are installed before we build the Cython
    extension
  - tests dependencies are not installed by default
  - doc dependencies are explicit
* Add missing lz4 library
* Allow to build the module with any librocksdb headers (no-rtti)

Closes #15
2018-02-09 09:21:56 +01:00
George Mossessian
17277d3dd0 allow snappy_compression as a default option in test_options.py::TestOptions::test_simple 2017-06-28 15:04:33 -07:00
twmht
0dbe3eca5b add testcase for memtable 2017-06-19 13:59:31 +08:00
twmht
8382523ac4 fix memtable_factory crash 2017-06-19 13:58:37 +08:00
twmht
f18c09e1cd use pytest 2017-04-25 19:33:42 +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