[
https://issues.apache.org/jira/browse/CASSANDRA-15763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17094881#comment-17094881
]
Yifan Cai commented on CASSANDRA-15763:
---------------------------------------
PR: [https://github.com/apache/cassandra/pull/573]
Code:
[https://github.com/yifan-c/cassandra/tree/CASSANDRA-15763-tunable-rtl-init-size-n-factor]
Test:
[https://app.circleci.com/pipelines/github/yifan-c/cassandra/60/workflows/3de6fbe8-81e8-4f33-abdd-da72adf4893b]
The PR added {{initial_range_tombstone_list_allocation_size}} and
{{range_tombstone_list_growth_factor}} into config. They are configurable via
JMX.
The default values of the 2 new properties are kept the same with the existing
hard-coded ones.
- {{initial_range_tombstone_list_allocation_size}} : 1
- {{range_tombstone_list_growth_factor}}: 1.5
> Tunable RangeTombstoneList initial size and resize factor
> ---------------------------------------------------------
>
> Key: CASSANDRA-15763
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15763
> Project: Cassandra
> Issue Type: Improvement
> Components: Local/Config
> Reporter: Yifan Cai
> Assignee: Yifan Cai
> Priority: Normal
>
> Cassandra allocates a backing array with a fixed size of one when creating a
> new RangeTombstoneList object. The resize factor is fixed to 1.5.
> The initial size and resize factor could be made tunable so it could reduce
> cost in some cases.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]