>From Ali Alsuliman <[email protected]>:
Hello Anon. E. Moose #1000171, Jenkins,
I'd like you to reexamine a change. Please visit
https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/21183?usp=email
to look at the new patch set (#2).
The following approvals got outdated and were removed:
Contrib+1 by Anon. E. Moose #1000171, Integration-Tests+1 by Jenkins,
Verified+1 by Jenkins
Change subject: [ASTERIXDB-3649][API] Async API enhancements
......................................................................
[ASTERIXDB-3649][API] Async API enhancements
- user model changes: no
- storage format changes: no
- interface changes: no
Details:
Certain statements like COPY can be tracked in async mode
but they don't produce a result. This needs to be handled.
- Update ResultJobRecord of jobs with no ResultMetadata
when they are finished (otherwise, status remains RUNNING
even if finished, calling StatusApi will show them as RUNNING)
- Fixed GET StatusApi to check if ResultMetadata exists.
- Fixed GET ResultApi to check if ResultMetadata exists.
- Increased timeout of result fetch when discarding to 10 seconds.
- Fixed jobQueueTime to take care of cases where a job
have ended without it starting.
Ext-ref: MB-69765
Change-Id: Id85284a685d15fc10f315572bc0cd2abeabcb534
---
M
asterixdb/asterix-algebra/src/main/java/org/apache/asterix/translator/ClientRequest.java
M
asterixdb/asterix-app/src/main/java/org/apache/asterix/api/http/server/NCQueryResultApiServlet.java
M
asterixdb/asterix-app/src/main/java/org/apache/asterix/api/http/server/QueryResultApiServlet.java
M
asterixdb/asterix-app/src/main/java/org/apache/asterix/api/http/server/QueryStatusApiServlet.java
M
asterixdb/asterix-app/src/main/java/org/apache/asterix/app/message/DiscardResultRequestMessage.java
M
asterixdb/asterix-app/src/main/java/org/apache/asterix/utils/AsyncRequestsAPIUtil.java
M
hyracks-fullstack/hyracks/hyracks-api/src/main/java/org/apache/hyracks/api/result/ResultJobRecord.java
M
hyracks-fullstack/hyracks/hyracks-control/hyracks-control-cc/src/main/java/org/apache/hyracks/control/cc/result/ResultDirectoryService.java
8 files changed, 54 insertions(+), 15 deletions(-)
git pull ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb
refs/changes/83/21183/2
--
To view, visit https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/21183?usp=email
To unsubscribe, or for help writing mail filters, visit
https://asterix-gerrit.ics.uci.edu/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: asterixdb
Gerrit-Branch: lumina
Gerrit-Change-Id: Id85284a685d15fc10f315572bc0cd2abeabcb534
Gerrit-Change-Number: 21183
Gerrit-PatchSet: 2
Gerrit-Owner: Ali Alsuliman <[email protected]>
Gerrit-Reviewer: Anon. E. Moose #1000171
Gerrit-Reviewer: Jenkins <[email protected]>