[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cyrus-info
Subject:    Re: Database upgrade and Xapian version dependency
From:       "egoitz () sarenet ! es" <egoitz () sarenet ! es>
Date:       2020-01-29 1:35:26
Message-ID: 7EAD3749-BB5B-44DB-88D3-5476E83DAD3C () sarenet ! es
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi!!

Thanks a lot for your nice answer :) . Totally logical, reasonable and clear answer. \
Nicely explained. I'll share in the list all the relevant situations I'll find.

Thanks again ;)

Egoitz,

> El 29 ene 2020, a las 0:08, ellie timoney <ellie@fastmail.com> escribió:
> 
> > > > On Mon, Jan 27, 2020, at 9:51 AM, Egoitz Aurrekoetxea via Info-cyrus wrote:
> > > > Just for having it slightly clearer… When you upgrade the Cyrus version and \
> > > > the version you are upgrading to is a too close one… for instance from \
> > > > 3.0.8 to 3.0.13 and you see the Cyrus version is the same for users mail \
> > > > folders, 13 in both… is it needed to launch (or recommended for some \
> > > > reason) the final upgrade commands :  
> > > > reconstruct -V max
> > > > ctl_conversationsdb -b -r
> > > > quota -f
> 
> As long as you're looking at 3.x.x and higher*, then if it's a stable release \
> (where only the third number has changed, e.g. 3.0.8->3.0.13) you shouldn't need \
> to.  We don't do big world-breaking/data-format-changing changes in stable releases \
> like this. 
> That said, we might have fixed a bug between the versions, and your existing data \
> might be bad due to the bug that was fixed, and you might need to run commands like \
> these after upgrading to the fixed version to repair the bad data.  If I know this \
> is the case, I'll say so in the release notes (so check those, including for the \
> intermediate releases if you're skipping over some).  But I might not know until \
> someone upgrades and reports that they needed to do it. 
> So, if it doesn't say you need to do it, you probably don't need to do it.  But if \
> you don't do it, and things like quota or conversations seem weird after the \
> upgrade, try these sort of commands.  And if it fixes it, let us know (on the \
> mailing list or a github issue) so we can retcon the release notes to mention it \
> for the next person. :) 
> * For people looking at 2.5 and earlier, this pattern doesn't necessarily hold, and \
> I don't know enough about those older versions to provide general advice.  If in \
> doubt, ask the mailing list, and if you can run a recent version (that's closer to \
> what's in Fastmail's organisational memory), that's your best bet ;) 
> Cheers,
> 
> ellie
> ----
> Cyrus Home Page: http://www.cyrusimap.org/
> List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
> To Unsubscribe:
> https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


[Attachment #5 (text/html)]

<html><head><meta http-equiv="content-type" content="text/html; \
charset=utf-8"></head><body dir="auto">Hi!!<div><br></div><div>Thanks a lot for your \
nice answer :) . Totally logical, reasonable and clear answer. Nicely explained. I'll \
share in the list all the relevant situations I'll \
find.</div><div><br></div><div>Thanks again ;)<br><br><div id="AppleMailSignature" \
dir="ltr">Egoitz,</div><div dir="ltr"><br>El 29 ene 2020, a las 0:08, ellie timoney \
&lt;<a href="mailto:ellie@fastmail.com">ellie@fastmail.com</a>&gt; \
escribió:<br><br></div><blockquote type="cite"><div \
dir="ltr"><title></title><blockquote type="cite" id="qt"><div \
class="qt-"><div><blockquote class="qt-" type="cite"><div class="qt-"><div \
class="qt-" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant \
-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px \
;text-transform:none;white-space:normal;word-spacing:0px;-webkit-text-stroke-width:0px;text-decoration:none;">On \
Mon, Jan 27, 2020, at 9:51 AM, Egoitz Aurrekoetxea via Info-cyrus \
wrote:<br></div><blockquote class="qt-" \
style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal \
;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transf \
orm:none;white-space:normal;word-spacing:0px;-webkit-text-stroke-width:0px;text-decoration:none;" \
id="qt-qt" type="cite"><div class="qt-">Just for having it slightly clearer… When \
you upgrade the Cyrus version and the version you are upgrading to is a too close \
one… for instance from 3.0.8 to 3.0.13 and you see the Cyrus version is the same \
for users mail folders, 13 in both… is it needed to launch (or recommended for some \
reason) the final upgrade commands :&nbsp;<br></div><div \
class="qt-"><div><br></div></div><div class="qt-">reconstruct -V max<br></div><div \
class="qt-">ctl_conversationsdb -b -r<br></div><div class="qt-">quota \
-f<br></div></blockquote></div></blockquote></div></div></blockquote><div><br></div><div>As \
long as you're looking at 3.x.x and higher*, then if it's a stable release (where \
only the third number has changed, e.g. 3.0.8-&gt;3.0.13) you shouldn't need to. \
&nbsp;We don't do big world-breaking/data-format-changing changes in stable releases \
like this.<br></div><div><br></div><div>That said, we might have fixed a bug between \
the versions, and your existing data might be bad due to the bug that was fixed, and \
you might need to run commands like these after upgrading to the fixed version to \
repair the bad data. &nbsp;If I know this is the case, I'll say so in the release \
notes (so check those, including for the intermediate releases if you're skipping \
over some). &nbsp;But I might not know until someone upgrades and reports that they \
needed to do it.<br></div><div><br></div><div>So, if it doesn't say you need to do \
it, you probably don't need to do it. &nbsp;But if you don't do it, and things like \
quota or conversations seem weird after the upgrade, try these sort of commands. \
&nbsp;And if it fixes it, let us know (on the mailing list or a github issue) so we \
can retcon the release notes to mention it for the next person. \
:)<br></div><div><br></div><div>* For people looking at 2.5 and earlier, this pattern \
doesn't necessarily hold, and I don't know enough about those older versions to \
provide general advice. &nbsp;If in doubt, ask the mailing list, and if you can run a \
recent version (that's closer to what's in Fastmail's organisational memory), that's \
your best bet ;)<br></div><div><br></div><div>Cheers,<br></div><div><br></div><div>ellie<br></div></div></blockquote><blockquote \
type="cite"><div dir="ltr"><span>----</span><br><span>Cyrus Home Page: <a \
href="http://www.cyrusimap.org/">http://www.cyrusimap.org/</a></span><br><span>List \
Archives/Info: <a href="http://lists.andrew.cmu.edu/pipermail/info-cyrus/">http://lists.andrew.cmu.edu/pipermail/info-cyrus/</a></span><br><span>To \
Unsubscribe:</span><br><span><a \
href="https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus">https://lists.andrew.c \
mu.edu/mailman/listinfo/info-cyrus</a></span></div></blockquote></div></body></html>



----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic