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

Remote backfill bug #30

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

jackuoll
Copy link

@jackuoll jackuoll commented Jun 23, 2023

This fixes a nasty bug where a player can be removed during the time where you are fetching the remote backfill ticket.

If the result is assigned to m_LocalBackfillTicket without checking if the data became dirty during the task, then your server will be in an invalid state until it shuts down.

Strangely, if the backfill ticket says that a particular userId is on the backfill ticket, that same userId will be placed in a different match should they queue again, instead of being placed on the same server again. This can lead to a user causing many or ALL servers to be allocated by their userId. This feels like a bug with the matchmaker itself as IMO a user who is already part of a backfill ticket should be assigned to the same match they're "already in", instead of allocating new servers for that player. Alternatively, the matchmaker should update the ticket to reflect the reality of the situation and let the individual server decide whether to kick the player out if they are truly currently in 2 matches.

@Oakfather
Copy link

Nice Catch! Posting to hopefully grab more attention and integrate this.

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