Yong, Il giorno lun 5 set 2022 alle ore 09:29 Yong Zhang <[email protected]> ha scritto: > > Hi guys, > > I saw client has three exceptions: AUTH_FAILED, SESSION_EXPIRED, > and CONNECTION_LOSS. The question is about connection loss. > Connection loss has various reason to cause. One scenario we saw is the > client received the connection loss but the data updated successfully on > the > server, then we have a mismatch between the memory and zk server. So > our plan is to catch this error and retry it until an explicit error throws > out. I > want to know, if there has other exceptions we need to take care? > > And I read the code and find there isn’t a timeout exception and looks like > most exceptions transform to the connection loss exception. Do I understand > right?
yes ConnectionLoss and SessionExpired and the most important conditions, because starting from that error you are not receiving any other updates from the server. I don't think there is more to do Enrico > > Look forward to any answer! > > Thank you > Yong
