infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Read Only Archives
Cloverleaf
Cloverleaf
Recovery DB Not Working
smcquay
Cloverleaf 5.2, AIX 5.2
We have one thread (that we are aware of) in a process that is losing queued messages when it is stopped/started. "Use Recovery database" checked on in NetConfig. We have unchecked this option, saved NetConfig, and bounced the process. Then we checked this option, saved NetConfig, and bounced the process again with no change. We have also reinitialized the db using hcidbinit -ACf.
We have other threads in the same process where recovery database does work.
Anyone run into this before?
Find more posts tagged with
Clovertech
Comments
System
Originally posted by Bill Bertera
do the messages originate at all from within tcl? possibly using msgcopy or msgcreate? Maybe you're splitting a single messages into multiple messages using tcl? If so, make sure you're configuring the messages to use the RDB, its not the default...
System
Originally posted by Michael Hertel
Use recovery database refers to keeping the "inbound" message of that thread to the database.
Therefore, when checked on outbound threads, it will keep the ACK messages coming into the thread in the database.
You need to check "use recovery database" on the inbound source thread in order for the message to be saved on outbound threads.
Bill's point has bitten me more than once though.
smcquay
We're not using "straight" tcl to create the messages. They are xlated messages from 2 other source threads. As far as we know, the recovery database was working for this particular thread until sometime last week.
One of the source threads reads a file of 500+ records at once. These are translated and sent to the thread that's having problems. An alert is set up that will stop/start the thread when the queue depth reaches 50.
We started receiving complaints last week that some data was missing. On investigation, it appeared that the thread processed part of the file but not the complete file. We monitored the process and saw that when the alert was triggered and the thread stopped/started, whatever was queued up was lost when the thread came back up.
This is not a new process and has been working extremely well in production for 2 - 3 years. No changes have been made to the configuration (until today that is).
Thanks for any other ideas . . .
System
Originally posted by Michael Hertel
Do both inbound threads have "use recovery database" checked?
smcquay
Yes. "User Recovery database" in turned on in both threads as well as the one we're having problems with.
Thanks.
smcquay
I lied. There was some TCL code creating new messages and the
-recover -type data switches were not used in the code. We changed the code from:
set nmh [msgcreate $newmessage]
To:
set nmh [msgcreate -recover -type data $newmessage]
and tested (stopped/started the thread) and no messages were lost. So, kudos to Bill Bertera, he nailed it on the head the first time.
Thanks