incubator-couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Coolin (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (COUCHDB-1434) Promise result
Date Thu, 08 Mar 2012 01:14:57 GMT
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

        

Mime
View raw message