Lance, There is no TieredMergeScheduler. You somehow confuse MergeSchedule with MergePolicy. TieredMergePolicy is new, but has nothing to do with the problem here. The MergeScheduler executres the merges serial (SerialMergeScheduler) or parallel (ConcurrentMergeScheduler, the default since long time). The MergePolicy simply tells under which conditions and how segments are merged.
Uwe ----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: [email protected] > -----Original Message----- > From: Lance Norskog [mailto:[email protected]] > Sent: Sunday, February 26, 2012 1:05 AM > To: [email protected] > Subject: Re: Here a merge thread, there a merge thread ... > > Solr uses TieredMergeScheduler by default now. You might find this works > more smoothly. > > On Fri, Feb 24, 2012 at 10:03 AM, Benson Margulies > <[email protected]> wrote: > > On Fri, Feb 24, 2012 at 10:59 AM, Michael McCandless > > <[email protected]> wrote: > >> This is from ConcurrentMergeScheduler (the default MergeScheduler). > >> > >> But, are you sure the threads are sleeping, not exiting? (They > >> should be exiting). > >> > >> This merge scheduler starts a new thread when a merge is needed, > >> allows that thread to do another merge (if one is immediately > >> available), else the thread exits. > > > > They seem to exit eventually, but not quite as soon as they arrive. > > > > > >> > >> Mike McCandless > >> > >> http://blog.mikemccandless.com > >> > >> On Sun, Feb 19, 2012 at 9:05 PM, Benson Margulies > <[email protected]> wrote: > >>> A long-running program of mine (which Uwe's read a model of) slowly > >>> keeps adding merge threads. I count 22 at the moment. Each one shows > >>> up, runs for a bit, and then goes to sleep for, seemingly ever. I > >>> don't do anything explicit to control merging behavior. > >>> > >>> They name themselves "Lucene Merge Thread #xxx" where xxx is a > >>> non-contiguous but ever-growing number. > >>> > >>> -------------------------------------------------------------------- > >>> - To unsubscribe, e-mail: [email protected] > >>> For additional commands, e-mail: [email protected] > >>> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [email protected] > >> For additional commands, e-mail: [email protected] > >> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > > -- > Lance Norskog > [email protected] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
