Yes i understand that listen _changes is better to get round race conditions.
Cannot get your suggesting about
how i can track that all contents related to author was updated not 5
of 50 but all.
Thats ok.
I don't understand if listen feed _chenges, feed give me info only
about id & rev of change
i don't think you are getting what the above people are suggesting...
Go read up on the _changes API :)
The basics are, every single change in the database is pushed into this
feed. All race conditions that are caused by your ruby way (via the filter)
are averted :)
Nick
On Fri, Apr 9, 2010 at
Yeah, happened again. Couch is offline, and service --status-all says
"couchdb dead but subsys locked".
The last thing in the log is a request that seems to have gone through.
What's going on??
On Mon, Apr 5, 2010 at 4:10 PM, Sean Clark Hess wrote:
> I guess I don't know for sure. It just turns
I've built 0.11 for Solaris 10/x86, but I am running into
problems getting couch to start. The erlang process is running,
but the web server does not appear to be. Stdout and stderr are
being created, but the pid file and normal log file are not.
I'm not sure how to peel back the layers.
Ar
On Apr 8, 2010, at 4:06 PM, Ning Tan wrote:
>> On Thu, Apr 8, 2010 at 10:45 AM, J Chris Anderson wrote:
>>>
>>> If you want to try with a POST instead of a GET, you can edit one line in
>>> couch_httpd_db.erl
>>> handle_changes_req(#httpd{method='GET'}=Req, Db) ->
>>> to:
>>> handle_changes_re
> On Thu, Apr 8, 2010 at 10:45 AM, J Chris Anderson wrote:
>>
>> If you want to try with a POST instead of a GET, you can edit one line in
>> couch_httpd_db.erl
>> handle_changes_req(#httpd{method='GET'}=Req, Db) ->
>> to:
>> handle_changes_req(Req, Db) ->
>> which should allow for POSTs to _chan
my first guess would be a missing dependency (ICU)... did you build couchdb
from source? maybe you need to provide the location of your libicu to the
configure script
On 08.04.2010, at 10:40, Yauhen Zenko wrote:
> Hello!
>
> I successfully installed couchdb version 0.11.0 on Red Hat Enterprise
For single master I have working example of locks implemented as pluggable http
handler. It works similar to rewriter handler.
## Examples
Create a lock with 3 seconds lifetime:
POST http://localhost:5984/DB/_locks?scope=Person&timeout=3000
201 - { "ok": true, "id": "3adaefg" }
409 - {
No they cannot.
I'm implementing this as a content/file server which allows for nested
directories.
To support one document per file (important for file revisioning and
other file metadata), document ids like:
"/images/home/blah.png"
"/images/home/other.png"
must be URL encoded when requested fr
i means
when i do
Content.by_author(self).each {|content|
content.author_name = self.name;
content.save(bulk=true)
}
i don't sure that all contents will updated may be only 5 and then
process crushed.
2010/4/8 Andrew Melo :
> On Thu, Apr 8, 2010 at 12:53 PM, faust
On Thu, 2010-04-08 at 17:03 +, Jürgen Kraus wrote:
> Rodrigo Moya writes:
>
> >
> > On Thu, 2010-04-08 at 16:18 +, Jürgen Kraus wrote:
> > > Guys/gals,
> > >
> > > http://wiki.apache.org/couchdb/Getting_started_with_C states that to use
> > > this
> > > API, you just have to
> > >
> >
On Thu, Apr 8, 2010 at 12:53 PM, faust wrote:
> What difference?
> if do
> Author
> after_save
> if name_changed?
> Content.by_author(self).each {|content|
> content.author_name = self.name;
> content.save(bulk=true)
> }
>
> or i start backend process to
What difference?
if do
Author
after_save
if name_changed?
Content.by_author(self).each {|content|
content.author_name = self.name;
content.save(bulk=true)
}
or i start backend process to track Author _changes.
This code not guarantee that all contents w
The log output isn't terribly useful. Could you repeat this with debug
logging level?
On Apr 8, 2010 4:47 AM, "Yauhen Zenko" wrote:
I have two couchdb servers: the first is on Windows, the second is on Linux.
Version 0.11.0 install on both computers. I have the database on Windows
server (databa
On Thu, Apr 8, 2010 at 12:29 PM, faust wrote:
> I can catch changes in my app before save author, may be backend
> process is surplus in my case.
> i need consistent, when i update author name i must know that all
> contents with author was updated success.
Then their suggestion of watching
I can catch changes in my app before save author, may be backend
process is surplus in my case.
i need consistent, when i update author name i must know that all
contents with author was updated success.
2010/4/8 Zachary Zolton :
> I suggest you check out the _changes API:
> http://books.couchdb.
I need simple autocomplete for tags
can i implement this with view or i need lucent?
Content
has tags
when moderator need add tag he use autocomplete by all exists tags.
Rodrigo Moya writes:
>
> On Thu, 2010-04-08 at 16:18 +, Jürgen Kraus wrote:
> > Guys/gals,
> >
> > http://wiki.apache.org/couchdb/Getting_started_with_C states that to use
> > this
> > API, you just have to
> >
> > cd /home/user/couchdb/CouchProjects/Libraries/c/src/
> > make
> > make ins
On Thu, 2010-04-08 at 16:18 +, Jürgen Kraus wrote:
> Guys/gals,
>
> http://wiki.apache.org/couchdb/Getting_started_with_C states that to use this
> API, you just have to
>
> cd /home/user/couchdb/CouchProjects/Libraries/c/src/
> make
> make install (as root)
>
> So far, so good, so - what? T
I suggest you check out the _changes API:
http://books.couchdb.org/relax/reference/change-notifications
Basically, if you have doc types A & B, where B maintains a denormed
bit of A, then you can watch the _changes feed in a backend process.
When an A gets updated, hit a view of all B's related to
Guys/gals,
http://wiki.apache.org/couchdb/Getting_started_with_C states that to use this
API, you just have to
cd /home/user/couchdb/CouchProjects/Libraries/c/src/
make
make install (as root)
So far, so good, so - what? There is no such thing as 'CouchProjects', not even
a home directory for the
Hi guy's
I return back to my problem with denormalization.
is it possible to keep consistent when apply denormalization?
For example
Content
have author (we store author name and id in Content)
When author name changed(that's happens not frequently)
i need find all content belong to this autho
On Thu, Apr 8, 2010 at 10:45 AM, J Chris Anderson wrote:
>
> If you want to try with a POST instead of a GET, you can edit one line in
> couch_httpd_db.erl
>
> handle_changes_req(#httpd{method='GET'}=Req, Db) ->
>
> to:
>
> handle_changes_req(Req, Db) ->
>
> which should allow for POSTs to _chang
Hello!
I successfully installed couchdb version 0.11.0 on Red Hat Enterprise
Linux Server release 5.1 (Tikanga)
but when I try to run couchdb I recieve followig error:
Apache CouchDB 0.11.0 (LogLevel=info) is starting.
=CRASH REPORT 8-Apr-2010::11:17:54 ===
crasher:
initial call: appl
On Apr 8, 2010, at 5:41 AM, Ning Tan wrote:
> My filter function is
>
> function(doc, req)
> {
> return true;
> }
>
OK. that looks good enough. :)
Somehow I thought you were doing something stateful, based on your earlier
description.
BTW, you don't need to include json2.js as it is alrea
On Thu, Apr 8, 2010 at 8:41 AM, Ning Tan wrote:
> My filter function is
>
> function(doc, req)
> {
> return true;
> }
>
> :-)
What I meant is that I'm even having the hanging problem with the
above barebones function. The actual function I wrote earlier was:
function (doc, req)
{
// !c
My filter function is
function(doc, req)
{
return true;
}
:-)
On Wed, Apr 7, 2010 at 11:37 PM, J Chris Anderson wrote:
>
> On Apr 7, 2010, at 7:14 PM, Ning Tan wrote:
>
>> On Wed, Apr 7, 2010 at 2:05 AM, J Chris Anderson wrote:
>>>
>>> On Apr 6, 2010, at 8:48 AM, Ning Tan wrote:
>>>
He
I have two couchdb servers: the first is on Windows, the second is on
Linux. Version 0.11.0 install on both computers. I have the database on
Windows server (database size is 12.6MB) and try to replicate it to
couchdb installed on Linux.
Replication fails with following error, but in target d
Hi,
Even if it seems I'm the only one to use it so far, slackbuild for CouchDB
0.11.0 is available
Til update is validated & published by the slackbuild team, slackbuild is
available here :
http://nicolas.steinmetz.fr/slackware/13/couchdb-0.11-slackbuild.tar.gz
It should be then available on :
29 matches
Mail list logo