What happens with a document, if a conflict is not resolved?

2009-10-29 Thread fana
Hi, I read the book, Wiki and some Blogs about CouchDB, but there is still a question in my mind. If a document is in conflict, the application has to resolve it. But what, if this never happens? Can the document in conflict still be read and edited? Or is it unavailable until the conflict is

Re: COUCHDB-161 Range Request support for attachments

2009-10-29 Thread jens . riemschneider
Hi Jan, I found some time to look into the code and I have a rough idea on how this can be implemented. As far as I understand, an attachment is stored in blocks and then contains data on where those blocks can be found on disk. The actual length of the block is stored on disk. Therefore, the

Re: What happens with a document, if a conflict is not resolved?

2009-10-29 Thread Brian Candler
On Thu, Oct 29, 2009 at 07:28:33AM +0100, fana wrote: I read the book, Wiki and some Blogs about CouchDB, but there is still a question in my mind. If a document is in conflict, the application has to resolve it. But what, if this never happens? All the conflicting versions remain around,

revs_info misses conflicting revs?

2009-10-29 Thread Brian Candler
I am a bit confused about the intended semantics of ?revs_info=true, since it does not show conflicting revs. Example: script --- HOST=http://127.0.0.1:5984 DB=$HOST/conflict_test EP=$DB/_bulk_docs curl -s $HOST curl -sX DELETE $DB curl -sX PUT $DB resp=$(curl -sX

String and Number

2009-10-29 Thread Duy Nguyen
Hi Does CouchDB treat string and number differently ?

Re: String and Number

2009-10-29 Thread Andrew Melo
On Thu, Oct 29, 2009 at 12:11 PM, Duy Nguyen duynguyen0...@yahoo.com wrote: Hi Does CouchDB treat string and number differently ? What do you mean? Strings and numbers are different in JSON, if that's what you mean. -Andrew

Re: String and Number

2009-10-29 Thread Jesse Hallett
Yes. See the JSON spec: http://json.org/ On Oct 29, 2009 10:11 AM, Duy Nguyen duynguyen0...@yahoo.com wrote: Hi Does CouchDB treat string and number differently ?

Re: COUCHDB-161 Range Request support for attachments

2009-10-29 Thread Paul Davis
Of course this would disable MD5 validation on the skipped bytes; I'm not sure if anyone has discussed the ramifications.  Best, IIRC, there's something in the spec for Content-MD5 that deals with this. Paul Davis

Re: What happens with a document, if a conflict is not resolved?

2009-10-29 Thread Damien Katz
On Oct 29, 2009, at 12:30 PM, Brian Candler wrote: On Thu, Oct 29, 2009 at 07:28:33AM +0100, fana wrote: I read the book, Wiki and some Blogs about CouchDB, but there is still a question in my mind. If a document is in conflict, the application has to resolve it. But what, if this never

Re: revs_info misses conflicting revs?

2009-10-29 Thread Damien Katz
It only shows the revision history of the current document. Open each conflict document by revision id using the revs_info=true options to see it's full history. -Damien On Oct 29, 2009, at 12:39 PM, Brian Candler wrote: I am a bit confused about the intended semantics of ?revs_info=true,

Re: Couch in the wild: request for feedback

2009-10-29 Thread Jan Lehnardt
On 28 Oct 2009, at 16:22, Vijay Raghunathan wrote: - what are your top feature requests for future development? Speed, stability. Rolling the features of the lounge into couch (especially the smartproxy). Filtered changes (I think this is scheduled for .11 right?) They are in 0.10.

Reserved words

2009-10-29 Thread Chris Stockton
Hello, I read System reserved items start with underscore, ... does not allow any user-defined property to begin with an underscore. at [1] which left me curious if the _ rule applies to design doc names? _design/_foo for example is valid as of .10.0, but is that going to change? We intend on

Re: Reserved words

2009-10-29 Thread Andrew Melo
On Thu, Oct 29, 2009 at 4:13 PM, Chris Stockton chrisstockto...@gmail.com wrote: We intend on possibly naming document properties #_* would this cause future conflicts? Any recommendation for a private prefix for property names within documents? Documents may contain properties that belong to

Re: Reserved words

2009-10-29 Thread Paul Davis
On Thu, Oct 29, 2009 at 5:13 PM, Chris Stockton chrisstockto...@gmail.com wrote: _design/_foo for example is valid as of .10.0, but is that going to change? Most interesting. The specific definitions we've used before are generally: Underscore prefixes are reserved in the root of a document.

Re: Proposal regarding reserved names

2009-10-29 Thread Paul Davis
On Thu, Oct 29, 2009 at 6:47 PM, Julian Goacher julian.goac...@gmail.com wrote: Hello, With respect to http://wiki.apache.org/couchdb/Reserved_words: I'm a developer currently writing an application framework layered over couchdb. The framework needs to annotate  user documents with

Re: os_process_error {exit_status,127}

2009-10-29 Thread Chris Anderson
On Thu, Oct 29, 2009 at 5:26 PM, Chris Stockton chrisstockto...@gmail.com wrote: Hello, Creating a simple view such as function(doc) { emit(null, doc); }, will fail with subject. This happens when executing both temporary view or one I create. The database is extremely simple. I think this

Re: Proposal regarding reserved names

2009-10-29 Thread Paul Davis
On Thu, Oct 29, 2009 at 7:19 PM, Julian Goacher julian.goac...@gmail.com wrote: Hi Paul, I think this is a slightly different use case though. The framework sits as a layer between the user and the db; I don't want the user to wrap their data to use the framework. Rather, I want to annotate a

Re: Couch in the wild: request for feedback

2009-10-29 Thread lenz
hi, i'm lenz from iWantMyName, a New Zealand based domain registrar targeting the US market and about to launch into the european market. On Mon, Oct 26, 2009 at 8:40 AM, Michael Miller m...@cloudant.com wrote: - why did you choose couch? when we started iwmn we looked around for new stuff -