-
Notifications
You must be signed in to change notification settings - Fork 205
Correlation ID Alignment Error on Insufficient Segment Term Buffer Size #831
Comments
Thank you for the report. I'm surprised that that is the error that you saw for this case, as we do have a more specific error that reports that the segment size is too big. We need to improve the error messages around the Aeron exception handling in other respects soon. I'll have some improvements here soon, hopefully before 0.12 final is released. |
Thanks, I'll the the next RC's when available. I also use |
I agree. We actually track the cumulative bytes transferred, so it would not be hard to do this as well. |
Do you have the full onyx.log for this issue? I'm having a little trouble tracking it down, as I see this exception on the publishing peer rather than the subscribing peer.
|
Here is the full exception:
Both the sending and the receiving peers run with the standard buffer settings from v0.12.0-rc1. I get the error on the receiving side. I run 2 sending peers and 17 receiving peers. Sending catalog entry: {:onyx/fn :...,
:onyx/type :function,
:onyx/name :...,
:onyx/n-peers 2,
:onyx/required-tags [:...]
:onyx/batch-size 1} Receiving catalog entry: {:onyx/name :...
:onyx/fn :...
:onyx/plugin :onyx.peer.function/function
:onyx/medium :function
:onyx/type :output
:onyx/group-by-fn :...
:onyx/required-tags [:...]
:onyx/min-peers 2
:onyx/flux-policy :kill
:onyx/batch-size 10
:onyx/batch-timeout 1000} I run the media driver in a separate JVM. With matching version 1.6.0. |
I have a job which transfers quite big segments (can't easily say how big). During the upgrade vom v0.9.15 to v0.12.0-rc1, I got an exception with the message "Lost and regained image with the same session-id and different correlation-id.". The exception handler registered at the lifecycle showed that this exception was thrown during a read-batch lifecycle at a task receiving big segments.
Adding
:onyx.messaging/term-buffer-size.segment 16777216
to the peer config (as suggested in the change logs) solved my issue.I would like to see a more concrete error message due to insufficient segment term buffer size.
The text was updated successfully, but these errors were encountered: