[
https://issues.apache.org/jira/browse/SOLR-8081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14904373#comment-14904373
]
Jan Høydahl commented on SOLR-8081:
-----------------------------------
In the good old days when I worked for FAST, that were the days when RAM was
expensive and all search engines were disk-bound. It was ultra important to get
maximum disk I/O throughput, and the solution was either SAN with fibre channel
or multiple local disks with RAID (typically HW RAID), striping with well tuned
block sizes and stripe sizes. Then you got way better sequential read
performance than from single disks.
But these days we use RAM/CPU much more, indexes are smaller and we do not need
to invest that much in optimized disk systems except for special cases. I'm not
a disk expert either but I'd argue that the complexity of juggling cores
between multiple disks, each which can run full at different times, as well as
the unavoidable future requirement to migrate an existing core from one disk to
another etc may not be worth it; as long as the problem can be solved futher
down the stack. https://en.wikipedia.org/wiki/RAID
> When creating a collection, we need a way to utilize multiple disks available
> on a node.
> ----------------------------------------------------------------------------------------
>
> Key: SOLR-8081
> URL: https://issues.apache.org/jira/browse/SOLR-8081
> Project: Solr
> Issue Type: Improvement
> Components: SolrCloud
> Reporter: Timothy Potter
>
> Currently, if I want to change the dataDir for a core (such as to utilize
> multiple disks on a Solr node), I need to either setup a symlink or change
> the dataDir property in core.properties and restart the Solr node. For
> instance, if I have a 4-node SolrCloud cluster and want to create a
> collection with 4 shards with rf=2, then 8 Solr cores will be created across
> the cluster, 2 per node. If I want to have each core use a separate disk,
> then I have to do that after the fact. I'm aware that I could create the
> collection with rf=1 and then use AddReplica to add additional replicas with
> a different dataDir set, but that feels cumbersome as well.
> What would be nice is to have a way for me to specify available disks and
> have Solr use that information when provisioning cores on the node.
> [~anshumg] mentioned this might be best accomplished with a replica placement
> strategy.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]