Update _rocksdb.pyx

This commit is contained in:
iFA 2021-02-16 21:35:41 +01:00 committed by GitHub
parent 179f4d8368
commit 4989f5ccf0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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