Environment variables ydb_linktmpdir/gtm_linktmpdir default to ydb_tmp/gtm_tmp
Final Release Note
If the environment variables ydb_linktmpdir
and gtm_linktmpdir
are unspecified, but ydb_tmp
or gtm_tmp
are, YottaDB uses the latter for the location of the relinkctl
control files for auto-relink enabled directories. Previously, owing to a regression effective GT.M V6.3-002 (and in turn YottaDB r1.10), in this case, the relinkctl
control files were created in /tmp
. [#392 (closed)]
Description
The documentation at https://docs.yottadb.com/AdminOpsGuide/basicops.htm indicates the following.
ydb_linktmpdir (gtm_linktmpdir) identifies a directory (defaulting to $ydb_tmp, which in turn defaults to /tmp, if unspecified) where YottaDB creates a small control file (Relinkctl), for each auto-relink enabled directory which a YottaDB process accesses while searching through $ZROUTINES.
If ydb_linktmpdir (or gtm_linktmpdir env var) is not defined, but ydb_tmp (or gtm_tmp env var) is defined to a directory, then the relinkctl files currently get created in /tmp instead of the directory specified in ydb_tmp/gtm_tmp.
This is a regression introduced in GT.M V6.3-002 (and in turn YottaDB r1.10).
Draft Release Note
ydb_linktmpdir/gtm_linktmpdir env var defaults to ydb_tmp/gtm_tmp env var if the former is not specified but the latter is. Previously, if ydb_linktmpdir was not specified, the relinkctl control file used to still be created in the default location of /tmp even though ydb_tmp was specified.