cuba-platform / fts

Full-Text Search Addon
https://www.cuba-platform.com/
Apache License 2.0
4 stars 1 forks source link

JVM craches with MMAPDirectory fts mapping and network ftsIndex folder and locked with FSDirectory #14

Open haulmont-git opened 6 years ago

haulmont-git commented 6 years ago

Conditions:

  1. OS Windows
  2. Connection with findex folder must be unstable.

Actions:

  1. Move findex directory to network folder and setup server to this folder.
  2. Add entities in system.
  3. Run reindex or search file. If fts engine has begun search in folder but does not finish yet, and connection has been lost, then work of jvm is terminated.

Error is in attachment.

If change MMAPDirectory to NIOFSDirectory or FSDirectory then work of jvm is not terminated, but index will be locked because file write.lock has not been removed.


Original issue: https://youtrack.haulmont.com/issue/PL-9921