This is an automated email from the ASF dual-hosted git repository.

mblow pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/asterixdb.git


The following commit(s) were added to refs/heads/master by this push:
     new 820e6f0  [NO ISSUE][*DB][API] Handle REJECTED status on query 
cancellation
820e6f0 is described below

commit 820e6f0d9f127e9b6b6fe0227cb0d9839780adda
Author: Michael Blow <[email protected]>
AuthorDate: Wed Oct 28 11:35:26 2020 -0400

    [NO ISSUE][*DB][API] Handle REJECTED status on query cancellation
    
    Change-Id: I503e878c79ca6800a735df89a4bdff505f679801
    Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/8623
    Integration-Tests: Jenkins <[email protected]>
    Tested-by: Jenkins <[email protected]>
    Reviewed-by: Murtadha Hubail <[email protected]>
---
 .../org/apache/asterix/api/http/server/NCQueryCancellationServlet.java   | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/asterixdb/asterix-app/src/main/java/org/apache/asterix/api/http/server/NCQueryCancellationServlet.java
 
b/asterixdb/asterix-app/src/main/java/org/apache/asterix/api/http/server/NCQueryCancellationServlet.java
index 617c937..41f2a53 100644
--- 
a/asterixdb/asterix-app/src/main/java/org/apache/asterix/api/http/server/NCQueryCancellationServlet.java
+++ 
b/asterixdb/asterix-app/src/main/java/org/apache/asterix/api/http/server/NCQueryCancellationServlet.java
@@ -75,6 +75,7 @@ public class NCQueryCancellationServlet extends 
AbstractServlet {
                 case SUCCESS:
                 case FAILED:
                 case NOT_FOUND:
+                case REJECTED:
                     response.setStatus(status.toHttpResponse());
                     break;
                 default:

Reply via email to