Does Indexing Ever Stop?
I installed Couchbase (CB) on my development box to see how it would work for our application.
I started with about 50,000 records, created a design doc and two views. Each of the views emits one field and uses the built-in "_count" reduce function. Once I got the views working correctly, I started pushing more data into CB.
I put about 26 million records in CB. This was last Thursday, I let it index over night. On Friday I spent some time looking at the data and writing a program to extract the view results so I can report on them. I turned the machine off for the weekend.
This morning I started up and my hard drive never settled down after the OS loaded and stabilized. After some sleuthing I found CB indexing. It has been going non-stop since, about eight hours. It appears to have restarted the indexing process several times today. I've seen it as high as 28% complete.
Why is it indexing the entire database again? Is there a shutdown procedure I should be following? Or, is there something else going on here? I haven't been able to work with CB at all today because of the indexing.
This installation is on a Windows 7 machine, if it matters.