Written by

Enterprise Application Development Consultant at The Ohio State University Wexner Medical Center
MOD
Question Scott Roth · Apr 13

Code not always updated in Mirror?

This past weekend we ran into something odd. When we failed over our mirror from 2022.1.3 to 2025.1.3 the one of the Business Rules that was on what became the Primary (2025.1.3), had a rule within it that was removed back in January. When the Failover occurred, we had to scramble to backup, disable, and remove the Rule that shouldn't have been there. 

Both the Data and Code live within the same IRIS.dat that is the main MIRROR database for that Namespace. 

If this happened to one Class file, could it happen to others we do not know about? Seeing that I ran CompileAllNamespace, it is kind of hard to track down based on compiled date.

Has anyone had this issue before? Have you been able to track down the culprit?

Product version: IRIS 2025.1
$ZV: IRIS for UNIX (Red Hat Enterprise Linux 8 for x86-64) 2025.1.3 (Build 481_1U) Tue Feb 3 2026 15:24:0

Comments

Yaron Munz · Apr 13

AI bot answer is not relevant to the question.

You say that code/data is in the same DB that is mirrored. 2025 and 2022 are using different version of journaling, but 2025 is capable of de-journaling journals from previous version (but not the vice versa).

1. When you upgraded the failover to 2025 (the one which is the new primary) did you had any issues with journal files? (might be that some files were dropped in the upgrade and not processed).
2. is that "missing rule" mapped to another DB that is not in mirror?

0
Scott Roth  Apr 13 to Yaron Munz
  1. never thought about reviewing messages.log, or the journalling log to see if there is an error, but I will double check.
  2. The Business Rule in question has always been a part of the database that is part of the mirror.
0
Scott Roth  Apr 14 to John Murray

I got the sense that Data Check was only looking at data not code.

0