Move automatic database recovery and prior generation journal file management from ydb to ydb_env_set
Final Release Note
Description
The ydb
script and ydb_env_set
file to be sourced are intended for a simple out-of-the-box YottaDB experience. To avoid REQRUNDOWN errors when a database is restarted after a hard shutdown, the ydb
script automatically executes a mupip journal -rollback -backward
command (the default database created has a single region DEFAULT that configured to use before_image journaling). The ydb
script also deletes prior generation journal files older than $ydb_retention
(defaulting to 42) days, in order to avoid filling up a the user's disk. Since only M users will run ydb
, but non-M users do not, this journal recovery and journal file management should be moved to ydb_env_set
.
Draft Release Note
No release note needed because there is (at least in principle) no user visible change.