Skip to content

Instantly share code, notes, and snippets.

@aLekSer
Last active October 22, 2020 19:38
Show Gist options
  • Save aLekSer/655c43bd622199c4752bd77a6b1180d6 to your computer and use it in GitHub Desktop.
Save aLekSer/655c43bd622199c4752bd77a6b1180d6 to your computer and use it in GitHub Desktop.
Backfill flow diagram.mmd
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@aLekSer
Copy link
Author

aLekSer commented Oct 19, 2020

Made a new diagram (rev 7), updating current gist.
The idea here is that Director always would perform assignments.
It can skip the backfill ticket for some reason, so it can have more options how to treat unassigned_tickets. He can use some of them for instance, and UpdateBFTicket with the rest, so later on for example on delete all UnassignedTickets could be returned to the pool of tickets. This way we don't have the only one implementation contained inside OM Core.
Updated Diagram with Director only assignments

@aLekSer
Copy link
Author

aLekSer commented Oct 22, 2020

An idea is to add one more bool field to the Match - allocate_gameserver, it should be set to false every time but only in the first match output to the director the Match would contain allocate_gameserver = true.
Backfill Match allocate_gameserver field

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment