UnitsPerTransaction Issue (Doc ID 874692.1)

Last updated on SEPTEMBER 02, 2016

Applies to:

Oracle Communications Billing and Revenue Management - Version 7.2.1.0.0 and later
Information in this document applies to any platform.
***Checked for relevance on 30-Dec-2012***
***Checked for relevance on 08-SEP-2014***

Symptoms

Pipeline will immediately generate output file when we configure the InputDirEmptyTimeout entry as 2 minutes.

Expected: It should wait for 2 minutes before generating output file.

Steps to reproduce:
1) Create an account using Standard GSM plan
2) Configure wireless.reg to have below entries:

UnitsPerTransaction = 4
InputDirEmptyTimeout = 120 (in secs)

e.g. :

#---------------------------------
# Input section
#---------------------------------
Input
{
UnitsPerTransaction = 4
.
InputModule
{
ModuleName = INP_GenericStream
Module
{
DefaultOutput = EdrOutput
Grammar =
./formatDesc/Formats/Sample/SIMPLESAMPLE_v1_InGrammar.dsc
.
InputStream
{
ModuleName = EXT_InFileManager
Module
{
InputPath = ./data/in
InputPrefix = test
InputSuffix = .edr
.
DonePath = ./data/done
DonePrefix = test_PREPROCESS
DoneSuffix = .done
.
ErrorPath = ./data/error
ErrorPrefix = test_PREPROCESS
ErrorSuffix = .err
.
TempPrefix = tmp_PREPROCESS
Replace = True
InputDirEmptyTimeout = 120
}

3) stop_ifw
4) start_ifw
5) Pass two EDR files with in 120 seconds

Existing behavior :

1) It will open a transaction and process one edr.
2) It will wait for 10 seconds only, for another file, generate the out file after 10 seconds and commit the transaction
3) It will open another transaction for the second edr, process the same and it will wait for 10 secs only, for another file and also it will generate the out file after 10 seconds. It will commit the transaction

Snippet from /ifw/log/pipeline/pipeline_PRE_PROCESS.log
--------------------------

 

