-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New CouchDB view for WorkQueue OpenForNewData requests #11611
Conversation
Jenkins results:
|
Jenkins results:
|
Jenkins results:
|
Jenkins results:
|
Jenkins results:
|
Jenkins results:
|
Jenkins results:
|
Make a specific function for dealing with open running requests Support stale parameter When aborting/force-completing, close the workqueue_inbox element Update element in workqueue_inbox db Use updateBulkDocuments method Update is nested
Jenkins results:
|
After a few bugfix + testing iterations, I can confirm that this patch is now fully functional. Default workflow transition has been tested, in addition to force-completing and aborting workflows. Note that it requires an update to the couchapps, which can be done in the CouchDB nodes with a command similar to:
followed by a CouchDB restart. |
Fixes #11385
Status
Ready
Description
This PR provides a new CouchDB view function to retrieve requests that are still open for new data.
In addition, it changes the ReqMgr2 thread that advances workflow statuses such that open requests don't go into running-closed or completed prematurely. Of course we need to support workflow abortion/rejection and force-completion.
Is it backward compatible (if not, which system it affects?)
YES
Related PRs
None
External dependencies / deployment changes
Requires CouchDB couchapp update (push).