[ 
https://issues.apache.org/jira/browse/ASTERIXDB-3343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17845392#comment-17845392
 ] 

ASF subversion and git services commented on ASTERIXDB-3343:
------------------------------------------------------------

Commit 7c7d24096e9dbddcf638983adc11dec85793b2c9 in asterixdb's branch 
refs/heads/master from Ali Alsuliman
[ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=7c7d24096e ]

[ASTERIXDB-3343][API] Capture job state changes in client requests

- user model changes: no
- storage format changes: no
- interface changes: yes

Details:
Instead of fetching the job state for a client request from
the job manager, keep track of the request's job state while
the job transitions from one state to another. Otherwise,
the job archive in the job manager could have already recycled
by the time someone tries to fetch the details of completed requests.

- make IRequestTracker extends IJobLifecycleListener.
- add the client request id as part of the job spec.
  this client request id will be used to report back
  to the request tracker about the job associated with
  the request id.

Change-Id: I638682d48651ba0e771c7590ec875a3af1050ae3
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/18279
Integration-Tests: Jenkins <[email protected]>
Reviewed-by: Murtadha Hubail <[email protected]>
Tested-by: Ali Alsuliman <[email protected]>


> Add servlet to get completed requests
> -------------------------------------
>
>                 Key: ASTERIXDB-3343
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-3343
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: API - HTTP API
>            Reporter: Ali Alsuliman
>            Assignee: Ali Alsuliman
>            Priority: Major
>              Labels: triaged
>
> Add new servlet to retrieve the completed requests similar to what 
> completed_requests() function returns.
> Make CcQueryCancellationServlet implement GET to retrieve the active requests 
> similar to what active_requests() returns.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to