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

[OTE-880] Emit log in case of collisions (backport #2500) #2504

Merged

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Oct 16, 2024

Changelist

Collisions are expected and in case of collisions - emit a log.
Otherwise emit error log

Test Plan

[Describe how this PR was tested (if applicable)]

Author/Reviewer Checklist

  • If this PR has changes that result in a different app state given the same prior state and transaction list, manually add the state-breaking label.
  • If the PR has breaking postgres changes to the indexer add the indexer-postgres-breaking label.
  • If this PR isn't state-breaking but has changes that modify behavior in PrepareProposal or ProcessProposal, manually add the label proposal-breaking.
  • If this PR is one of many that implement a specific feature, manually label them all feature:[feature-name].
  • If you wish to for mergify-bot to automatically create a PR to backport your change to a release branch, manually add the label backport/[branch-name].
  • Manually add any of the following labels: refactor, chore, bug.

Summary by CodeRabbit

  • Bug Fixes

    • Enhanced error handling in the username generation process by tracking unique constraint violations and incrementing collision statistics.
  • Chores

    • Updated import statements to include additional logging and statistics functionality for improved error management.

This is an automatic backport of pull request #2500 done by [Mergify](https://mergify.com).

@mergify mergify bot requested a review from a team as a code owner October 16, 2024 18:45
Copy link

linear bot commented Oct 16, 2024

@affanv14 affanv14 merged commit 5042763 into release/indexer/v7.x Oct 16, 2024
16 checks passed
@affanv14 affanv14 deleted the mergify/bp/release/indexer/v7.x/pr-2500 branch October 16, 2024 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

1 participant