Skip to content

fix(hybridcloud) Drain outbox after transaction completes #51059

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

Merged
merged 1 commit into from
Jun 15, 2023
Merged

Conversation

markstory
Copy link
Member

We shouldn't drain outbox messages for memberships until after the member has committed, as we'll not be able to find the member.

Fixes SENTRY-12D2

We should't drain outbox messages for memberships until after the member
has committed, as we'll not be able to find the member.

Fixes SENTRY-12D2
@markstory markstory requested a review from a team as a code owner June 15, 2023 18:23
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jun 15, 2023
Copy link
Contributor

@corps corps left a comment

Choose a reason for hiding this comment

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

Incidentally, I have a broaderfix coming that makes outbox management "correct by default" using a similar pattern (but baked into outboxes).

@codecov
Copy link

codecov bot commented Jun 15, 2023

Codecov Report

Merging #51059 (1aa3636) into master (d9f5e5f) will increase coverage by 0.71%.
The diff coverage is 50.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #51059      +/-   ##
==========================================
+ Coverage   80.50%   81.22%   +0.71%     
==========================================
  Files        4885     4885              
  Lines      204887   204888       +1     
  Branches    11123    11123              
==========================================
+ Hits       164942   166414    +1472     
+ Misses      39699    38228    -1471     
  Partials      246      246              
Impacted Files Coverage Δ
...es/hybrid_cloud/organizationmember_mapping/impl.py 88.88% <0.00%> (-2.54%) ⬇️
.../sentry/services/hybrid_cloud/organization/impl.py 87.87% <100.00%> (ø)

... and 65 files with indirect coverage changes

@markstory markstory merged commit 7ab7cd9 into master Jun 15, 2023
@markstory markstory deleted the fix-12D2 branch June 15, 2023 21:03
@github-actions github-actions bot locked and limited conversation to collaborators Jul 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants