You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Mike Coolin (Created) (JIRA)" <ji...@apache.org> on 2012/03/08 02:14:57 UTC

[jira] [Created] (COUCHDB-1434) Promise result

Promise result
--------------

                 Key: COUCHDB-1434
                 URL: https://issues.apache.org/jira/browse/COUCHDB-1434
             Project: CouchDB
          Issue Type: New Feature
          Components: HTTP Interface
         Environment: All
            Reporter: Mike Coolin
            Priority: Minor


For long running operations such as replicate error are generated due to the result taking loger that most browsers feel are acceptable. Instead of hacking the browser around this it would be better that the result is a polling result. This would allow the client to poll for the operations completion without causing timeout messages.

As I see it:
Command  in couch would have to return a new code and message, immediately, perhaps a session/task id.

The JS interface would need to be modified to poll for results and likely do a callback when complete.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira