Skip to content

Conversation

@turip
Copy link
Member

@turip turip commented Mar 3, 2025

Overview

Gathering invoice handling (pending line creation) needs a lock to prevent parallel executions of the gathering invoice creation.

Previously, we were using the billing_customeroverride table for this; however, that results in many empty rows there, making it hard to understand the user intent behind the row.

This patch modifies this behavior by creating a dedicated lock table that we can use for gathering invoice coordination if needed.

Gathering invoice handling needs a lock to prevent parallel executions
of the gathering invoice creation.

Previously we were using the billing_customeroverride table for this
however that results in a lot of empty rows there, which makes it hard
to understand the user intent behind the row.

This patch modifies this behavior by creating a dedicated lock table that
we can use for gathering invoice coordination if needed.
@turip turip marked this pull request as ready for review March 3, 2025 14:19
@turip turip requested a review from a team as a code owner March 3, 2025 14:19
@turip turip added release-note/misc Miscellaneous changes area/billing release-note/bug-fix Release note: Bug Fixes labels Mar 3, 2025
@turip turip requested a review from chrisgacsal March 3, 2025 14:37
@turip turip enabled auto-merge (squash) March 3, 2025 14:37
@turip turip merged commit 86c4238 into main Mar 3, 2025
26 of 27 checks passed
@turip turip deleted the chore/fix-customeroverride-overload branch March 3, 2025 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/billing release-note/bug-fix Release note: Bug Fixes release-note/misc Miscellaneous changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants