hyperswitch
hyperswitch copied to clipboard
fix(core): add fix for stopping multiple event locking idempotent logs
Type of Change
- [x] Bugfix
- [ ] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD
Description
Adds fix for stopping multiple event locking idempotent logs Fix on top of previous PR - https://github.com/juspay/hyperswitch/pull/7579 What got missed in the previous PR?
- We should be searching by merchant ID and idempotent event ID instead of searching by merchant ID and event ID outgoing.rs
Since Event ID would be randomly generated each time, but idempotent event ID remains the same when inserting the event for the first time. cc: @SanchithHegde
Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variables
Motivation and Context
How did you test it?
Checklist
- [X] I formatted the code
cargo +nightly fmt --all - [X] I addressed lints thrown by
cargo clippy - [X] I reviewed the submitted code
- [ ] I added unit tests for my changes where possible
Changed Files
| File | Status |
|---|---|