Jaroslaw Cwiklik wrote:
Jorn, I've checked the code and see that a log message is confusing in the
scenario you've described. The message says something like this:
Controller:Test Aggregate TAE Stopping Collocated Delegate Cas
Multiplier:TestMultiplier
followed by something like this:
Cas Multiplier:Simple Text Segmenter Stopped Generating CASes from
Input CAS:-61dfae6a:1267b2ab2ab:-7fe8
The first message is wrong and confusing. What is happening in your scenario
is the following:
1) CM receives input CAS C1
2) The CM generates a new CAS C2
3) C2 is sent to Delegate Service D1
4) D1 throws exception on C2
5) Aggregate receives exception from D1 and sends STOP message to CM asking
it to stop producing
new CASes from C1. This message is not sent to stop the CM!
6) CM returns C1 to the Aggregate
7) Aggregate determines that C1 has been marked as failed ( because of C2
failure)
8) Aggregate returns C1 marked as failed to the client
The confusion is the message that the aggregate logs: Stopping Collocated
Delegate Cas Multiplier:
It should say something like, Sending Request to CM to Stop Generating New
CASes from CAS id: xxx
Can you confirm that the client receives C1 with an exception.
In the test it did, also think that works in our production system.
Jörn