Commit graph

120 commits

Author SHA1 Message Date
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
8159afd4b3
Update options.pxd 2021-02-19 09:09:46 +01:00
iFA
f3be0a05d9
Update _rocksdb.pyx 2021-02-17 10:45:42 +01:00
iFA
b602bde7f6
Update options.pxd 2021-02-16 21:55:04 +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
179f4d8368
Update options.pxd 2021-02-16 21:35:11 +01:00
iFA
1685cdf309
Fixing closing 2021-01-17 16:09:26 +01:00
iFA
65ce14e6a7
Update table_factory.pxd 2020-09-03 08:53:39 +02:00
iFA
aefc0328aa
Update statistics.pxd 2020-09-03 08:53:24 +02:00
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