[InterNetNews/inn] aa1024: Several bug fixes in CNFS storage token handling
Julien ÉLIE
noreply at github.com
Wed Nov 23 21:05:58 UTC 2022
Branch: refs/heads/main
Home: https://github.com/InterNetNews/inn
Commit: aa1024a72f7d27fe5b1439356eb944c63a74b066
https://github.com/InterNetNews/inn/commit/aa1024a72f7d27fe5b1439356eb944c63a74b066
Author: Julien ÉLIE <Julien-Elie at users.noreply.github.com>
Date: 2022-11-23 (Wed, 23 Nov 2022)
Changed paths:
M doc/pod/news.pod
M storage/cnfs/cnfs.c
Log Message:
-----------
Several bug fixes in CNFS storage token handling
Fixed 3 bugs reported by Kamil Jońca on CNFS:
- a duplicate entry returned by makehistory on fully wrapped cyclic buffers
(the first article of the cyclic buffer appeared twice in the output);
- an untimely removal from history of the first article of a fully wrapped
cyclic buffer (expire wrongly thought the storage token of the first article
was no longer existing after a wrap);
- an off-by-one cycle number for the first article of the previous cycle
number of a cyclic buffer containing articles from two different cycle numbers
(makehistory returned the current cycle number for it instead of the previous
one).
close #248
More information about the inn-committers
mailing list