Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: dedup sql error when deleting many entries #3300

Merged
merged 2 commits into from
Sep 6, 2021

Conversation

sdbondi
Copy link
Member

@sdbondi sdbondi commented Sep 6, 2021

Description

Fixes ERROR Error when trimming message dedup cache:
ResultError(DatabaseError(__Unknown, "too many SQL variables"))

Motivation and Context

Bug fix when trimming many rows. Cleanup performance will also be better

How Has This Been Tested?

Existing test pass

Fixes ERROR Error when trimming message dedup cache:
ResultError(DatabaseError(__Unknown, "too many SQL variables"))
Copy link
Collaborator

@stringhandler stringhandler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

@aviator-app aviator-app bot merged commit 7e58845 into tari-project:development Sep 6, 2021
@sdbondi sdbondi deleted the dht-dedup-trim-fix branch September 6, 2021 14:31
Cifko pushed a commit to Cifko/tari that referenced this pull request Sep 10, 2021
Description
---
Fixes ERROR Error when trimming message dedup cache:
ResultError(DatabaseError(__Unknown, "too many SQL variables"))

Motivation and Context
---
Bug fix when trimming many rows. Cleanup performance will also be better

How Has This Been Tested?
---
Existing test pass
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.

None yet

2 participants