mirror of https://github.com/apache/lucene.git
LUCENE-771: fixing the description of the naming of the write lock in the file format doc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@512329 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1486b19a4f
commit
330aa3063e
|
@ -900,13 +900,17 @@
|
|||
</p>
|
||||
|
||||
<p>
|
||||
The write lock is named "XXXX-write.lock" where
|
||||
XXXX is typically a unique prefix computed by the
|
||||
directory path to the index. When this file is
|
||||
present, a process is currently adding documents
|
||||
to an index, or removing files from that index.
|
||||
This lock file prevents several processes from
|
||||
attempting to modify an index at the same time.
|
||||
The write lock, which is stored in the index
|
||||
directory by default, is named "write.lock". If
|
||||
the lock directory is different from the index
|
||||
directory then the write lock will be named
|
||||
"XXXX-write.lock" where XXXX is a unique prefix
|
||||
derived from the full path to the index directory.
|
||||
When this file is present, a process is currently
|
||||
adding documents to an index, or removing files
|
||||
from that index. This lock file prevents several
|
||||
processes from attempting to modify an index at
|
||||
the same time.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
|
Loading…
Reference in New Issue