You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#672 make sort process call initmissingtables and notifyidbs instead … (#681)
* #672 make sort process call initmissingtables and notifyidbs instead of wdb
* change initmissingtables to work with new set up
* #672 clean up cpde and add some comments
* #672 move idbreload to endofdaysort
* #672 change the way initmissingtables works
* #672 make use of wdbtypes for sort procs to connect to
* #672 remove unnecessary whitespace
* #672 make the initmissingtables command get sent to all wdbs
---------
Co-authored-by: [email protected] <[email protected]>
/- Function to trigger idb reload steps, The initmissingtables function needs to be ran on wdb process, however this function can be ran on the sort processes
597
+
/- If the function is ran on sort process send initmissingtables command to wdbs
598
+
idbreload:{[pt]
599
+
.lg.o[`idb;"starting idb reload"];
600
+
if[writedownmodein`partbyenum`default;
601
+
.lg.o[`eod;"initialising wdbhdb for partition: ",string[pt]];
602
+
$[.proc.proctype~`sort;{[pt]ws:exec w from.servers.getservers[`proctype;wdbtypes;()!();1b;0b];{[ws;pt]ws(`.wdb.initmissingtables;[pt])}[;pt] eachws}[pt];initmissingtables[pt]];
603
+
.lg.o[`eod;"notifying idbs for newly created partition"];
0 commit comments