commit
3bd767eb77
2 changed files with 8 additions and 1 deletions
|
@ -1439,6 +1439,12 @@ cdef class Options(ColumnFamilyOptions):
|
|||
def __set__(self, value):
|
||||
self.opts.WAL_size_limit_MB = value
|
||||
|
||||
property max_total_wal_size:
|
||||
def __get__(self):
|
||||
return self.opts.max_total_wal_size
|
||||
def __set__(self, value):
|
||||
self.opts.max_total_wal_size = value
|
||||
|
||||
property manifest_preallocation_size:
|
||||
def __get__(self):
|
||||
return self.opts.manifest_preallocation_size
|
||||
|
|
|
@ -87,7 +87,8 @@ cdef extern from "rocksdb/options.h" namespace "rocksdb":
|
|||
int table_cache_numshardbits
|
||||
uint64_t WAL_ttl_seconds
|
||||
uint64_t ttl
|
||||
uint64_t WAL_size_limit_MB
|
||||
uint64_t WAL_size_limit_MB # Not supported
|
||||
uint64_t max_total_wal_size
|
||||
size_t manifest_preallocation_size
|
||||
cpp_bool allow_mmap_reads
|
||||
cpp_bool allow_mmap_writes
|
||||
|
|
Loading…
Reference in a new issue