On 2/19/07, Chris Hostetter <[EMAIL PROTECTED]> wrote:
: If you commit a document while the updater is autocommiting, it is : likely to immediatly start another autocommit (unless you are also : using maxDocs). i don't really understand how the autocommit stuff is safe from concurency issues...
tracker.addedDocument() is only called from the synchronized block within updateHandler.addDoc(AddUpdateCommand cmd); it is called between iwAccess.lock(); and iwAccess.unlock(); That should make sure it is not started more then once. (java threading and concurrency still feels a little like voodoo, so I could be missing something)
but i certianly couldn't see any way this would cause any problems, so i've commited it.
thanks