File Naming Issue Post Deadlock Conditions While Rating An EDR Through Pipeline
Last updated on JULY 15, 2016
Applies to:Oracle Communications Billing and Revenue Management - Version 184.108.40.206.0 to 220.127.116.11.0 [Release 7.2.0 to 7.5.0]
Information in this document applies to any platform.
Having few records getting ignored by rating pipeline due to the error "Edr has been ignored due to discount account deadlock.Could not get balance for BG/Resource due to deadlock, the transaction will be cancelled and retried".
The IgnoreEDROnDeadlock flag is set to TRUE for all the pipelines. Understand from some of the documents that this deadlock issue is common when multiple pipelines run in parallel and have to recycle these records at a later point of time.
However, the issue is with the name of the file containing the EDRs which were rejected. The issue is as below:
1. First let us say a file F1 is being processed by a pipeline. All the EDRs ignored in this file due to deadlock condition will be moved to a file F1_<seqno1> in the OutputPath configured in the EXT_OutFileManager. The seqno1 is the sequence being generated by the corresponding deadlock sequence defined.
2. Once we recycle the file F1_<seqno1>, suppose there are EDRs from this file which are again ignored by rating pipeline due to deadlock condition, then a new file F1_<seqno1>_<seqno2> is being generated with those ignored records.
3. Now, as few EDRs are being ignored after every recycle of the ignored EDRs, the file name keeps getting bigger. i.e., after 5 recycles it will be like F1_seqno1_seqno2_seqno3_seqno4_seqno5.
As we understand that these discount deadlocks cannot be avoided, we want to know if the file naming logic can be modified i.e., instead of sequence getting appended to the filename, can we get the sequence replaced. Ex: After 5 recycles, can we have the file name as F1_seqno5 instead of F1_seqno1_seqno2_seqno3_seqno4_seqno5?
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