How Routines are journaled/shadowed ?

40 views
Skip to first unread message

Sid

unread,
Feb 27, 2019, 8:46:43 AM2/27/19
to IRIS, Caché, Ensemble
How Routines are journaled in Caché ?
Are they journaled through the ^ROUTINE Global ?  What about the .OBJ ? Is it journaled through the ^rOBJ Global ? 
What happens when a Routine is modified in a shadowed system ? Is it modified as well on Shadow server? an how is it done?

Brendan Bannon

unread,
Feb 27, 2019, 9:59:48 AM2/27/19
to intersystems...@googlegroups.com

Sid

 

Routines are stored in 3 globals ^rMAC, ^ROUTINE, and ^rOBJ and as long as those globals are in a journaled DB they will get copied over to the Shadow.

 

Making changes to Routines on the Shadow is a VERY BAD IDEA!

 

Shadowing is one way only so your changes will not get back to the main system, worse than that the next time you change the routine on the live system the Shadow will be update and what is left might not be a working routine.

 

Brendan

--
--
IRIS, Caché, Ensemble
---
You received this message because you are subscribed to the Google Groups "IRIS, Caché, Ensemble" group.
To unsubscribe from this group and stop receiving emails from it, send an email to intersystems-publi...@googlegroups.com.
To post to this group, send email to intersystems...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Sid

unread,
Mar 4, 2019, 9:37:03 AM3/4/19
to IRIS, Caché, Ensemble
Understood.
Of course I didn't mean to make changes on the shadow. I just wanted to know how Routines are shadowed.
Thank You Brendan

On Wednesday, February 27, 2019 at 4:59:48 PM UTC+2, Brendan Bannon wrote:

Sid

 

Routines are stored in 3 globals ^rMAC, ^ROUTINE, and ^rOBJ and as long as those globals are in a journaled DB they will get copied over to the Shadow.

 

Making changes to Routines on the Shadow is a VERY BAD IDEA!

 

Shadowing is one way only so your changes will not get back to the main system, worse than that the next time you change the routine on the live system the Shadow will be update and what is left might not be a working routine.

 

Brendan

 

 

From: intersystems...@googlegroups.com <intersystems...@googlegroups.com> On Behalf Of Sid
Sent: Wednesday, February 27, 2019 5:11 AM
To: IRIS, Caché, Ensemble <intersystems...@googlegroups.com>
Subject: [Caché] How Routines are journaled/shadowed ?

 

How Routines are journaled in Caché ?

Are they journaled through the ^ROUTINE Global ?  What about the .OBJ ? Is it journaled through the ^rOBJ Global ? 

What happens when a Routine is modified in a shadowed system ? Is it modified as well on Shadow server? an how is it done?

--
--
IRIS, Caché, Ensemble
---
You received this message because you are subscribed to the Google Groups "IRIS, Caché, Ensemble" group.

To unsubscribe from this group and stop receiving emails from it, send an email to intersystems-public-cache+unsub...@googlegroups.com.

Reply all
Reply to author
Forward
0 new messages