Description
Hello
I have a very simple application that create a aeron archive, and use archive to create an exclusive publication, and then throw away the archive right away
I notice that occasionally, this archive cause an error on the media driver side with message like the below:
controlSessionId=1712709231 terminated: request publication image unavailable: image.correlationId=92992 sessionId=778513740 streamId=10 channel=aeron:ipc?term-length=64k
I can use the control session id map back to the application given i log it there, and the application is not really interactign with the archive anymore after the publication creation. So I find it a bit odd.
I saw that in the code for addRecordedExclusivePublication
, there is this section:
while (!publication)
{
idle.idle();
publication = m_aeron->findExclusivePublication(publicationId);
}
could it be that this while loop takes a bit too long, and somehow it failed the livenss check it meant to periodically sent to the media driver? But again i thought i would expect a different error message.
Also note this issue i cannot consistently reproduce, just every now and then.
Thanks