[
https://issues.apache.org/jira/browse/LUCENE-6614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14602849#comment-14602849
]
Robert Muir commented on LUCENE-6614:
-------------------------------------
Writing a custom directory is incredibly risky. Let's be honest, its really
something that should be avoided at all costs, its almost asking for index
corruption.
Look at the "simple" ones lucene ships with, we have a hard enough time keeping
those working correctly.
So I really have absolutely zero sympathy for someone who writes a custom
directory. They can set CMS parameters. And they always should if they care.
the current logic does not work on windows or OS X for example.
Its a statistical hack. it improves defaults because the vast majority of users
are on linux, and the vast majority don't write custom directories. Lets just
leave it as a hack and please not put it on Directory. methods on Directory are
very expensive to maintain. They are incredibly hard to remove.
> IOUtils.spins doesn't work for drives NVMe drives
> -------------------------------------------------
>
> Key: LUCENE-6614
> URL: https://issues.apache.org/jira/browse/LUCENE-6614
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Michael McCandless
> Assignee: Uwe Schindler
> Priority: Minor
> Fix For: 5.3, Trunk
>
> Attachments: LUCENE-6614.patch
>
>
> NVMe is the faster (than AHCI) protocol for newer SSDs that plug into the
> PCIE bus.
> I just built a new beast box with one of these drives, and the partition is
> named {{/dev/nvme0n1p1}} while the device is {{/dev/nvme0n1}} by Linux - this
> also appears in /sys/block with rotational=0.
> I think [~steve_rowe] also has an NVME drive ...
> [~thetaphi] (who got the box working for me: thank you!!!) has ideas on how
> to fix it!
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]