Exception: CDC::Parallel::UnsafeProcessorError

Inherits:
Error
  • Object
show all
Defined in:
lib/cdc/parallel/errors.rb

Overview

Raised when a processor has not declared itself Ractor-safe.

Processors must opt in with ‘ractor_safe!` before they can be used by ProcessorPool, TransactionPool, or Runtime. This prevents accidental movement of mutable or otherwise unsafe processor objects across Ractor boundaries.