hofmockel
68c58009f2
Add examples to use the 'table_factory' and 'memtable_factory'
2014-04-28 20:33:40 +02:00
hofmockel
1cb9ec4ee1
Allow it to configure the memtable representation
2014-04-28 20:32:33 +02:00
hofmockel
fef21c8965
Prepare the new release name
2014-04-27 19:31:01 +02:00
hofmockel
18cd5c7a4f
Add changelog for the recent changes
2014-04-27 19:28:56 +02:00
hofmockel
482379cf94
Add support for the 'PlainTableFactories'
2014-04-27 19:20:30 +02:00
hofmockel
85fe7c095f
Change installation instructions to use rocksdb2.8
2014-04-27 16:40:32 +02:00
hofmockel
5dfc823ac3
Change .pxd files to reflect changed rocksdb API's
2014-04-27 16:39:50 +02:00
hofmockel
bfb370fdc8
Add new option called verify_checksums_in_compaction
2014-04-27 16:39:17 +02:00
hofmockel
9b9073670d
Document changed default values of rocksdb2.8
2014-04-27 16:38:06 +02:00
hofmockel
6d7cbf2a18
Add new 'property' names comming with 2.8
2014-04-27 16:36:27 +02:00
hofmockel
9d11bb0fb2
Get rid of some warnings
2014-04-01 21:32:18 +02:00
hofmockel
98301a8ccb
Be nice and mark them as virutal
2014-04-01 21:31:03 +02:00
hofmockel
dca6b61bbb
Update the default values for some options
2014-04-01 21:25:52 +02:00
hofmockel
098f9578d6
Change prefix_extractor to smart-pointer instead of raw
2014-04-01 21:24:18 +02:00
hofmockel
82b88db21b
Prepare docs to use version 0.1
2014-04-01 09:19:25 +02:00
hofmockel
41fdfa75aa
Add a simple changelog file
2014-04-01 09:13:14 +02:00
hofmockel
7c27cd0a91
Some typos
2014-02-02 17:47:34 +01:00
hofmockel
5246343b6a
Add some meta information to setup.py
2014-02-02 17:43:00 +01:00
hofmockel
d5a9b99d7f
Update todos
2014-02-02 17:43:00 +01:00
hofmockel
b5743e85ec
Add documentation for backup engine
2014-02-02 17:43:00 +01:00
hofmockel
f16daf0a41
Add python wrapper for BackupEngine
2014-02-02 17:43:00 +01:00
hofmockel
f0e0512a5f
Add definitions to wrap BackupEngine
2014-02-02 17:43:00 +01:00
hofmockel
81833395f5
Make it clear which version of rocksdb is supported
2014-02-02 17:42:59 +01:00
hofmockel
b417a564ec
A little bit more text on the tutorial
2014-02-02 17:42:59 +01:00
stephan-hof
47da4653c9
Create LICENSE.md
2014-02-02 17:39:01 +01:00
hofmockel
1b8303f3c0
Fix link against libraries
2014-01-26 13:32:23 +01:00
hofmockel
8ef2a13476
Better error messages
2014-01-26 10:50:44 +01:00
hofmockel
44cd1978af
Make tests python3 ready
2014-01-26 10:45:36 +01:00
hofmockel
41fc293cb8
Better error reporting for a python prefix extractor
2014-01-26 10:45:06 +01:00
hofmockel
f16932b325
Small code reformat
2014-01-26 09:49:07 +01:00
hofmockel
0dca8c379e
Better error reporting in python filter policy
2014-01-26 09:47:04 +01:00
hofmockel
9133c81f9e
Get rid of the second context, not needed it is always the same
2014-01-24 17:18:29 +01:00
hofmockel
a83a15e1a8
Better error reporting in python comparators
...
* Written to the rocksdb log-file
* raise an exception back to rocksdb
2014-01-24 17:11:41 +01:00
hofmockel
b600d3371f
Get access to the dedicated logger of a DB
2014-01-24 17:06:26 +01:00
hofmockel
43a6997362
Fix deadlock on shutdown by releasing the GIL during del
...
On delete rocksdb waits for the background thread to finish.
However the background threads needs the GIL to execute python-code
(for example comparator)
=>
* main thread has GIL
* main thread waits for background thread
* background thread tries to get GIL
which means deadlock
2014-01-24 17:03:14 +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
a4c93f7144
__dealloc__ is also called if __cinit__ raises, be more robust in freeing
2014-01-23 08:34:26 +01:00
hofmockel
6ad545cea0
Fix possible crash if snapshot and DB take part in cyclic gargabe collection
...
The cyclic garbage collector may choose this snappshot object to break the
cycle. In that case tp_clear will remove the reference to self.db.
So if __dealloc__ of the snapshot is called, self.db is not valid anymore
2014-01-23 08:10:51 +01:00
hofmockel
bb31b34613
Depend on cython 0.20 to use the @cython.no_gc_clear decorator
2014-01-23 08:06:14 +01:00
hofmockel
a1cb7f9efc
Raise error if offset+size is too big
2014-01-21 17:34:01 +01:00
hofmockel
3afcb98657
Add doce for prefix_extractor
2014-01-21 17:28:38 +01:00
hofmockel
36eb7024d3
Make 'prefix_extractor' active
2014-01-21 17:26:30 +01:00
hofmockel
6f452968bc
PySliceTransfrom to bridge python and c++
2014-01-21 13:15:26 +01:00
hofmockel
40c87ae7ed
C callbacks to C++ for wrapping SliceTransfrom
2014-01-21 13:15:26 +01:00
hofmockel
c7d192128b
Call it.Prev() without the GIL
2014-01-19 13:45:02 +01:00
hofmockel
ccfa2b522e
Iterator notifies errors via 'it.status()'
2014-01-19 13:41:49 +01:00
hofmockel
0d20a2564a
Prevent crash if python code is executed in a rocksdb background thread
2014-01-19 12:35:36 +01:00
hofmockel
ecb6e26546
Release the GIL if calls into rocksdb are made
2014-01-18 12:24:49 +01:00
hofmockel
86e6aef6cb
Tag all the C++ functions with nogil and except+
2014-01-17 20:06:17 +01:00
hofmockel
828be96dba
Update docu about the bytes and unicode
2014-01-17 07:43:51 +01:00