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

Robert Muir commented on LUCENE-9576:
-------------------------------------

I propose to remove this janky SSD detection logic, and instead simply default 
as if haveSpinningDisks = false. It is 2020! And it would remove a bunch of 
hairy code that will never be correct in all cases and may even cause trouble.

If a user has spinning disks, it is true it may cause lower performance, 
requiring them to set the boolean themselves. But it should not be a 
surprise... and I think it wouldn't be unexpected either, to notice that 
indexing is slow on a spinning disk.

cc [~mikemccand][~uschindler]

> IndexWriter::commit() hangs when the server has a stale NFS mount.
> ------------------------------------------------------------------
>
>                 Key: LUCENE-9576
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9576
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: core/index
>    Affects Versions: 8.5.2
>            Reporter: Girish Nayak
>            Priority: Major
>         Attachments: IndexWriter-commit.PNG
>
>
> Noticed IndexWriter::commit() hangs when the server has one or more stale NFS 
> mounts.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to