The second new type of exceptions concerns the index code, search for the keyword ZimbraHit to find them:
Code: Select all
grep 'index - Caught ServiceException trying to compare ZimbraHit' /opt/zimbra/log/mailbox.log
Code: Select all
2018-08-24 10:01:33,636 INFO [qtp1286783232-154439:https:https://webmail.server.com/service/soap/SearchRequest] [name=some.user@my.zimbra.server;mid=10891;oip=123.45.67.89;port=56774;ua=ZimbraWebClient - FF61 (Win)/8.8.9_GA_3019;soapId=1aa2d45c;] index - Caught ServiceException trying to compare ZimbraHit {"s":2956,"d":1528962759000,"l":"c30c521b-6e3b-479a-8d07-cfedd9ab7198:2","cid":"c30c521b-6e3b-479a-8d07-cfedd9ab7198:-12504","f":"r","rev":55606,"id":"c30c521b-6e3b-479a-8d07-cfedd9ab7198:12504","su":"Date de master M4S","fr":"Ceci est un mail automatique, veuillez ne ...","cm":true,"e":[{"a":"internal_mail@our.domain","d":"toto","p":"toto via toto","t":"f"}],"sf":"0"} to ZimbraHit {"s":9100,"d":1529062749000,"l":"c30c521b-6e3b-479a-8d07-cfedd9ab7198:2","cid":"c30c521b-6e3b-479a-8d07-cfedd9ab7198:12521","f":"r","rev":55706,"id":"c30c521b-6e3b-479a-8d07-cfedd9ab7198:12520","su":"Inquiry about MSc. program","fr":"Dear Sirs: I hope this email finds you well. I am sending this to kindly ask about the masters program course language. I come from an English ...","cm":true,"e":[{"a":"some-email@somewhere.com","d":"John","p":"Jane Doe","t":"f"}],"sf":"0"}
Code: Select all
+ try {
+ long left = getReadStatus(lhs);
+ long right = getReadStatus(rhs);
+ long result = right - left;
+ if (result > 0)
+ retVal = 1;
+ else if (result < 0)
+ retVal = -1;
+ else
+ retVal = 0;
+ } catch (ServiceException e) {
+ ZimbraLog.index.info("Caught ServiceException trying to compare ZimbraHit %s to ZimbraHit %s",
+ lhs, rhs);
+ ZimbraLog.index.debug(e);
+ }