You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.
I tried to run two onyx instances in the same machine. So I needed to change Aeron media driver directory on both instances. After digging through source code, I found out I could pass the directory via :onyx.messaging.aeron/media-driver-dir setting. It was working fine with two onyx instances.
If I run one onyx instance, Onyx hanged with the following message: Aeron media driver has not started up. Waiting for media driver before starting peers, and backing off for 500ms.
I tried to run two onyx instances in the same machine. So I needed to change Aeron media driver directory on both instances. After digging through source code, I found out I could pass the directory via
:onyx.messaging.aeron/media-driver-dir
setting. It was working fine with two onyx instances.If I run one onyx instance, Onyx hanged with the following message:
Aeron media driver has not started up. Waiting for media driver before starting peers, and backing off for 500ms.
I think the problem lying in the following code:
https://github.com/onyx-platform/onyx/blob/0.14.4/src/onyx/peer/peer_group_manager.clj#L264
https://github.com/onyx-platform/onyx/blob/0.14.4/src/onyx/messaging/aeron/messaging_group.clj#L30
The function
media-driver-healthy?
initializesCommonContext
object with default media driver directory. It fails to consider that the directory might be overridden by:onyx.messaging.aeron/media-driver-dir
setting.I could submit a PR. However, I'm new to onyx. I'm not sure this is the right direction. Could anyone help guiding me with this issue?
The text was updated successfully, but these errors were encountered: