Consolidation Issues
Posted: Fri Nov 27, 2015 3:42 pm
So I have a rather bizarre issue.
I have an archival process for a model that creates a STET version of a budget or forecast. The process first creates a new element for the archive using DimensionElementInsertDirect in the Prolog. Then cycles through a control cube that lists all the cubes that should be archived.
The metadata component of the triggers three separate processes for each cube.
The first process sets up the rules file and inserts a rule to STET out the archive version. ( We split our rules files so that consolidation rules are first then the stet rule inserted by the process and finally n level rules at the end. )
The second process is a Bedrock cube data export process. To output the active version to a flat file, rules calculated values and all.
The third process is a Bedrock cube data import process. To read the flat file and store the values in the STET version.
Feeders in the model are fed from an "Active Versions" hierarchy to prevent feeding from an archive since the whole point is to store everything in the archive as a value.
Now for the weird bit. The process does everything we'd expect: creates the version, sets up rules file and copies the data without issue. But none of the rules based consolidations work for the new version unless the server is restarted. We've tried unloading the cubes, re-firing feeders, reattaching the rules file, everything we could think of short of a rain dance, in all combinations imaginable but the only thing that seems to work is a server restart.
I understand a rules calculation not consolidating since that would indicate a feeder issue, but its almost as if TM1 is not detecting a STET value. And having to restart a production server after an archive is not exactly ideal.
The issue is occurring in TM1 version 10.2.2 FP4 and on a server with FP3.
Any ideas?
I have an archival process for a model that creates a STET version of a budget or forecast. The process first creates a new element for the archive using DimensionElementInsertDirect in the Prolog. Then cycles through a control cube that lists all the cubes that should be archived.
The metadata component of the triggers three separate processes for each cube.
The first process sets up the rules file and inserts a rule to STET out the archive version. ( We split our rules files so that consolidation rules are first then the stet rule inserted by the process and finally n level rules at the end. )
The second process is a Bedrock cube data export process. To output the active version to a flat file, rules calculated values and all.
The third process is a Bedrock cube data import process. To read the flat file and store the values in the STET version.
Feeders in the model are fed from an "Active Versions" hierarchy to prevent feeding from an archive since the whole point is to store everything in the archive as a value.
Now for the weird bit. The process does everything we'd expect: creates the version, sets up rules file and copies the data without issue. But none of the rules based consolidations work for the new version unless the server is restarted. We've tried unloading the cubes, re-firing feeders, reattaching the rules file, everything we could think of short of a rain dance, in all combinations imaginable but the only thing that seems to work is a server restart.
I understand a rules calculation not consolidating since that would indicate a feeder issue, but its almost as if TM1 is not detecting a STET value. And having to restart a production server after an archive is not exactly ideal.
The issue is occurring in TM1 version 10.2.2 FP4 and on a server with FP3.
Any ideas?