From 4989f5ccf05e1023ce0e4103ebd5e9b2e8485096 Mon Sep 17 00:00:00 2001 From: iFA Date: Tue, 16 Feb 2021 21:35:41 +0100 Subject: [PATCH] Update _rocksdb.pyx --- rocksdb/_rocksdb.pyx | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/rocksdb/_rocksdb.pyx b/rocksdb/_rocksdb.pyx index 017d554..15dabcb 100644 --- a/rocksdb/_rocksdb.pyx +++ b/rocksdb/_rocksdb.pyx @@ -1185,13 +1185,6 @@ cdef class ColumnFamilyOptions(object): else: raise Exception("Unknown compaction style") - # Deprecate - # property filter_deletes: - # def __get__(self): - # return self.copts.filter_deletes - # def __set__(self, value): - # self.copts.filter_deletes = value - property max_sequential_skip_in_iterations: def __get__(self): return self.copts.max_sequential_skip_in_iterations @@ -1273,6 +1266,12 @@ cdef class ColumnFamilyOptions(object): def __set__(self, value): self.copts.paranoid_file_checks = value + property level_compaction_dynamic_level_bytes: + def __get__(self): + return self.copts.level_compaction_dynamic_level_bytes + def __set__(self, value): + self.copts.level_compaction_dynamic_level_bytes = value + cdef class Options(ColumnFamilyOptions): cdef options.Options* opts cdef PyCache py_row_cache