Hi ZooKeepers,
When investigate this issue[1] I notice a possibility that if I write such
a program:
while (true) {
try {
zk.setData(path, data, version); // (1)
break;
} catch(KeeperException.ConnectionLossException e) {
// retry
}
}
... then in (1) there can be a case that it throws
KeeperException.BadVersionException but actually the action is successful
on the server side previously (but failed to send a response due to
connection loss).
Is this investigation right? If so, it is possibly to distinguish whether
we succeed to apply the op on the server side?
Best,
tison.
[1] https://github.com/apache/pulsar/issues/13954