8000 Occasional request publication image unavailable from cpp aeron archive · Issue #1802 · aeron-io/aeron · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Occasional request publication image unavailable from cpp aeron archive #1802
Open
@chwangaa

Description

@chwangaa

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0