GDE change region requires -journal=nobefore option even if nobefore is already specified
Final Release Note
Description
In the following, note that the OCTO region, which has MM as its access method, already has NOBEFORE journaling specified. Yet to change parameters like key size, record size, and null subscripts, GDE CHANGE REGION forces NOBEFORE journaling to be specified as part of the command. Since the region already has NOBEFORE journaling specified, it should accept the other parameter changes without requiring this redundant respecification.
$ gde
%GDE-I-LOADGD, Loading Global Directory file
/Distrib/VistA/dEWDrop/r1.29_x86_64/g/yottadb.gld
%GDE-I-VERIFY, Verification OK
GDE> sh -r octo
*** REGIONS ***
Std Inst
Dynamic Def Rec Key Null Null Freeze Qdb Epoch LOCK
Region Segment Coll Size Size Subs Coll Jnl on Err Rndwn Taper AutoDB Stats Crit
-------------------------------------------------------------------------------------------------------------------------------------------
OCTO OCTO 0 4080 255 NEVER Y Y N N Y N Y Sep
*** JOURNALING INFORMATION ***
Region Jnl File (def ext: .mjl) Before Buff Alloc Exten AutoSwitch
--------------------------------------------------------------------------------------------------------
OCTO <based on DB file-spec> N 2312 2048 2048 8386560
GDE> sh -s octo
*** SEGMENTS ***
Segment File (def ext: .dat)Acc Typ Block Alloc Exten Options
-------------------------------------------------------------------------------------------
OCTO $ydb_dir/$ydb_rel/g/octo.dat
MM DYN 4096 5000 10000 DEFER
LOCK= 40
RES = 0
ENCR= OFF
MSLT=1024
DALL= YES
GDE> ch -r octo -n=always -ke=1019 -re=500000
%GDE-I-MMNOBEFORIMG, MM segments do not support before image jounaling
%GDE-I-REGIS, in region OCTO
%GDE-I-SEGIS, in MM segment OCTO
%GDE-E-OBJNOTCHG, Not changing region OCTO
GDE> ch -r octo -j=nobefore -n=always -ke=1019 -re=500000
GDE> sh -r octo
*** REGIONS ***
Std Inst
Dynamic Def Rec Key Null Null Freeze Qdb Epoch LOCK
Region Segment Coll Size Size Subs Coll Jnl on Err Rndwn Taper AutoDB Stats Crit
-------------------------------------------------------------------------------------------------------------------------------------------
OCTO OCTO 0 500000 1019 ALWAYS Y Y N N Y N Y Sep
*** JOURNALING INFORMATION ***
Region Jnl File (def ext: .mjl) Before Buff Alloc Exten AutoSwitch
--------------------------------------------------------------------------------------------------------
OCTO <based on DB file-spec> N 2312 2048 2048 8386560
GDE>
Draft Release Note
For regions whose segments are specified as using the MM access method, and for which the region specification already states that the journal type is NOBEFORE, GDE CHANGE REGION does not require a redundant re-specification of the journal type. Previously, it required such a redundant re-specification.