11.08.2009 05:31:51 TEST ifw IFW NORMAL [T:13] 00449- (ifw.Pipelines.PRE_PROCESS.TransactionManager) Transaction '22' started.
11.08.2009 05:31:51 TEST ifw IFW NORMAL [T:13] 00029- (ifw.Pipelines.PRE_PROCESS.Input.InputModule.Module.InputStream.Module) File './data/in/tmp_PREPROCESStest_3b.edr' opened.
11.08.2009 05:31:51 TEST ifw IFW NORMAL [T:15] 00090- (ifw.Pipelines.PRE_PROCESS.Output) Beginningto process stream 'test_3b.edr'.
11.08.2009 05:31:51 TEST ifw IFW NORMAL [T:13] 00030- (ifw.Pipelines.PRE_PROCESS.Input.InputModule.Module.InputStream.Module) File './data/in/tmp_PREPROCESStest_3b.edr' closed.
11.08.2009 05:31:51 TEST ifw IFW NORMAL [T:15] 00029- (ifw.Pipelines.PRE_PROCESS.Output.OutputCollection.EdrOutput.Module.OutputStream.Module) File'./data/edr/tmp_PREPROCESSPRE_PROCESStest_3b.edr' opened.
11.08.2009 05:31:51 TEST ifw IFW NORMAL [T:15] 00030- (ifw.Pipelines.PRE_PROCESS.Output.OutputCollection.EdrOutput.Module.OutputStream.Module) File'./data/edr/tmp_PREPROCESSPRE_PROCESStest_3b.edr' closed.
11.08.2009 05:31:51 TEST ifw IFW NORMAL [T:15] 00091- (ifw.Pipelines.PRE_PROCESS.Output) End of theprocessing of stream 'test_3b.edr'.
11.08.2009 05:32:01 TEST ifw IFW NORMAL [T:15] 00054- (ifw.Pipelines.PRE_PROCESS.Input.InputModule.Module.InputStream.Module) File './data/in/tmp_PREPROCESStest_3b.edr' moved to './data/done/test_PREPROCESS_3b.done'.
11.08.2009 05:32:01 TEST ifw IFW NORMAL [T:15] 00054- (ifw.Pipelines.PRE_PROCESS.Output.OutputCollection.EdrOutput.Module.OutputStream.Module) File'./data/edr/tmp_PREPROCESSPRE_PROCESStest_3b.edr' moved to './data/edr/test_3b.edr'.
11.08.2009 05:32:01 TEST ifw IFW NORMAL [T:15] 00450- (ifw.Pipelines.PRE_PROCESS.TransactionManager) Transaction '22' committed.
11.08.2009 05:32:01 TEST ifw IFW NORMAL [T:15] 00104- (ifw.Pipelines.PRE_PROCESS.Output.Statistic)Total number of EDRs: 3, 0 (= 0%) are corrupted.
11.08.2009 05:32:01 TEST ifw IFW NORMAL [T:15] 00106- (ifw.Pipelines.PRE_PROCESS.Output.Statistic)10 seconds have been used to process 3 EDRs (0 EDRs/sec).
11.08.2009 05:33:13 TEST ifw IFW NORMAL [T:13] 00449- (ifw.Pipelines.PRE_PROCESS.TransactionManager) Transaction '24' started.
11.08.2009 05:33:13 TEST ifw IFW NORMAL [T:13] 00029- (ifw.Pipelines.PRE_PROCESS.Input.InputModule.Module.InputStream.Module) File './data/in/tmp_PREPROCESStest_3c.edr' opened.
11.08.2009 05:33:13 TEST ifw IFW NORMAL [T:15] 00090- (ifw.Pipelines.PRE_PROCESS.Output) Beginningto process stream 'test_3c.edr'.
11.08.2009 05:33:13 TEST ifw IFW NORMAL [T:13] 00030- (ifw.Pipelines.PRE_PROCESS.Input.InputModule.Module.InputStream.Module) File './data/in/tmp_PREPROCESStest_3c.edr' closed.
11.08.2009 05:33:13 TEST ifw IFW NORMAL [T:15] 00029- (ifw.Pipelines.PRE_PROCESS.Output.OutputCollection.EdrOutput.Module.OutputStream.Module) File'./data/edr/tmp_PREPROCESSPRE_PROCESStest_3c.edr' opened.
11.08.2009 05:33:13 TEST ifw IFW NORMAL [T:15] 00030- (ifw.Pipelines.PRE_PROCESS.Output.OutputCollection.EdrOutput.Module.OutputStream.Module) File'./data/edr/tmp_PREPROCESSPRE_PROCESStest_3c.edr' closed.
11.08.2009 05:33:13 TEST ifw IFW NORMAL [T:15] 00091- (ifw.Pipelines.PRE_PROCESS.Output) End of theprocessing of stream 'test_3c.edr'.
11.08.2009 05:33:23 TEST ifw IFW NORMAL [T:15] 00054- (ifw.Pipelines.PRE_PROCESS.Input.InputModule.Module.InputStream.Module) File './data/in/tmp_PREPROCESStest_3c.edr' movedto './data/done/test_PREPROCESS_3c.done'.
11.08.2009 05:33:23 TEST ifw IFW NORMAL [T:15] 00054- (ifw.Pipelines.PRE_PROCESS.Output.OutputCollection.EdrOutput.Module.OutputStream.Module) File'./data/edr/tmp_PREPROCESSPRE_PROCESStest_3c.edr' moved to './data/edr/test_3c.edr'.
11.08.2009 05:33:23 TEST ifw IFW NORMAL [T:15] 00450- (ifw.Pipelines.PRE_PROCESS.TransactionManager) Transaction '24' committed.
11.08.2009 05:33:23 TEST ifw IFW NORMAL [T:15] 00104- (ifw.Pipelines.PRE_PROCESS.Output.Statistic)Total number of EDRs: 3, 0 (= 0%) are corrupted.
11.08.2009 05:33:23 TEST ifw IFW NORMAL [T:15] 00106- (ifw.Pipelines.PRE_PROCESS.Output.Statistic)10 seconds have been used to process 3 EDRs (0 EDRs/sec).



Found that it is waiting for 10 sec's by using below log messages using the timestamp:


11.08.2009 05:31:51 TEST ifw IFW NORMAL [T:15] 00091 - (ifw.Pipelines.PRE_PROCESS.Output) End of the processing of stream 'test_3b.edr'.
11.08.2009 05:32:01 TEST ifw IFW NORMAL [T:15] 00054 - (ifw.Pipelines.PRE_PROCESS.Input.InputModule.Module.InputStream.Module) File './data/in/tmp_PREPROCESStest_3b.edr' moved to './data/done/test_PREPROCESS_3b.done'.





 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms