Skip to content

Conversation

salaboy
Copy link
Collaborator

@salaboy salaboy commented Aug 20, 2025

Issue describing the changes in this PR

The TaskOrchestrationExecutor was comparing two timestamps, expecting one to be in the future, in such case it created another timer task. The problem arise when both timestamps are the same and the comparison returns 0. Instead of returning without creating a new timer, it was creating a new timer, causing multiple timers that were not needed.

resolves #1511

Pull request checklist

  • My changes do not require documentation changes
    • Otherwise: Documentation issue linked to PR
  • My changes are added to the CHANGELOG.md
  • I have added all required tests (Unit tests, E2E tests)

Additional information

@salaboy
Copy link
Collaborator Author

salaboy commented Aug 22, 2025

@dapr/approvers-java-sdk and @dapr/maintainers-java-sdk please review and merge, as we will need a new release with this patch.

@salaboy
Copy link
Collaborator Author

salaboy commented Aug 22, 2025

@javier-aliaga this fix also allowed me to add back the @disabled test for longTimers().

@salaboy salaboy merged commit e6518a1 into dapr:main Aug 26, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants