aeron icon indicating copy to clipboard operation
aeron copied to clipboard

Archive ConductorServiceTimeoutException when using `useConductorAgentInvoker`

Open ratcashdev opened this issue 1 year ago • 3 comments
trafficstars

Setting up an Aeron client (1.44.1) instance with .useConductorAgentInvoker(true) and pass it to Archive, like:

    Archive.launch(
        new Archive.Context()
            .aeron(aeron)
         ...
         )

may results in the following exception:

Caused by: io.aeron.exceptions.ConductorServiceTimeoutException: FATAL - service interval exceeded: timeout=10000000000ns, interval=10724637104ns
    at io.aeron.ClientConductor.checkServiceInterval(ClientConductor.java:1455)
    at io.aeron.ClientConductor.checkTimeouts(ClientConductor.java:1439)
    at io.aeron.ClientConductor.awaitResponse(ClientConductor.java:1393)
    at io.aeron.ClientConductor.addCounter(ClientConductor.java:1004)
    at io.aeron.Aeron.addCounter(Aeron.java:519)
    at io.aeron.archive.ArchiveCounters.allocate(ArchiveCounters.java:67)
    at io.aeron.archive.Archive$Context.conclude(Archive.java:1218)
    at io.aeron.archive.Archive.<init>(Archive.java:81)
    at io.aeron.archive.Archive.launch(Archive.java:190)
    ... 50 more

ratcashdev avatar May 14 '24 11:05 ratcashdev

This code doesn't compile. I.e. you can't pass an AeronArchive.Context to Archive.launch. I've tried replicating the issue, but I'm unable to. Please could you supply a full example that demonstrates the problem.

mikeb01 avatar May 27 '24 02:05 mikeb01

Apologies, @mikeb01 . The stack trace was copied, the code not.

    at io.aeron.archive.Archive$Context.conclude(Archive.java:1218)
    at io.aeron.archive.Archive.<init>(Archive.java:81)
    at io.aeron.archive.Archive.launch(Archive.java:190)

Original post updated

ratcashdev avatar May 27 '24 10:05 ratcashdev

A complete code example, e.g. a unit test, that demonstrates the problem would be appreciated. The code example above doesn't show the use of useConductorAgentInvoker(true).

mikeb01 avatar Jun 04 '24 03:06 mikeb01

@mikeb01 will do, just need some more time. Thanks for the patience.

ratcashdev avatar Jul 11 '24 08:07 ratcashdev

Closing due to no further activity.

mjpt777 avatar Aug 12 '24 13:08 mjpt777