iate your hard
work! Would you mind sending out a link to the issue you created?
Thanks,
Stu
-Original Message-
From: Michael McCandless <[EMAIL PROTECTED]>
Sent: Tuesday, April 22, 2008 7:32am
To: java-user@lucene.apache.org, [EMAIL PROTECTED]
Subject: Re: FW: Re: Oc
Stu Hood wrote:
Thank you very much for looking into this issue!
You're welcome! Thank you for catching it & reporting it.
I originally switched to the SerialMergeScheduler to try and work
around this bug: http://lucene.markmail.org/message/
awkkunr7j24nh4qj . I switched back to the Conc
;
Sent: Tuesday, April 22, 2008 7:32am
To: java-user@lucene.apache.org, [EMAIL PROTECTED]
Subject: Re: FW: Re: Occasional Hang in IndexWriter.close()
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
main]: LMP: 5 to 9: add this merge
> IW 0 [main]: LMP: level 10.339036 to 10.916957: 1 segments
> IW 0 [main]: add merge to pendingMerges: _mk:C70616 _ml:C88 _mp:C5
> _mo:C9905 [total 1 pending]
> IW 0 [main]: now commit transaction
> IW 0 [main]: checkpoint: w
[main]: LMP: 5 to 9: add this merge
> IW 0 [main]: LMP: level 10.339036 to 10.916957: 1 segments
> IW 0 [main]: add merge to pendingMerges: _mk:C70616 _ml:C88 _mp:C5
> _mo:C9905 [total 1 pending]
> IW 0 [main]: now commit transaction
> IW 0 [main]: checkpoint: wrote segments f
erges: _mk:C70616 _ml:C88 _mp:C5
_mo:C9905 [total 1 pending]
IW 0 [main]: now commit transaction
IW 0 [main]: checkpoint: wrote segments file "segments_n"
IFD [main]: now checkpoint "segments_n" [11 segments ; isCommit = true]
IFD [main]: deleteCommits: now remove commit &quo
).
I've moved the close out of the finally block, so hopefully if an exception was
being hidden, I'll see it and report back.
Thanks,
Stu
-Original Message-
From: Michael McCandless <[EMAIL PROTECTED]>
Sent: Saturday, April 19, 2008 4:40am
To: java-user@lucene.apache.org
Hmm, that is odd.
This is actually expected, if you are using ConcurrentMergeScheduler,
because close() by default waits for all running merges to complete.
But you seem to be using SerialMergeScheduler.
Were there any exceptions hit before you call close()?
Mike
Stu Hood <[EMAIL PROTECTED]> wr