incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roger Binns <rog...@rogerbinns.com>
Subject Re: filters for _changes dont seem to work
Date Tue, 01 Dec 2009 03:55:32 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chris Anderson wrote:
> I'll let this one sit for a couple of days while people have a chance to try it out.

Hah your reverse psychology does not work on me.  Wait, it did.  I have code
that reproduces it. (I'll update the bug.)

The bug is far more complex and has "random" behaviour.  The prerequisites
are a _changes longpoll request using a filter function.  The symptom you
get is that the filter function is not called and treated as though it
returns false some of the time.  (You can verify it is not called by calling
log and that matching items are not returned.)

The items being changed also need to be in a view.  The view needs to be
accessed between changes.  (Changes means create/change/delete.)  This is
the crucial part of reproduction.

Roger
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAksUk7QACgkQmOOfHg372QThLACfaMIIzJluPHVSg2fz6yPGmYlB
LLwAn0d2Uy+7raeGviMyTxPHF9vNMnVs
=zyPB
-----END PGP SIGNATURE-----

Mime
View raw message