Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Options apis #137

Merged
merged 2 commits into from
Jun 25, 2024
Merged

Options apis #137

merged 2 commits into from
Jun 25, 2024

Conversation

Congyuwang
Copy link
Collaborator

Add the following APIs for Options:

class Options
    def set_enable_blob_files(self, val: bool) -> None: ...
    def set_min_blob_size(self, val: int) -> None: ...
    def set_blob_file_size(self, val: int) -> None: ...
    def set_blob_compression_type(self, val: DBCompressionType) -> None: ...
    def set_enable_blob_gc(self, val: bool) -> None: ...
    def set_blob_gc_age_cutoff(self, val: float) -> None: ...
    def set_blob_gc_force_threshold(self, val: float) -> None: ...
    def set_blob_compaction_readahead_size(self, val: int) -> None: ...
    def set_allow_ingest_behind(self, val: bool) -> None: ...
    def add_compact_on_deletion_collector_factory(self, window_size: int, num_dels_trigger: int, deletion_ratio: float) -> None: ...
    def set_write_buffer_manager(self, write_buffer_manager: WriteBufferManager) -> None: ...
    def set_avoid_unnecessary_blocking_io(self, val: bool) -> None: ...
    def set_auto_tuned_ratelimiter(self, rate_bytes_per_sec: int, refill_period_us: int, fairness: int) -> None: ...

@Congyuwang Congyuwang merged commit dba31d5 into main Jun 25, 2024
18 checks passed
@Congyuwang Congyuwang deleted the options-apis branch June 25, 2024 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant