Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Python Rocksdb
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
public
Python Rocksdb
Commits
b0bc65ae
Commit
b0bc65ae
authored
3 years ago
by
Alexander Regueiro
Committed by
Jan Segre
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fixed tests and documentation for removed properties.
parent
04f0202d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
docs/api/options.rst
+0
-59
0 additions, 59 deletions
docs/api/options.rst
rocksdb/options.pxd
+0
-1
0 additions, 1 deletion
rocksdb/options.pxd
rocksdb/tests/test_options.py
+3
-1
3 additions, 1 deletion
rocksdb/tests/test_options.py
with
3 additions
and
61 deletions
docs/api/options.rst
+
0
−
59
View file @
b0bc65ae
...
...
@@ -504,57 +504,6 @@ Options objects
| *Type:* ``bool``
| *Default:* ``False``
.. py:attribute:: soft_rate_limit
.. IMPORTANT::
NOT SUPPORTED ANYMORE -- this option is no longer used
Puts are delayed 0-1 ms when any level has a compaction score that exceeds
soft_rate_limit. This is ignored when == 0.0.
CONSTRAINT: soft_rate_limit <= hard_rate_limit. If this constraint does not
hold, RocksDB will set soft_rate_limit = hard_rate_limit.
A value of ``0`` means disabled.
| *Type:* ``float``
| *Default:* ``0``
.. py:attribute:: hard_rate_limit
.. IMPORTANT::
NOT SUPPORTED ANYMORE -- this option is no longer used
Puts are delayed 1ms at a time when any level has a compaction score that
exceeds hard_rate_limit. This is ignored when <= 1.0.
A value fo ``0`` means disabled.
| *Type:* ``float``
| *Default:* ``0``
.. py:attribute:: rate_limit_delay_max_milliseconds
.. IMPORTANT::
NOT SUPPORTED ANYMORE -- this option is no longer used
Max time a put will be stalled when hard_rate_limit is enforced. If 0, then
there is no limit.
| *Type:* ``int``
| *Default:* ``1000``
.. py:attribute:: purge_redundant_kvs_while_flush
.. IMPORTANT::
NOT SUPPORTED ANYMORE -- this option is no longer used
Purge duplicate/deleted keys when a memtable is flushed to storage.
| *Type:* ``bool``
| *Default:* ``True``
.. py:class:: rocksdb.Options
...
...
@@ -819,14 +768,6 @@ Options objects
| *Type:* ``bool``
| *Default:* ``True``
.. py:attribute:: skip_log_error_on_recovery
Skip log corruption error on recovery
(If client is ok with losing most recent changes)
| *Type:* ``bool``
| *Default:* ``False``
.. py:attribute:: stats_dump_period_sec
If not zero, dump rocksdb.stats to LOG every stats_dump_period_sec
...
...
This diff is collapsed.
Click to expand it.
rocksdb/options.pxd
+
0
−
1
View file @
b0bc65ae
...
...
@@ -96,7 +96,6 @@ cdef extern from "rocksdb/options.h" namespace "rocksdb":
cpp_bool
use_direct_io_for_flush_and_compaction
cpp_bool
allow_fallocate
cpp_bool
is_fd_close_on_exec
cpp_bool
skip_log_error_on_recovery
unsigned
int
stats_dump_period_sec
cpp_bool
advise_random_on_open
size_t
db_write_buffer_size
...
...
This diff is collapsed.
Click to expand it.
rocksdb/tests/test_options.py
+
3
−
1
View file @
b0bc65ae
import
unittest
import
sys
import
unittest
import
rocksdb
class
TestFilterPolicy
(
rocksdb
.
interfaces
.
FilterPolicy
):
def
create_filter
(
self
,
keys
):
return
b
'
nix
'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment