What is the behavior of the enigne when I have the "wait-for-checkpoint" checked or unchecked for Grace full Shutdown

What is the behavior of the enigne when I have the "wait-for-checkpoint" checked or unchecked for Grace full Shutdown

book

Article ID: KB0089716

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Resolution:
During the Grace Full Shutdown, the engine first suspends the process starter, so no other jobs will be recieved, and after that depending on the value for "wait-for-checkpoint" the jobs will be processed and the engine will be terminated.

For eg.
1) If the "wait-for-checkpoint"=false (is not checked) and the timeout = n (high value)

In this case all of the 'n' jobs which are in the memory (Max Jobs = 'n') will be processed and stop if it hits a Checkpoint activity, and if there is no checkpoint in the process then the jobs in the memory will be completed, and the remaining Jobs (Paged out Jobs) which are in the Pager directory will be processed till it hits a checkpoint activity. The engine will be shutdown if the Timeout is reached or the jobs are being processed.

2) If the "wait-for-checkpoint"=true (checked) and the timeout= n(high value)

In this case all jobs which are in the memory and the Paged out jobs will be processed. The engine will shutdown if the Timeout is reached or all of the jobs are being processed.

3) If the "wait-for-checkpoint"=true (Checked) and the timeout=0

Even in this case all jobs which are in the memory and the Paged out Jobs will be processed, and the engine will terminate after the last job is completed.

4) If the "wait-for-checkpoint"=false (is not checked) and the timeout=0

In this case it will not be a gracefull shutdown, the engine will terminated as soon as you hit stop, and the jobs which are already checkpointed will remain in the JDB direcotry and the jobs which are in the Pager directory will be deleted.

Issue/Introduction

What is the behavior of the enigne when I have the "wait-for-checkpoint" checked or unchecked for Grace full Shutdown