Uploaded image for project: 'Hibernate Search'
  1. HSEARCH-2690

FileHelper based index replication attempts to delete locked files on Windows

    Details

      Description

      The method org.hibernate.search.util.impl.FileHelper.delete(Path) might be invoked during an "rsync style" index replication while the files being deleted are still in use by some IndexReader, as there might be concurrent read operations.

      This is fine on Unix systems, but on Windows the read operations prevent the delete operation from succeeding, so the index replication job fails.

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                sanne Sanne Grinovero
                Reporter:
                sanne Sanne Grinovero
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: