This repository has been archived by the owner on Dec 13, 2023. It is now read-only.
Data inconsistency caused by updateEventHandler
in RedisEventHandlerDAO.java
#3842
Labels
type: bug
bugs/ bug fixes
Describe the bug
One of my critical business flow in Conductor
<SQS_QUEUE_NAME> events --> event handlers --> workflow executions
is in paralysis because ofNullPointerException
ocurring in the Conductor server. This kind of exception is thrown when handling an SQS message on thequeue:<SQS_QUEUE_NAME>
queue. After some invetigation and experiments, I believe this issue is related to the absence of an event handler in the Redis, even though its primary key appears in the index of event handlers by event. This data inconsistency leads toNullPointerException
mentioned above.Full logs in Conductor server can be found here
RedisEventHandlerDAO.java:124
Details
RedisEventHandlerDAO.java
remains unchanged since 3.14.0)To Reproduce
Steps to reproduce the behavior:
"sqs:<SQS_QUEUE_NAME>"
."sqs:<ANOTHER_QUEUE_NAME>"
.<SQS_QUEUE_NAME>
SQS queue.NullPointerException
with logs as in code block above.Code that leads to this bug
Expected behavior
Conductor should handle the SQS message without any
NullPointerException
and maintain consistency in the event handlers.Screenshots
None
Additional context
<EVENT_HANDLER_NAME>
is missing but its index still exists, causing the inconsistency.The text was updated successfully, but these errors were encountered: