Skip to content

Redeploying same reaction does not reset the cursor #215

@amansinghoriginal

Description

@amansinghoriginal

Steps to reproduce

  1. Deploy Drasi Source a
  2. Deploy Drasi Query named b which subscribes to a
  3. Deploy Reaction c which subscribes to query b
  4. Let it run for a few minutes, so it catches up with all events
  5. Delete Reaction c
  6. Redeploy Reaction c (same name as before) with no other changes

Observed behavior

  • The reaction observes no control or change events.
  • This is because the cursor stored for the reaction in the pub-sub is not deleted.

Desired behavior

When the reaction is deleted, the cursor associated with the reaction should be cleaned up.

Workaround

Change the Reaction Name or Query Name.

Drasi Version

0.2.1

Operating system

No response

Additional context

No response

Would you like to support us?

  • Yes, I would like to support you

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions