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

jin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph.git


The following commit(s) were added to refs/heads/master by this push:
     new 12b494056 fix(api): remove redirect-to-master from synchronous Gremlin 
(#2356)
12b494056 is described below

commit 12b494056329cb1d0eb0071384535e85fe291aa0
Author: Chong Shen <[email protected]>
AuthorDate: Wed Nov 22 09:33:04 2023 +0800

    fix(api): remove redirect-to-master from synchronous Gremlin (#2356)
    
    * fix: remove redirect master role to align with behaviour of VertexApi and 
EdgeApi
    
    * chore: add back necessary annotation
---
 .../src/main/java/org/apache/hugegraph/api/gremlin/GremlinAPI.java       | 1 -
 1 file changed, 1 deletion(-)

diff --git 
a/hugegraph-server/hugegraph-api/src/main/java/org/apache/hugegraph/api/gremlin/GremlinAPI.java
 
b/hugegraph-server/hugegraph-api/src/main/java/org/apache/hugegraph/api/gremlin/GremlinAPI.java
index 50df7e93d..fae75ca95 100644
--- 
a/hugegraph-server/hugegraph-api/src/main/java/org/apache/hugegraph/api/gremlin/GremlinAPI.java
+++ 
b/hugegraph-server/hugegraph-api/src/main/java/org/apache/hugegraph/api/gremlin/GremlinAPI.java
@@ -52,7 +52,6 @@ public class GremlinAPI extends GremlinQueryAPI {
     @Compress
     @Consumes(APPLICATION_JSON)
     @Produces(APPLICATION_JSON_WITH_CHARSET)
-    @RedirectFilter.RedirectMasterRole
     public Response post(@Context HugeConfig conf,
                          @Context HttpHeaders headers,
                          String request) {

Reply via email to