Commit graph

30 commits

Author SHA1 Message Date
Jack Robison
ee12fe9573
add support for OpenAsSecondary and TryCatchUpWithPrimary 2021-11-09 13:17:41 -05:00
twmht
ccd9f21ea1 temporary remove some test options 2019-02-02 12:39:17 +08:00
twmht
0c809e1d2b change default compaction_pri 2019-02-01 21:57:23 +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
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
hofmockel
01f13577ad Add "row_cache" to options. 2015-08-30 12:21:40 +02:00
hofmockel
aee8dbe540 Remove prints from the tests. 2015-07-05 14:16:20 +02:00
hofmockel
302d1a6440 Make it possible to iterate over a WriteBatch. 2015-07-05 13:35:15 +02:00
hofmockel
9cf520a77b Update the tests. 2014-10-22 20:54:25 +02:00
hofmockel
e3aa17dc3a Fix unittest 2014-08-22 20:08:20 +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
482379cf94 Add support for the 'PlainTableFactories' 2014-04-27 19:20:30 +02:00
hofmockel
dca6b61bbb Update the default values for some options 2014-04-01 21:25:52 +02:00
hofmockel
44cd1978af Make tests python3 ready 2014-01-26 10:45:36 +01:00
hofmockel
c8b92d5adb Fore future use, prevent options beeing shared with other DB objects
For better logging I'm going to inject the rocksdb info_logger into the C++ Wrapper classes
=> The classes on the options object have a member to a DB specific logger
=> This c++ classes can only belong to a SINGLE db
=> For simplicity make this requirement also for the options object itself
2014-01-23 08:53:14 +01:00
hofmockel
36eb7024d3 Make 'prefix_extractor' active 2014-01-21 17:26:30 +01:00
hofmockel
7d61b63b79 Separate strictly between bytes/unicode
which makes py3 support possible
2014-01-16 21:32:00 +01:00
hofmockel
6277f9ab5c Support unicode objects for paths
Use sys.getfilesystemencoding() for encoding
2014-01-16 08:51:01 +01:00
hofmockel
77c384b6b0 Initial commit of the driver 2014-01-13 19:52:22 +01:00