gen_changes continuous changes notification errors out after second timeout #66

Closed
aceleste opened this Issue Jan 4, 2012 · 2 comments

Comments

Projects
None yet
2 participants

aceleste commented Jan 4, 2012

description of failure: when starting a module with gen_changes behaviour with a continuous change option, the first changes request issued by gen_changes will work. Then after the default 60s timeout the connection is closed by the couchdb server. gen_changes restarts the connection, issuing a request with option since=your_changes_last_seq. If no more change happens on the database, a second timeout will occur, but gen_changes will then issue a request with option since=undefined which is malformed and thus will put the server into error and close the connection. It then loops restarting an failing forever.

conditions for failure: using test_gen_changes with options [continuous, include_docs, {filter,"app/filtername}]

more info: the malformed request not only contains one since=undefined option, but many (it may help finding out where in the code that is produced.

Owner

benoitc commented Feb 9, 2012

which version ?

aceleste commented Feb 9, 2012

couchbeam commit 64216bf
couchdb 1.0.1.

Alain CELESTE
*Directeur des tudes,
Recherche et Dveloppement


*11 quai Barbusse
44 000 Nantes
Tl.: +33 (0) 675 463 746
Fax: +33 (0) 240 389 867
*
http://www.4modtechnology.com


Disclaimer: This email and any files transmitted with it are confidential
and intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify the
system manager. This message contains confidential information and is
intended only for the individual named. If you are not the named addressee
you should not disseminate, distribute or copy this e-mail. Please notify
the sender immediately by e-mail if you have received this e-mail by
mistake and delete this e-mail from your system. If you are not the
intended recipient you are notified that disclosing, copying, distributing
or taking any action in reliance on the contents of this information is
strictly prohibited.

2012/2/9 Benoit Chesneau <
reply@reply.github.com

which version ?


Reply to this email directly or view it on GitHub:
#66 (comment)

@benoitc benoitc closed this in 7148bbd Feb 12, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment