cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Lohfink (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-14573) Expose settings in virtual table
Date Wed, 25 Jul 2018 14:53:00 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-14573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16555793#comment-16555793
] 

Chris Lohfink commented on CASSANDRA-14573:
-------------------------------------------

We could probably new up a new Config, but knowing the defaults is a little difficult since
some values are null and default programmatically configured in the DatabaseDescriptor when
it also brings in values from cassandra.yaml. I don't think theres a clean solution that would
work for all values without making some changes to how Config is created which I was hoping
to avoid.

> Expose settings in virtual table
> --------------------------------
>
>                 Key: CASSANDRA-14573
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14573
>             Project: Cassandra
>          Issue Type: New Feature
>            Reporter: Chris Lohfink
>            Assignee: Chris Lohfink
>            Priority: Minor
>              Labels: virtual-tables
>
> Allow both viewing what the settings are (currently impossible for some) and allow changing
some settings.
> Example:
> {code:java}
> UPDATE system_info.settings SET value = 'false' WHERE setting = 'hinted_handoff_enabled';
> SELECT * FROM system_info.settings WHERE writable = True;
>  setting                                              | value      | writable
> ------------------------------------------------------+------------+----------
>                       batch_size_fail_threshold_in_kb |         50 |     True
>                       batch_size_warn_threshold_in_kb |          5 |     True
>                          cas_contention_timeout_in_ms |       1000 |     True
>                      compaction_throughput_mb_per_sec |         16 |     True
>                                 concurrent_compactors |          2 |     True
>                                concurrent_validations | 2147483647 |     True
>                   counter_write_request_timeout_in_ms |       5000 |     True
>                                hinted_handoff_enabled |      false |     True
>                         hinted_handoff_throttle_in_kb |       1024 |     True
>                                   incremental_backups |      false |     True
>  inter_dc_stream_throughput_outbound_megabits_per_sec |        200 |     True
>                                 phi_convict_threshold |        8.0 |     True
>                           range_request_timeout_in_ms |      10000 |     True
>                            read_request_timeout_in_ms |       5000 |     True
>                                 request_timeout_in_ms |      10000 |     True
>           stream_throughput_outbound_megabits_per_sec |        200 |     True
>                           tombstone_failure_threshold |     100000 |     True
>                              tombstone_warn_threshold |       1000 |     True
>                        truncate_request_timeout_in_ms |      60000 |     True
>                           write_request_timeout_in_ms |       2000 |     True{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message