<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div style="font-family:Arial;"><br></div><div style="font-family:Arial;"><br></div><div>On Tue, May 21, 2019, at 18:56, Dilyan Palauzov wrote:<br></div><blockquote type="cite" id="qt"><div style="font-family:Arial;">Hello,<br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">https://fastmail.blog/2014/12/01/email-search-system/ says:<br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">The process is as follows:<br></div><div style="font-family:Arial;">5. if the xapianactive file has changed, discard all our work (we lock <br></div><div style="font-family:Arial;">against this, but it's a sanity check) and exit<br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">Does squatter exit with an error message in this case, and has to be <br></div><div style="font-family:Arial;">started again, or does it retry automatically, until it successes?<br></div></blockquote><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">No, it just keeps going. It will syslog something about the failure, but a compact failure is generally considered to be not a bad thing.<br></div><div style="font-family:Arial;"><br></div><blockquote type="cite" id="qt"><div style="font-family:Arial;">What means “indexing”? -T can be passed to squatter only in compact <br></div><div style="font-family:Arial;">mode, and is a directory for temporary files. But the documentation <br></div><div style="font-family:Arial;">says, this directory is used when “indexing”. How big is the data <br></div><div style="font-family:Arial;">stored there? Lets say if tier A allocates K MB for its data, and <br></div><div style="font-family:Arial;">tier B allocates L MB for the data, is during compacting of A and B <br></div><div style="font-family:Arial;">approximately K+L MBs used in the temporary directory?<br></div></blockquote><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">It doesn't work like that - you don't allocate a particular amount of space for each tier. The space used in -T during a single compact is roughly the sum of the database sizes of the databases which are being compacted together. I expect the documentation could be made more clear here.<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;">--<br></div><div id="sig56629417"><div class="signature"> Bron Gondwana, CEO, FastMail Pty Ltd<br></div><div class="signature"> brong@fastmailteam.com<br></div><div class="signature"><br></div></div><div style="font-family:Arial;"><br></div></body></html>