lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pgerber <>
Subject [GitHub] lucene-solr issue #374: [SOLR-12334] Improve detection of recreated lockfile...
Date Wed, 09 May 2018 15:42:59 GMT
Github user pgerber commented on the issue:
    > fileKey is implemented on windows, so its untrue that nothing would change.
    Looking at the [OpenJDK 10 source code](,
keyFile returns null invariably on Windows. Unless I'm wrong about it returning null on Windows,
there should indeed not be any change. (I don't have Windows, so I couldn't actually test
    > in general, the problem is with the metadata on gluster. lockfactory gets picked
on because its the first thing you will hit (that's its job!), but hacking around the problem
for gluster won't really help you. Its problems go much deeper, e.g. rename() isn't atomic.
Its not appropriate for lucene indexes.
    So I've noticed and we'll probably move away from Gluster before long. However, I'd still
like to see this change merged, independent of any issues with Gluster. To me, it would appear
to be more sensible to use a natively by Java supported way for uniquely identifying files
on platforms that support it as opposed to a hack using file creation/modification timestamps.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message