This is a change between CouchDB 1.0.x and 1.1.x.
This API is predominantly used by the replicator, which is why it has
been enhanced (no more base64 inflation) and why it isn't documented.
I'll note that I didn't make the change itself, I believe that was
Filipe. The only change I made was to
If you're not keeping the connection alive (I assume a loop calling
wget is unable to do so) then much of the variance will be down to
creating new TCP connections. A further problem is that of ephemeral
port exhaustion, you might find the spikes in latency are cyclical,
which is when wget is
One minor point, your documents won't sort correctly (and therefore
your sums will be wrong). A string of this form [2011, 6, 7, 10, 55]
will not sort the same as the array you intended [2011, 6, 7, 10, 55].
B.
On 9 June 2011 17:36, Fabio Di Bernardini f...@altraqua.com wrote:
I need to make a
that helps. It would actually be nice to see
a built in _avg reduce function though.
On Thu, Jun 9, 2011 at 12:39 PM, Robert Newson robert.new...@gmail.comwrote:
One minor point, your documents won't sort correctly (and therefore
your sums will be wrong). A string of this form [2011, 6, 7, 10, 55
This feature does not exist in any release of Apache CouchDB to date.
B.
On 10 June 2011 11:25, Fabio Di Bernardini f...@altraqua.com wrote:
I found an old
mailhttp://couchdb-development.1959287.n2.nabble.com/chaining-map-reduce-in-hovercraft-td3028752.htmlof
Chris Anderson about a patch
documents, when you
retrieved them you won't always get what you committed.
On Fri, Jun 10, 2011 at 8:47 AM, Robert Newson robert.new...@gmail.comwrote:
The bulk documents API is not transactional in any useful sense.
On 10 June 2011 13:42, Sean Copenhaver sean.copenha...@gmail.com wrote:
It sounds
Did you overwrite your 0.9 install with files from the 1.1.0 install?
That's the most likely cause of a broken install.
B.
On 13 June 2011 14:05, Benoit Chesneau bchesn...@gmail.com wrote:
On Mon, Jun 13, 2011 at 6:03 AM, Daniele Testa daniele.te...@gmail.com
wrote:
Hi,
I upgraded from 0.9
Roger,
This was a recent regression on Cloudant itself, it's now fixed,
please let us know if you still encounter the error.
B.
On 14 June 2011 16:40, Roger Rohrbach ro...@ecstatic.com wrote:
Hi, all. I'm new to CouchDB (am actually using Cloudant's hosted service,
via Heroku), and have
Why not just delete the database? It'll be faster.
B.
On 16 June 2011 08:43, Bernhard Schauer bernhard.scha...@openforce.com wrote:
no, I only have views.
On 2011-06-16 08:49, Marcello Nuccio wrote:
Do you have validate_doc_update functions in your design documents?
If yes, does delete
Function works just fine for me locally on 1.1.0.
The only reason that you should get a 409 is if the document is
updated concurrently. Update functions are not immune.
B.
On 16 June 2011 21:59, JC de Villa jc.devi...@gmail.com wrote:
Hi all,
I have 1.2 and 1.1 running on my dev machine and
Actualy I think it's this d952ac01cb4cd4ae5ceb0c8cc079acf595ff9747,
which is part of COUCHDB-1175.
I note that I dislike this content-type negotiation quite a lot, no
combination appears to satisfy everyone.
B.
https://issues.apache.org/jira/browse/COUCHDB-1175
On 17 June 2011 13:53, Marcello
Accept: text/html,*/*;q=0.0
and
Accept: text/html,*/*;q=0.1
?
I think they should be treated the same way in this use-case.
What am I missing?
thanks,
Marcello
2011/6/17 Robert Newson rnew...@apache.org:
Actualy I think it's this d952ac01cb4cd4ae5ceb0c8cc079acf595ff9747,
which
.
On 17 June 2011 16:32, Marcello Nuccio marcello.nuc...@gmail.com wrote:
2011/6/17 Robert Newson robert.new...@gmail.com:
Hi Marcello,
The current logic for CouchDB 1.1.0 is this;
1) If the client accepts application/json then respond with 401 and
content-type application/json (i.e, a normal
JC,
Understood but I ran locally with your function and got 201's all the
way. I used apache bench and ran it 2000 times perfectly. If you can
help me reproduce it, I can fix it.
B.
On 18 June 2011 00:06, JC de Villa jc.devi...@gmail.com wrote:
Take a look at https://github.com/dch/glazier -
It's possible that this got broken on trunk recently though this is
the first such report and I don't think it's changed since the 1.1
release.
The precedence of response content-type changed between 1.0 and 1.1
but that doesn't seem to be your problem.
With the information providing, I'd say
This is deliberate (COUCHDB-799 - More granular ETags for views. --
ETags for views now only change when their underlying view index
changes due to indexing or purges. ETags are also specific to each
view.)
The view is updated if and only if the emitted data actually changes.
B.
On 29 June 2011
I think the sanest fix is to make view etags for include_docs=true use
the original algorithm, so that they always change if the database
changes. If you file a ticket, I can fix this in the morning.
B.
On 29 June 2011 19:22, Jens Alfke j...@mooseyard.com wrote:
On Jun 29, 2011, at 11:13 AM,
I'd say the essential thing that CouchDB knows during compaction
that it does not know earlier is *your documents*.
CouchDB *must* write an updated btree and an updated header to point
to the root of that btree every time you update a document, or it will
be lost if couch crashed right then. When
Individual view building is sequential and it's hard to see how it
could be otherwise, given then append-only nature of view files today.
To be honest, this constraint is only of note in a single database,
single view scenario, which I don't think is likely, or even
interesting, and certainly not
that really impacts performance with the view indexer is
the storing of the reductions
in the internal nodes of the btree.
On Jun 30, 2011, at 5:26 AM, Dirkjan Ochtman wrote:
On Thu, Jun 30, 2011 at 11:21, Robert Newson rnew...@apache.org wrote:
Individual view building is sequential
You can fully randomized uuids by changing from 'sequential' to
'random' but, yes, the shared prefix is a compromise between random
uuids and values that play nicely with a b+tree.
B.
On 30 June 2011 20:04, Jens Alfke j...@mooseyard.com wrote:
On Jun 30, 2011, at 12:35 AM, Benoit Chesneau
As a thought experiment, assume we drop all of this negotiation magic
and stick to accepting and returning application/json and returning
'correct' codes like 401 for unauthorized.
What are the consequences? Are they severe or are there good workarounds?
I get that hitting some urls in the
ISO 8601 allows nanosecond precision;
Decimal fractions may also be added to any of the three time
elements... A fraction may only be added to the lowest order time
element in the representation... There is no limit on the number of
decimal places for the decimal fraction
B.
On 6 July 2011
Let's all agree to just quote from Tolkien, then no one can take offense.
B.
On 7 July 2011 09:55, Max Ogden m...@maxogden.com wrote:
Hi Dirkjan - I was attempting to tip you off to the humorous tone that you
were failing to detect. You will find that this particular public mailing
list is
It would be better to read through _changes than _all_docs, surely? :)
B.
On 7 July 2011 10:03, Dan Sheedy sheedy...@gmail.com wrote:
oh.
Sorry for the thread high jack. Good haircut btw, no regrets.
On Thu, Jul 7, 2011 at 5:28 PM, Max Ogden m...@maxogden.com wrote:
you should reconsider
2011 11:23, Matt Goodall matt.good...@gmail.com wrote:
On 7 July 2011 11:17, Robert Newson rnew...@apache.org wrote:
It would be better to read through _changes than _all_docs, surely? :)
Yep, I nearly always use the _changes feed for upgrades.
As long as you make each document upgrade
couchdb-lucene should be writing a log in the logs/ subfolder of
wherever you unpacked the zip or tar to.
I've not tried switching to an alternative port since the first time
those options were added to the hook script, but it did work at the
time.
B.
On 8 July 2011 18:18, Doron Rotem
server mappings
[local]
url = http://localhost:5984/
change this 5984 to 5986 and you should be up and running.
B.
On 9 July 2011 16:06, Robert Newson robert.new...@gmail.com wrote:
couchdb-lucene should be writing a log in the logs/ subfolder of
wherever you unpacked the zip or tar to.
I've
REST does not require that you use only one type of document per
database. Even if it did, I'd strongly advise violating a rule as
silly as that.
Put whatever documents into your database as you please.
B.
On 9 July 2011 19:39, Johnny Weng Luu johnny.weng@gmail.com wrote:
Since CouchDB is
, but that is just bookkeeping.
On Sat, Jul 9, 2011 at 1:29 PM, Robert Newson rnew...@apache.org wrote:
In CouchDB, most of the important features are scoped at the database
level. For example, views, replication, validation functions, rewrite
rules and _security objects. Separating data into different
On Sat, Jul 9, 2011 at 6:16 PM, Robert Newson robert.new...@gmail.comwrote:
Ah, sorry, now I pay closer attention, you have your settings confused.
The --remote-port is to help couchdb find couchdb-lucene, so you don't
need to change it.
You do, however, need to tell couchdb-lucene how to find
, 2011 at 6:16 PM, Robert Newson
robert.new...@gmail.com
wrote:
Ah, sorry, now I pay closer attention, you have your settings
confused.
The --remote-port is to help couchdb find couchdb-lucene, so you
don't
need to change it.
You do, however, need to tell
One useful enhancement is coming to help here. The db info will
include a data_size value, which is the size of the real data inside
the data (basically the size the file will be after you compact it).
You can use this value to decide when to compact, rather than doing it
on a fixed time schedule.
how would one replicate these write-only dropboxes?
B.
On 11 July 2011 22:13, Andrew Stuart (SuperCoders)
andrew.stu...@supercoders.com.au wrote:
I've followed this thread but it's still somewhat unclear -
-- is write only database access built in/easy to do, or must it be
enabled via some
The wiki does mention it (though I'll point out politely that the
couchbase docs, while lovely, are not official atm).
The rev values should be treated opaquely, we don't promise not to
change the format. The contents of the conflicts is what you are
supposed to use to resolve them, just as you
We changed the format between releases. As noted, this is not part of
the public API.
This is yet another reason to have official docs in the couchdb source
tree, we can be sure that it only documents supported parts of the
API.
The ?conflicts=true parameter should be used here instead.
B.
On
supplemental and non-definitive.
B.
On 13 July 2011 17:48, Jens Alfke j...@couchbase.com wrote:
On Jul 13, 2011, at 1:03 AM, Robert Newson wrote:
We changed the format between releases. As noted, this is not part of the
public API.
Actually no one had said in this thread that open_revs
as they are for bug fixes.
So, I'm not slamming the wiki, I'm slapping the committers (again,
myself included) for not yet including docs as part of our release
cycle already. :)
B.
On 13 July 2011 18:32, Jens Alfke j...@couchbase.com wrote:
On Jul 13, 2011, at 10:07 AM, Robert Newson wrote
yes, a bug we've squashed repeatedly but still lingers. What version
of CouchDB? and how did you manage to create the doc with an empty
_id?
B.
On 14 July 2011 10:04, sleepnova wanpee...@gmail.com wrote:
Hi,
I occasionally create a doc which _id = empty string. How can I delete it?
I
It's been proposed (?since=now, iirc) but hasn't happened.
On 14 July 2011 18:40, Jens Alfke j...@couchbase.com wrote:
For my purposes I want to use the _changes feed to get notified of future
changes to the database, but not of historical changes. So essentially I want
to pass “the current
I've used CouchDB for some time and have never seen this
'CouchManager', it appears not to be a part of the CouchDB project.
What exactly are you running?
B.
On 18 July 2011 08:50, Godwin Pang godwin.p...@macquarie.com wrote:
Hi All,
I found the application encountered error everyday at
into, but not read from a database. Is similar functionality
built
in to CouchDB or must it be enabled by external logic?
as
On 12/07/2011, at 7:48 AM, Robert Newson wrote:
how would one replicate these write-only dropboxes?
B.
On 11 July 2011 22:13, Andrew Stuart (SuperCoders
Nice job everyone!
B.
On 19 July 2011 12:38, Sebastian Cohnen sebastiancoh...@googlemail.com wrote:
yay! :)
On 19.07.2011, at 13:28, Jan Lehnardt wrote:
Hello,
Apache CouchDB 1.0.3 has been released and is available for download:
http://couchdb.apache.org/downloads.html
Changes
there is a wiki page for this with only one reasonable solution (db per user).
The trick is solve read access for reduce views without violating
common sense notions of read security. Everything else is easy by
comparison.
B.
On 19 July 2011 21:11, Randall Leeds randall.le...@gmail.com wrote:
.
B.
On 21 July 2011 03:16, Jens Alfke j...@couchbase.com wrote:
Thanks. After Damien explained this to me, I updated the wiki page on view
queries to point it out explicitly.
--Jens
On Jul 20, 2011, at 3:33 PM, Robert Newson rnew...@apache.org wrote:
'group=true' is an alias
try;
-d '{f6d5fe1b2a71eb0fdaddac0a72e10c39:
[1-f4f9a86eeb08a6a09b36a6f9bf81c2b1]}'
the keys are the doc ids, not the relative url to the document.
B.
On 29 July 2011 18:05, Michael Aufreiter m...@zive.at wrote:
Trying to make use of _revs_diff for implementing my own replicator.
I'm just
http://wiki.apache.org/couchdb/Replication
The target database has to exist and is not implicitly created. Add
create_target:true to the JSON object to create the target database
(remote or local) prior to replication.
B.
On 31 July 2011 18:02, Travis Paul t...@vispaul.me wrote:
Running
Luis,
What error?
B.
On 1 August 2011 01:11, Jens Alfke j...@couchbase.com wrote:
On Jul 31, 2011, at 3:25 PM, Luis Carlos Junges wrote:
i am trying to replicate the data from a 1.0.1 version on my local computer
to a free version on www.cloudant.comhttp://www.cloudant.com/, which
Hi Jason,
What filesystem is this stored on? Are you running with
delayed_commits set to true or false?
Finally, are you able to share the database file with the CouchDB
development team?
B.
On 4 August 2011 03:39, Jason Konrad ja...@inboxq.com wrote:
I have a database that has become
the file although its 65GB so I don't know how
practical it would be.
On Aug 4, 2011 2:01 AM, Robert Newson rnew...@apache.org wrote:
Hi Jason,
What filesystem is this stored on? Are you running with
delayed_commits set to true or false?
Finally, are you able to share the database file
trying to interact with the
one problematic db that is when error messages like the one I provided
start to show up in the logs. There was maybe 10 req/sec trying to use
the problem db. After a couple min couch terminates.
On Thu, Aug 4, 2011 at 9:34 AM, Robert Newson rnew...@apache.org wrote:
Hm
sounds like you've hit your file descriptor limit.
On 9 August 2011 13:07, sleepnova wanpee...@gmail.com wrote:
I got series of exception as follow on the CouchDB log.
=ERROR REPORT 9-Aug-2011::19:57:45 ===
{mochiweb_socket_server,225,{acceptor_error,{error,accept_failed}}}
[error]
The trouble is that the replicator, on restart, needs to read that
password. You can add a _security doc to the _replicator database,
though.
B.
On 10 August 2011 16:01, Zachary Zolton zachary.zol...@gmail.com wrote:
Hi,
I'm currently updating systems to use CouchDB 1.1, and I'm changing my
Erm, emit(doc.dict.toLowerCase(), doc); ?
Also you don't need to emit the whole doc. Emit null and use
?include_docs=true, it'll use less disk space (but be slightly slower
for the extra lookup).
B.
On 12 August 2011 06:31, Paul Davis paul.joseph.da...@gmail.com wrote:
On Fri, Aug 12, 2011 at
Regarding the Accept headers and the correct Content-Type: yes,
CouchDB has a bug here.
The discussion on 1175 has reached a dead-end, it seems. I would
rather revert to the 1.0.x behavior given the feedback for 1.1.0. I
had hoped to 'adopt the standard' specified in RFC 2616 but, it turns
out,
August 2011 14:06, Marcello Nuccio marcello.nuc...@gmail.com wrote:
2011/8/16 Marcello Nuccio marcello.nuc...@gmail.com:
2011/8/16 Benoit Chesneau bchesn...@gmail.com:
On Tue, Aug 16, 2011 at 1:01 PM, Robert Newson rnew...@apache.org wrote:
My revised proposal was to send text/html (and 302's
Talk of 'following the standard' while preserving the behavior of
returning a 302 for an unauthorized request is contradictory. We're
deliberately not following the standard 401 response here because the
universal user agent behavior we'd get is unpalatable.
Following the standard for
a 401 response MUST include a WWW-Authenticate header, this causes an
unstylable modal dialog box on all browsers (the HTML you want to send
will not matter).
This is why we cannot do as you suggest.
B.
On 16 August 2011 17:45, Marcello Nuccio marcello.nuc...@gmail.com wrote:
2011/8/16 Jens
,
and no one has asked to change this default.
Marcello
2011/8/16 Robert Newson rnew...@apache.org:
a 401 response MUST include a WWW-Authenticate header, this causes an
unstylable modal dialog box on all browsers (the HTML you want to send
will not matter).
This is why we cannot do as you
The ordering of object keys is explicitly defined here;
http://wiki.apache.org/couchdb/View_collation#Collation_Specification
B.
On 17 August 2011 17:40, Jens Alfke j...@couchbase.com wrote:
On Aug 17, 2011, at 12:09 AM, Heiko Henning wrote:
Is there a possibility to have key as Object?
The reduce_limit heuristic is there to save you from writing bad
reduce functions that are destined to fail in production as document
count increases. The result of a reduce call should be strictly
smaller than the input size (and preferably a lot smaller).
If the number of keys in the returned
CouchDB claims to be lockless
For absolute clarity, this claim is true.
B.
On 18 August 2011 19:44, Paul Davis paul.joseph.da...@gmail.com wrote:
Reads are pulled from the last update that is made available to readers. This
is slightly different than last MVCC checkpoint (or header write in
That's core CouchDB.
On 18 August 2011 21:46, Jens Alfke j...@couchbase.com wrote:
On Aug 18, 2011, at 1:41 PM, John Cheng wrote:
Does anyone know if this is unique to couchbase?
The If-Match: / If-None-Match: / ETag: headers, and the algorithm for
rejecting conflicting updates by
there
was a conflict or not?
On Thu, Aug 18, 2011 at 2:06 PM, Robert Newson rnew...@apache.org wrote:
That's core CouchDB.
On 18 August 2011 21:46, Jens Alfke j...@couchbase.com wrote:
On Aug 18, 2011, at 1:41 PM, John Cheng wrote:
Does anyone know if this is unique to couchbase?
The If-Match
These are all just files in the install, just go right ahead and edit them. :)
B.
On 20 August 2011 18:39, Martin Hewitt mar...@thenoi.se wrote:
Hi all,
Bit of an odd one - I was just wondering if one is able to edit the HTML
CSS used for Futon?
We have a development server and a
Ryan,
As others have noted, you don't need to bump the 'number on the front'
to 'force' updates. Just update the document and replicate. If the
change isn't appearing on the target then the document has conflicting
revisions and your new update was one of the losers. Delete the
revisions *you*
An update to the wiki would be nice, if you have the time.
B.
On 23 August 2011 16:59, Martin Hewitt mar...@thenoi.se wrote:
Right, I've managed to get it up and running, suffice it to say the
documentation on the wiki is out of date.
Should I post my process here or is there a better place
Yes, you have a validate_doc_update function in one of your design
documents that is rejecting this update.
B.
On 24 August 2011 15:44, Justin Michalczak justin.michalc...@sri.com wrote:
CouchDB 0.11.2
Attempting to PUT a new attachment to a document, using a URL similar to:
Try ?startkey=[Paint]endkey=[Paint,{}]
B.
On 30 August 2011 08:52, Ganzha Alexey tret...@gmail.com wrote:
It looks like it will enough startkey=[Paint]endkey=[Paintz]
than for subcategory: [Paint,Inside]endkey=[Paintz,Insidez]
or use '\u221e' instead of 'z'
On Tue, Aug 30, 2011 at 10:04 AM,
You probably installed 1.1.0 over the top of 1.0.2 leading to a jumble
of code from both releases.
Quickest remedy is to remove all *.beam files and do 'make install' again.
B.
On 31 August 2011 00:49, Luis Carlos Junges luis.jun...@gmail.com wrote:
Hi,
I updated my couchdb from 1.0.2 to
Being able to run two separate couchdb instances on the same machine
is considered a feature. Not being able to tell them apart is
considered a bug (in wetware).
:)
B.
On 31 August 2011 21:38, Markus Jelsma markus.jel...@openindex.io wrote:
Hi,
Incredible. I somehow managed to start two
CouchDB can support views in any language but only ships with a
Javascript view server enabled by default. As noted, you can also
enable Erlang views (though I urge caution, it has no sandbox, so a
map function may call file:delete(Path), etc).
There is at least one Python view server out there
A couple of things;
1) It's 'startkey' not 'startKey', ditto for 'endkey'.
2) array keys are not 'complex', they just sort later than strings and numbers.
3) you can only do contiguous ranges. e.g,
?startkey=[1314785463217]endkey=[1314785463217,{}] would find all
keys where the first item is
For instance, searching for the term wonderland should return back
a document where there is a field with the value
some_wonderland_example but it doesn't.
It shouldn't and doesn't. :)
'some_wonderland_example' is a single token when tokenized by the
default StandardAnalyzer. If instead you
;
}
}
}
}
}
I've opened the index up in Luke and going to the Documents tab and doing
reconstruct edit on a particular document shows that the fields aren't
being split up in to separate tokens.
--
Rory
On Saturday, 3 September 2011 at 17:12, Robert Newson wrote:
For instance, searching
A show function only operates on a single document, so I assume you
really mean a list function.
You should be able, in your list function, to call getRow() twice, and
then you combine the documents and send() the result.
Obviously you'll need to arrange your view so that these related items
If you supply a Content-MD5 header in your request we will verify it
(and reject a mismatch) just like Amazon S3 does. That doesn't imply
that couchdb routinely corrupts attachments (it doesn't).
Can you paste a full request/response where you regard the result as
truncated or corrupted? What
Or incredibly helpful if you can read it. :)
It seems couchdb is trying to close 'nil', the placeholder value for
when we don't have a file descriptor. Not sure how you got into this
state though.
Does it happen every time? What version of CouchDB is this? Do you
install from source or a
first choice at a solution, but if it has to be done
it can be)
Thanks
Matthew
On Thu, Sep 8, 2011 at 6:10 PM, Robert Newson rnew...@apache.org wrote:
Or incredibly helpful if you can read it. :)
It seems couchdb is trying to close 'nil', the placeholder value for
when we don't have
My joke about bloom filters was apparently misunderstood but the
notion above, which sounds a lot like a Merkle tree, seems lucid to
me.
As for the strong vs. weak ETag variants, I think views need strong
ETags in all cases, given the declared semantics for them in 13.3.3
B.
On 12 September
this pretty much requires us to write it.
On 13 September 2011 09:50, Max Ogden m...@maxogden.com wrote:
At this time I would like to suggest that when someone writes a Merkle tree
in Erlang that they call it Erkel.
On Tue, Sep 13, 2011 at 1:46 AM, Robert Newson rnew...@apache.org wrote:
My
familiar like SHA's or what not, but unless someone
knows how to combine SHA hash states commutatively then I think that
idea is shot because it'd cause a stampeding herd effect after
compaction.
On Tue, Sep 13, 2011 at 8:46 AM, Robert Newson rnew...@apache.org wrote:
My joke about bloom filters
Instead of;
http://localhost:5984/_fti/local/sense-test/_design/lucene/by_typeOf=sensor*
try;
http://localhost:5984/_fti/local/sense-test/_design/lucene/by_typeOf?q=sensor*
B.
On 15 September 2011 08:56, Monica Razdan mon...@almende.org wrote:
Hello,
I'm new to lucene and just trying to
:10 AM, Robert Newson
robert.new...@gmail.comwrote:
Instead of;
http://localhost:5984/_fti/local/sense-test/_design/lucene/by_typeOf=sensor*
try;
http://localhost:5984/_fti/local/sense-test/_design/lucene/by_typeOf?q=sensor*
B.
On 15 September 2011 08:56, Monica Razdan mon
Add options:{local_seq: true} at the top-level of your design doc
and then doc._local_seq will be populated with that value.
On 15 September 2011 14:59, Luke Driscoll luke.drisc...@gmail.com wrote:
Is it at all possible for us to be able to access a documents last change
sequence, not
What OS is this? It's the second report of a failure to correctly
locate and link with ICU, so the more details you can give the better.
B.
On 19 September 2011 11:43, George Catalin Serbanut
cgsmcml...@gmail.com wrote:
Hi everyone,
I am new at this list and I am not sure if I send to the
What do you mean by 'caching' here?
On 19 September 2011 21:36, Monica Razdan mon...@almende.org wrote:
Hello,
I wanted to compare the caching mechanism used in Hadoop - LRU with
the caching in BigCouch. However, I couldn't find details about
underlying caching algorithm used in Bigcouch.
try
echo -n 4bf3aac171ded1679d3501ccbd3e0d85 | base64
as echo includes a new line unless you use -n.
B.
On 27 September 2011 14:29, Moritz Post mp...@eclipsesource.com wrote:
Hallo CouchDB
I am trying to validate the integrity of data i upload to the couchdb.
Therefore i provide a valid
NGJmM2FhYzE3MWRlZDE2NzlkMzUwMWNjYmQzZTBkODUK
Using the hash with the = at the end i still get the response:
{error:content_md5_mismatch,reason:Possible message corruption.}
Greets
Moritz
On Tue, Sep 27, 2011 at 4:19 PM, Robert Newson rnew...@apache.org
wrote:
try
echo -n 4bf3aac171ded1679d3501ccbd3e0d85 | base64
27, 2011 at 5:52 PM, Robert Newson rnew...@apache.org wrote:
Heh, I totally missed that you hadn't converted to hex in the middle,
sorry.
On 27 September 2011 16:18, Moritz Post mp...@eclipsesource.com wrote:
Hi Keith
Thanks for the hint. I have actually applied it onto a java
If you hit the info url
(http://127.0.0.1:5984/db/_fti/_design/foo/index), you should see
a uuid and a digest field. e.g,
Add;
-Hcontent-type:application/json
B.
On 30 September 2011 14:45, bryan rasmussen rasmussen.br...@gmail.com wrote:
Hi,
I do the following:
curl -X POST http://127.0.0.1:5984/dbname/_view_cleanup
And I get back
{error:bad_request,reason:Content-type must be application/json}
I
what are 'collections'?
On 1 October 2011 00:07, Kismat Sood kismat.s...@spacex.com wrote:
Hello all,
Can anyone tell me if there is a limit to the maximum number of collections a
database can hold.
The new externals feature in Apache CouchDB 1.1.0 supports
concurrency, it uses http instead of stdin/stdout.
http://davispj.com/2010/09/26/new-couchdb-externals-api.html
B.
On 1 October 2011 10:21, Behrad Zari behrad_z...@yahoo.com wrote:
Dear Couchee's
I want to know if one can develop
The latest version of CouchDB is 1.1.0. What are you really running?
B.
On 2 October 2011 01:17, Thomas Van de Velde thomase...@gmail.com wrote:
Hi,
I am suspecting something is wrong with my current setup. I am running
CouchDB 1.1.2 on a High-CPU Extra Large Instance with 20 EC2 Compute
price is an array, and your code is asserting that it's a tuple,
which is a badmatch.
Price = couch_util:get_value(price, Doc, []),
B.
On 4 October 2011 13:29, Thomas Van de Velde thomase...@gmail.com wrote:
Paul,
Thank you for pointing me in the right direction. I was able to change the
is a shell metacharacter causing curl to run in the background.
Everything after it is ignored.
try;
curl -vX PUT
'http://localhost:5984/db-name/_design/designdoc/_update/test-qparams/docid?foo=barbaz=faz'
B.
On 7 October 2011 00:08, Ron Dyck pulpfr...@gmail.com wrote:
I think it must be
Max nails it here. the 200 code indicates the server successfully
returned a body, which in this case exposes the fact that deleted
documents are just documents with _deleted:true in them. A 200
response for a single resource is still meaningful and accurate.
Neither 206 or 410 are appropriate
'http://localhost:5984/executabledb_bre/522_10_1/522_10_1.jpg' will
return the raw bytes of your attachment (*not* base64 encoded) so the
line of code that is corrupting your attachment is
'Replace(Environment.NewLine, ).Replace(\r,).Replace(\0, )'
Add a validate_doc_update function to any design document in that
database (or create a new one) and test for the _admin role before
allowing an update. Ensure that your single user is not an admin then
any attempted writes will be rejected. If you cannot create admins,
then use a custom role
301 - 400 of 1234 matches
Mail list logo