[
https://issues.apache.org/jira/browse/KUDU-2261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16328175#comment-16328175
]
ZhangZhen commented on KUDU-2261:
---------------------------------
Hi [~mpercy], this seems similar to KUDU-1767, but not same. If I use manual
flush and sync api, I still possibly get the disordered response.
In Java client, the request will be batched to send to the same TS, and after
we get the BatchResponse of different batches, we just merge them without
regards to their original order. I submitted a change about this, this is the
[code review link|https://gerrit.cloudera.org/#/c/9029/]
> flush responses' order should match the order we call apply
> -----------------------------------------------------------
>
> Key: KUDU-2261
> URL: https://issues.apache.org/jira/browse/KUDU-2261
> Project: Kudu
> Issue Type: Improvement
> Components: client, java
> Reporter: ZhangZhen
> Assignee: ZhangZhen
> Priority: Major
>
> The response list of flush() should have the same order of we apply
> operations, so it's easier to know which operation failed and which succeeded.
> For example, if we apply three operations in the following order:
> apply OpA
> apply OpB
> apply OpC
> flush
> The expected response list should be [ ResponseA, ResponseB, ResponseC ], but
> now the list may be disordered, like [ ResponseC, ResponseA, ResponseB ]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)