Automatic deletion of old prior generation journal files
Final Release Note
Description
As we make YottaDB Just Work™ out of the box through [#365 (closed)], [#366] and [#367 (closed)], journal files can potentially grow to fill up available storage.
Draft Release Note
The last process to close a database file scans prior generation journal files and deletes any that are older than $ydb_retention
days, defaulting to 42 if not specified. A value greater than 9999 disables the scan for old prior generation journal files, and a value of 0 deletes all prior generation journal files. Although this feature is not strictly backwards compatible explicitly configured environments (there is no automatic deletion of old prior generation journal files), automatic deletion of old prior generation journal files is currently implemented by the ydb
script. The default value of 42 accommodates a backup cycle scheduled for a specific weekend each month (which would result in a backup every 28 or 35 days), with a buffer of an extra week. [#368]