Skip to content

Improve handling of LinkageErrors during LMAX Disruptor initializatio…#4124

Open
ramanathan1504 wants to merge 1 commit intoapache:2.xfrom
ramanathan1504:fix-log-disruptor-initialization-errors
Open

Improve handling of LinkageErrors during LMAX Disruptor initializatio…#4124
ramanathan1504 wants to merge 1 commit intoapache:2.xfrom
ramanathan1504:fix-log-disruptor-initialization-errors

Conversation

@ramanathan1504
Copy link
Copy Markdown
Contributor

FIxes #2250

Reference URLs

What was done

  • Added defensive LinkageError handling in DisruptorUtil when creating async logger exception handlers.
  • Added a shared error log helper to emit a clear classpath/version mismatch message for Disruptor linkage problems.
  • Guarded sequenceCallback.set(sequence) with a null check in RingBufferLogEventHandler4 to prevent NPE when callback is not initialized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

Log disruptor initialization errors

1 participant