[
https://issues.apache.org/jira/browse/CASSANDRA-11192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15154599#comment-15154599
]
Yuki Morishita commented on CASSANDRA-11192:
--------------------------------------------
This is more like passing config values such as {{trickle_fsync}} from outside
rather than accessing {{DatabaseDescriptor}} or whatever class CASSANDRA-9054
breaks up to from inside the class.
> remove DatabaseDescriptor dependency from o.a.c.io.util package
> ---------------------------------------------------------------
>
> Key: CASSANDRA-11192
> URL: https://issues.apache.org/jira/browse/CASSANDRA-11192
> Project: Cassandra
> Issue Type: Sub-task
> Reporter: Yuki Morishita
>
> DatabaseDescriptor is the source of all configuration in Cassandra, but since
> its static initialization from Config/cassandra.yaml, it is hard to configure
> programatically. Also if it's not {{Config.setClientMode(true)}},
> DatabaseDescriptor creates/initializes tons of unnecessary things for just
> reading SSTable.
> Since o.a.c.io.util is the core of accessing files, they should be as
> independent as possible.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)