Skip to content

Deduplicate wildcard queries on multiple registers and partitions - #210

Merged
DZakh merged 2 commits into
mainfrom
jp/fix-duplicate-wildcard-query
Sep 17, 2024
Merged

Deduplicate wildcard queries on multiple registers and partitions#210
DZakh merged 2 commits into
mainfrom
jp/fix-duplicate-wildcard-query

Conversation

@JonoPrest

@JonoPrest JonoPrest commented Sep 17, 2024

Copy link
Copy Markdown
Collaborator

Close #205

Currently for multiple partitions and dynamic contract registers, wild card queries are always applied. This results in duplicate queries being run and double processing of events.

The solution is to always only apply wildcard queries on the first partition and on Root queries.

@JonoPrest
JonoPrest requested a review from DZakh September 17, 2024 14:13
@DZakh
DZakh merged commit c46f91a into main Sep 17, 2024
@DZakh
DZakh deleted the jp/fix-duplicate-wildcard-query branch September 17, 2024 14:24
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.

Duplicate key value violates unique constraint "entity_history_pkey"

2 participants