incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Damien Katz <dam...@apache.org>
Subject Re: Why is CouchDB frequently re-indexing my views from scratch?
Date Thu, 18 Jun 2009 20:10:17 GMT
Is it possible it's a character encoding issue? Are there any non- 
ascii chars in your view funs that are maybe getting changed in the  
round trip? Also, do the order of the views change?

If it is a bug in couchdb, can you create a test case that shows the  
problem?

-Damien


On Jun 18, 2009, at 4:02 PM, Jim Puls wrote:

> On Jun 18, 2009, at 12:46 PM, Paul Davis wrote:
>
>> On Thu, Jun 18, 2009 at 3:42 PM, Damien Katz<damien@apache.org>  
>> wrote:
>>>
>>>
>>> I don't know what CouchRest is doing, but CouchDB does check for  
>>> changes in
>>> the view, not just that the view design doc changed. It's always  
>>> possible
>>> there is a bug in the view indexer, but I'm betting it's CouchRest  
>>> modifying
>>> a view definition.
>>>
>>> -Damien
>>>
>>
>> First place you might want to check is if its adding spaces or
>> newlines to the end of a view.
>
> I copied the contents of the "views" field from Futon for the design  
> doc, revision 172. Then I restarted the app server and did the same  
> for the design doc, revision 174. They're byte-for-byte identical.
>
> -> jp


Mime
View raw message