Tan xinyu created IOTDB-1001:
--------------------------------

             Summary: Return SUCCESS_STATUS rather than MULTIPLE_ERROR in 
TSServiceImpl when all inserts all successful
                 Key: IOTDB-1001
                 URL: https://issues.apache.org/jira/browse/IOTDB-1001
             Project: Apache IoTDB
          Issue Type: Improvement
            Reporter: Tan xinyu
            Assignee: Tan xinyu
             Fix For: master branch


Currently, there are many wrong use for `RpcUtils.getStatus(statusList)` in 
TSServiceImpl as
it will return a MULTIPLE_ERROR code rather than a SUCCESS_STATUS code when all 
inserts are successful.

Although the session and jdbc client will not throw a exception if all 
substatus have a  SUCCESS_STATUS code ,I believe that it's better to return a 
SUCCESS_STATUS directly.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to