Skip to content

Ignore matches with deactivated tickets#22

Open
janpantel wants to merge 1 commit intogoogleforgames:mainfrom
janpantel:janpantel/drop-matches-with-deactivated-tickets
Open

Ignore matches with deactivated tickets#22
janpantel wants to merge 1 commit intogoogleforgames:mainfrom
janpantel:janpantel/drop-matches-with-deactivated-tickets

Conversation

@janpantel
Copy link

This adds an option to automatically drop matches made by a MMF in case tickets were deactivated while the MMF was working.

A real world use case for this would be when the user decides to stop queueing for a match while we are in the process making a match for them. Right now it forces developers to retain a certain amount of state in a non authoritative ticket producer. While this change doesn't fully resolve the race condition, it lowers the likelihood to a (probably) acceptable level.

I've covered the feature with a feature flag to not make it a breaking change.

@google-cla
Copy link

google-cla bot commented Jul 4, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@joeholley
Copy link
Collaborator

/gcbrun

@joeholley joeholley added the enhancement New feature or request label Jul 9, 2025
@joeholley joeholley self-assigned this Jul 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants