You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Murtadha Hubail (Code Review)" <do...@asterixdb.incubator.apache.org> on 2019/04/04 23:08:18 UTC

Change in asterixdb[master]: [NO ISSUE][RT] Fail Fast On Request Cancellation After Job C...

Murtadha Hubail has uploaded a new patch set (#2).

Change subject: [NO ISSUE][RT] Fail Fast On Request Cancellation After Job Completion
......................................................................

[NO ISSUE][RT] Fail Fast On Request Cancellation After Job Completion

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

Details:
- If a request is cancelled after its job completion but before
  the result written is returned to the caller, fail the request
  with request cancelled exception.
- Freeze request elapsed time after the request completes to
  make sure archived requests return consistent elapsed time.
- Ensure requests that might be cancelled and completed at the same
  time are archived only once.

Change-Id: If4f154f11305e2f8286e0707b5b3adec905633a4
---
M asterixdb/asterix-algebra/src/main/java/org/apache/asterix/translator/BaseClientRequest.java
M asterixdb/asterix-app/src/main/java/org/apache/asterix/app/translator/QueryTranslator.java
M asterixdb/asterix-common/src/main/java/org/apache/asterix/common/api/IClientRequest.java
M asterixdb/asterix-runtime/src/main/java/org/apache/asterix/runtime/utils/RequestTracker.java
4 files changed, 30 insertions(+), 6 deletions(-)


  git pull ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb refs/changes/21/3321/2
-- 
To view, visit https://asterix-gerrit.ics.uci.edu/3321
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: If4f154f11305e2f8286e0707b5b3adec905633a4
Gerrit-PatchSet: 2
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Murtadha Hubail <mh...@apache.org>
Gerrit-Reviewer: Jenkins <je...@fulliautomatix.ics.uci.edu>