Batcher Operation Errors Indicate Specific Batch Type Failures
warningDifferent batch operation types (terminate, cancel, signal, delete, reset, update_options, unpause_activities) have distinct failure modes. Tracking operation-level errors helps identify whether failures are systemic or specific to certain operation types.
temporal_server_batcher_operation_errors increases, indicating failures in specific batch operation types. The BatchOperationTypeMemo field in workflow memos identifies which operation type is failing.
1. Check the BatchOperationTypeMemo field in failed batch workflow memos to identify the failing operation type (terminate, cancel, signal, delete, reset, update_options, unpause_activities). 2. For signal operations: verify SignalParams includes valid SignalName and Input data. 3. For terminate operations: verify TerminateParams configuration. 4. For cancel operations: check CancelParams settings. 5. For delete operations: verify DeleteParams and that workflows are in appropriate states for deletion. 6. For reset operations: validate ResetParams configuration. 7. For update_options operations: check UpdateOptionsParams validity. 8. For unpause_activities operations: verify UnpauseActivitiesParams. 9. Review the BatchReasonMemo field to understand the business context of failures. 10. Check if target workflows exist and are in states compatible with the requested operation.