Re: reindexed data on master not replicated to slave

2009-07-08 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Wed, Jul 8, 2009 at 10:14 PM, solr jay wrote: > Thanks. The patch looks good, and I now see the new index directory and it > is in sync with the one on master. I'll do more testing. > > It is probably not important, but I am just curious why we switch index > directory. I thought it would be eas

Re: reindexed data on master not replicated to slave

2009-07-07 Thread Noble Paul നോബിള്‍ नोब्ळ्
jay, Thanks. The testcase was not enough. I have given a new patch . I guess that should solve this On Wed, Jul 8, 2009 at 3:48 AM, solr jay wrote: > I guess in this case it doesn't matter whether the two directories > tmpIndexDir and indexDir are the same or not. It looks that the index > directo

Re: reindexed data on master not replicated to slave

2009-07-07 Thread solr jay
I guess in this case it doesn't matter whether the two directories tmpIndexDir and indexDir are the same or not. It looks that the index directory is switched to tmpIndexDir and then it is deleted inside "finally". On Tue, Jul 7, 2009 at 12:31 PM, solr jay wrote: > In fact, I saw the directory w

Re: reindexed data on master not replicated to slave

2009-07-07 Thread solr jay
In fact, I saw the directory was created and then deleted. On Tue, Jul 7, 2009 at 12:29 PM, solr jay wrote: > Ok, Here is the problem. In the function, the two directories tmpIndexDir > and indexDir are the same (in this case only?), and then at the end of the > function, the directory tmpIndexD

Re: reindexed data on master not replicated to slave

2009-07-07 Thread solr jay
Ok, Here is the problem. In the function, the two directories tmpIndexDir and indexDir are the same (in this case only?), and then at the end of the function, the directory tmpIndexDir is deleted, which deletes the new index directory. } finally { delTree(tmpIndexDir); } On

Re: reindexed data on master not replicated to slave

2009-07-07 Thread solr jay
I see. So I tried it again. Now index.properties has #index properties #Tue Jul 07 12:13:49 PDT 2009 index=index.20090707121349 but there is no such directory index.20090707121349 under the data directory. Thanks, J On Tue, Jul 7, 2009 at 11:50 AM, Shalin Shekhar Mangar < shalinman...@gmail.co

Re: reindexed data on master not replicated to slave

2009-07-07 Thread Shalin Shekhar Mangar
On Tue, Jul 7, 2009 at 11:50 PM, solr jay wrote: > It seemed that the patch fixed the symptom, but not the problem itself. > > Now the log messages looks good. After one download and installed the > index, > it printed out > > *Jul 7, 2009 10:35:10 AM org.apache.solr.handler.SnapPuller > fetchLat

Re: reindexed data on master not replicated to slave

2009-07-07 Thread solr jay
t; >>> >> jay , I see updating index properties... twice > >>> >> > >>> >> > >>> >> > >>> >> this should happen rarely. in your case it should have happened only > >>> >> once. because you cleaned up the master only once > >>

Re: reindexed data on master not replicated to slave

2009-07-07 Thread Noble Paul നോബിള്‍ नोब्ळ्
>> >>> >> On Fri, Jul 3, 2009 at 6:09 AM, Otis >>> >> Gospodnetic wrote: >>> >> > >>> >> > Jay, >>> >> > >>> >> > You didn't mention which version of Solr you are using.  It looks >>> >>

Re: reindexed data on master not replicated to slave

2009-07-06 Thread solr jay
> >> > some trunk or nightly version. Maybe you can try the latest nightly? >> >> > >> >> > Otis >> >> > -- >> >> > Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch >> >> > >> >> > >>

Re: reindexed data on master not replicated to slave

2009-07-03 Thread solr jay
>> From: solr jay > >> To: solr-user@lucene.apache.org > >> Sent: Thursday, July 2, 2009 9:14:48 PM > >> Subject: reindexed data on master not replicated to slave > >> > >> Hi, > >> > >> When index data were corrupted on master instance,

Re: reindexed data on master not replicated to slave

2009-07-02 Thread Noble Paul നോബിള്‍ नोब्ळ्
ne.apache.org >> Sent: Thursday, July 2, 2009 9:14:48 PM >> Subject: reindexed data on master not replicated to slave >> >> Hi, >> >> When index data were corrupted on master instance, I wanted to wipe out all >> the index data and re-index everything. I was hopin

Re: reindexed data on master not replicated to slave

2009-07-02 Thread solr jay
the latest nightly? > > Otis > -- > Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch > > > > - Original Message > > From: solr jay > > To: solr-user@lucene.apache.org > > Sent: Thursday, July 2, 2009 9:14:48 PM > > Subject: reindexed d

Re: reindexed data on master not replicated to slave

2009-07-02 Thread Otis Gospodnetic
: solr-user@lucene.apache.org > Sent: Thursday, July 2, 2009 9:14:48 PM > Subject: reindexed data on master not replicated to slave > > Hi, > > When index data were corrupted on master instance, I wanted to wipe out all > the index data and re-index everything. I was hoping the newly created

reindexed data on master not replicated to slave

2009-07-02 Thread solr jay
Hi, When index data were corrupted on master instance, I wanted to wipe out all the index data and re-index everything. I was hoping the newly created index data would be replicated to slaves, but it wasn't. Here are the steps I performed: 1. stop master 2. delete the directory 'index' 3. start