diff --git a/docs/tutorial/index.rst b/docs/tutorial/index.rst index 1eb141a7bf36b1340ec01d4bcffe89f35acb7cb1..58119a4e3ed971f9c147920d8e3438eb4fc03b36 100644 --- a/docs/tutorial/index.rst +++ b/docs/tutorial/index.rst @@ -24,7 +24,7 @@ A more production ready open can look like this :: opts.table_factory = rocksdb.BlockBasedTableFactory( filter_policy=rocksdb.BloomFilterPolicy(10), block_cache=rocksdb.LRUCache(2 * (1024 ** 3)), - block_cache_compressed=rocksdb.LRUCache(500 * (1024 ** 2))) + ) db = rocksdb.DB("test.db", opts) diff --git a/rocksdb/_rocksdb.pyx b/rocksdb/_rocksdb.pyx index b678fc4dad8bd5ca048f437e42c4f40dda3c5809..826146cad7c478764fbe46707529c01107f787a8 100644 --- a/rocksdb/_rocksdb.pyx +++ b/rocksdb/_rocksdb.pyx @@ -468,7 +468,6 @@ cdef class BlockBasedTableFactory(PyTableFactory): index_type='binary_search', checksum='crc32', PyCache block_cache=None, - PyCache block_cache_compressed=None, no_block_cache=False, block_size=None, block_size_deviation=None, @@ -497,9 +496,6 @@ cdef class BlockBasedTableFactory(PyTableFactory): if block_cache is not None: table_options.block_cache = block_cache.get_cache() - if block_cache_compressed is not None: - table_options.block_cache_compressed = block_cache_compressed.get_cache() - if no_block_cache: table_options.no_block_cache = True else: diff --git a/rocksdb/table_factory.pxd b/rocksdb/table_factory.pxd index 3ec8b7ba5bd71169f6a123e9253f185cee7daeaf..8beb48e866aa27e1445763795bc31abed6785374 100644 --- a/rocksdb/table_factory.pxd +++ b/rocksdb/table_factory.pxd @@ -26,7 +26,6 @@ cdef extern from "rocksdb/table.h" namespace "rocksdb": int block_restart_interval cpp_bool whole_key_filtering shared_ptr[Cache] block_cache - shared_ptr[Cache] block_cache_compressed cpp_bool enable_index_compression cpp_bool cache_index_and_filter_blocks int format_version diff --git a/setup.cfg b/setup.cfg index 25c15a5a5768e9f813f21fc8d0903138ffcdbf04..6e30ed6f58787c79258a1125243b9793e8198db1 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = rocksdb -version = 0.9.1 +version = 0.9.2 description = Python bindings for RocksDB long_description = file: README.rst long_description_content_type = text/x-rst