INN and local cancel messages

Julien ÉLIE julien at trigofacile.com
Fri Nov 25 22:34:56 UTC 2016


Adding to my previous answer:

>>> From what I can gather, the actual message file is removed in a timehash
>>> store, and I suspect the same would hold true for timecaf and tradspool
>>> (i.e. the storage space is return to the OS),
>>
>> Correct.
> 
> Just a precision as for timecaf:  a comment in the source code mentions
> that no space is returned to the OS at the time of the cancel.  It only
> happens when expire is run, and treats the CAF file.
> Maybe that fact could be useful to Chris.

Now added to our storage.conf documentation, for future reference.
For timecaf, the removal is immediate if "immediatecancel" is set to true in inn.conf.

**CNFS**
@@ -171,7 +171,10 @@
 expire time of articles stored in CNFS buffers is therefore entirely
 determined by how long it takes the buffer to wrap around, which depends
 on how quickly data is being stored in it.  (This method is therefore said
-to have self-expire functionality.)  EXPENSIVESTAT is false for this method.
+to have self-expire functionality.  It also means that when an article is
+cancelled, the cycbuff doesn't go back and use space until it rolls over and
+the whole cycbuff starts being reused.)  EXPENSIVESTAT is false for this
+method.


**timecaf**
@@ -205,7 +208,8 @@
 is converted to hexadecimal and interpreted as C<0xaabbccdd>, with
 C<aa>, C<bb>, and C<cc> used to build the path.)  This method does not
 have self-expire functionality (meaning B<expire> has to run periodically
-to delete old articles).  EXPENSIVESTAT is false for this method.
+to delete old articles, as well as cancelled articles if I<immediatecancel>
+is not set to true in F<inn.conf>).  EXPENSIVESTAT is false for this method.


**timehash**
@@ -228,7 +232,8 @@
 hexadecimal sequence number, and C<bb>, C<cc>, and C<aadd> are components
 of the arrival time in hexadecimal (the arrival time is interpreted as
 documented above under C<timecaf>).  This method does not have self-expire
-functionality.  EXPENSIVESTAT is true for this method.
+functionality.  Cancelled articles are removed immediately.  EXPENSIVESTAT
+is true for this method.
 

**tradspool**
@@ -252,7 +257,8 @@
 (using either hard or symbolic links).  This is the way versions of INN
 prior to 2.0 stored all articles, as well as being the article storage format
 used by C News and earlier news systems.  This method does not have
-self-expire functionality.  EXPENSIVESTAT is true for this method.
+self-expire functionality.  Cancelled articles are removed immediately.
+EXPENSIVESTAT is true for this method.

-- 
Julien ÉLIE

« Ce serait un tunnel pour aller de la Gaule en Bretagne. »
  (Astérix)


More information about the inn-workers mailing list