Daewon Jeong created S2GRAPH-46:
-----------------------------------

             Summary: The  `deleteAll` request log is dropped.
                 Key: S2GRAPH-46
                 URL: https://issues.apache.org/jira/browse/S2GRAPH-46
             Project: S2Graph
          Issue Type: Bug
            Reporter: Daewon Jeong
            Priority: Minor


If label.isAsync is true all requests are should recorded.

When using the `deleteAll` request , request log is dropped

EdgeController.scala#deleteAllInner
```
    val deleteFutures = jsValue.as[Seq[JsValue]].map { json =>
      val (labels, direction, ids, ts, vertices) = 
requestParser.toDeleteParam(json)
      if (labels.isEmpty || ids.isEmpty) Future.successful(true)
      else deleteEach(labels, direction, ids, ts, vertices)
    }
```
deleteParam function eliminates the asynchronous label . so it does not leave 
the Kafka log



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to