<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div style="font-family:Arial;">Yes, updating reconstruct is on our roadmap. The biggest problem is that there are multiple file types across mailboxes and conversations and the changes can't be atomic, so if reconstruct discovers something partially done, it can't tell if the conversations were correct.<br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">The longer term grand plan is to reduce the number of db types and make conversations updates able to be atomic.<br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">Cheers,<br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">Bron.</div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">On Fri, Jan 25, 2019, at 22:30, Michael Menge wrote:<br></div><blockquote type="cite" id="fastmail-quoted"><div style="font-family:Arial;">Hi,<br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">Quoting Bron Gondwana <brong@fastmail.fm>:<br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">> On Fri, Jan 25, 2019, at 20:00, Michael Menge wrote:<br></div><div style="font-family:Arial;">>> Hi Bron<br></div><div style="font-family:Arial;">>><br></div><div style="font-family:Arial;">>><br></div><div style="font-family:Arial;">>> Quoting Bron Gondwana <brong@fastmail.fm>:<br></div><div style="font-family:Arial;">>><br></div><div style="font-family:Arial;">>> > Sorry I haven't been following along with this earlier. Can you post<br></div><div style="font-family:Arial;">>> > your imapd.conf and cyrus.conf as well as let her know if you run<br></div><div style="font-family:Arial;">>> > anything which directly messes with files on disk.<br></div><div style="font-family:Arial;">>><br></div><div style="font-family:Arial;">>> Thanks for looking into it. I have attached the backend and replica<br></div><div style="font-family:Arial;">>> configs. There should be nothing messing with the files on disk<br></div><div style="font-family:Arial;">>> directly. Some times we need to restore mails from file based<br></div><div style="font-family:Arial;">>> backup (bacula) followed by a reconstruct but this was not the<br></div><div style="font-family:Arial;">>> case this time.<br></div><div style="font-family:Arial;">><br></div><div style="font-family:Arial;">> Do you always rebuild the conversations db after doing the  <br></div><div style="font-family:Arial;">> reconstruct? That will be necessary now. We switched to doing all  <br></div><div style="font-family:Arial;">> our restores using IMAP append a while back so we're never fiddling  <br></div><div style="font-family:Arial;">> the file system under Cyrus.<br></div><div style="font-family:Arial;">><br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">We didn't have to restore any mails from backup since we enabled  <br></div><div style="font-family:Arial;">conversation db<br></div><div style="font-family:Arial;">a few weeks ago. It is good to know that the rebuild is necessary, but  <br></div><div style="font-family:Arial;">shouldn't<br></div><div style="font-family:Arial;">reconstruct also update the conversation db if it re-appends the message?<br></div><div style="font-family:Arial;">At least a hint should be put in the reconstruct man page, like the  <br></div><div style="font-family:Arial;">one for "quota -f"<br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">>> ><br></div><div style="font-family:Arial;">>> > Also, what operating system is this on and what Cyrus version?<br></div><div style="font-family:Arial;">>> ><br></div><div style="font-family:Arial;">>><br></div><div style="font-family:Arial;">>> We are running a cyrus 3.0.8 compiled with the following Options<br></div><div style="font-family:Arial;">>> (./configure --enable-murder --enable-http --enable-calalarmd<br></div><div style="font-family:Arial;">>> --enable-replication --enable-backup --enable-idled<br></div><div style="font-family:Arial;">>> --enable-autocreate CFLAGS="-fPIC -g")<br></div><div style="font-family:Arial;">>> in a murder configuration on a RHEL 7.5 System. As filesystem we use xfs.<br></div><div style="font-family:Arial;">><br></div><div style="font-family:Arial;">> They should be fine. I'll have a read of the config when I'm at a  <br></div><div style="font-family:Arial;">> real computer.<br></div><div style="font-family:Arial;">><br></div><div style="font-family:Arial;">>><br></div><div style="font-family:Arial;">>> > Bron.<br></div><div style="font-family:Arial;">>> ><br></div><div style="font-family:Arial;">>> > On Fri, Jan 25, 2019, at 04:08, Michael Menge wrote:<br></div><div style="font-family:Arial;">>> >> Hi,<br></div><div style="font-family:Arial;">>> >><br></div><div style="font-family:Arial;">>> >> I have discovered an other problem with the conversations db:<br></div><div style="font-family:Arial;">>> >><br></div><div style="font-family:Arial;">>> >> Thousends of lines with "IOERROR: conversations_audit on load:" and<br></div><div style="font-family:Arial;">>> >> "IOERROR: conversations_audit on store:"<br></div><div style="font-family:Arial;">>> >> A look at the source code shows that these errors are logged after<br></div><div style="font-family:Arial;">>> >> "_sanity_check_counts" is called.<br></div><div style="font-family:Arial;">>> >> The log level LOG_ERR and the prefix IOERROR indicate that I have a<br></div><div style="font-family:Arial;">>> >> serious problem. Do I?<br></div><div style="font-family:Arial;">>> >><br></div><div style="font-family:Arial;">>> >> This problem occurred for accounts where the rebuild of the<br></div><div style="font-family:Arial;">>> >> conversations db was successful.<br></div><div style="font-family:Arial;">>> >><br></div><div style="font-family:Arial;">>> >> I don't want to rebuild the conversations db every few days.<br></div><div style="font-family:Arial;">>> >><br></div><div style="font-family:Arial;">>> >> Any help is appreciated.<br></div><div style="font-family:Arial;">>> >><br></div><div style="font-family:Arial;">>> >> Kind regards<br></div><div style="font-family:Arial;">>> >><br></div><div style="font-family:Arial;">>> >><br></div><div style="font-family:Arial;">>> >> Michael Menge<br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">--------------------------------------------------------------------------------<br></div><div style="font-family:Arial;">M.Menge                                Tel.: (49) 7071/29-70316<br></div><div style="font-family:Arial;">Universität Tübingen                   Fax.: (49) 7071/29-5912<br></div><div style="font-family:Arial;">Zentrum für Datenverarbeitung          mail:  <br></div><div style="font-family:Arial;">michael.menge@zdv.uni-tuebingen.de<br></div><div style="font-family:Arial;">Wächterstraße 76<br></div><div style="font-family:Arial;">72074 Tübingen<br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">----<br></div><div style="font-family:Arial;">Cyrus Home Page: http://www.cyrusimap.org/<br></div><div style="font-family:Arial;">List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/<br></div><div style="font-family:Arial;">To Unsubscribe:<br></div><div style="font-family:Arial;">https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus<br></div></blockquote><div style="font-family:Arial;"><br></div><div id="sig567075"><div class="signature">-- <br></div><div class="signature">  Bron Gondwana<br></div><div class="signature">  brong@fastmail.fm<br></div><div class="signature"><br></div></div></body></html>