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

Remove the mutex usage for Delete GS in both GS and GSS controllers #572

Conversation

ilkercelikyilmaz
Copy link
Contributor

AllocationMutex usage is unnecessary for Delete GS since the Shutdown state of GS prevents race conditions. Also remove direct Delete of GS and change it with setting the status of GS to Shutdown and let the GS controller to take care of it.

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: b3f0b98b-5ccc-48cf-a5d2-38d57a466aac

The following development artifacts have been built, and will exist for the next 30 days:

A preview of the website (the last 30 builds are retained):

To install this version:

  • git fetch https://github.com/GoogleCloudPlatform/agones.git pull/572/head:pr_572 && git checkout pr_572
  • helm install install/helm/agones --namespace agones-system --name agones --set agones.image.tag=0.8.0-fd0b5bf

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: f39896b7-16b7-4d0c-91fd-21f961c60f53

The following development artifacts have been built, and will exist for the next 30 days:

A preview of the website (the last 30 builds are retained):

To install this version:

  • git fetch https://github.com/GoogleCloudPlatform/agones.git pull/572/head:pr_572 && git checkout pr_572
  • helm install install/helm/agones --namespace agones-system --name agones --set agones.image.tag=0.8.0-26d8211

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 30d564ee-2ef5-4d05-a61d-9ba0ebe67402

The following development artifacts have been built, and will exist for the next 30 days:

A preview of the website (the last 30 builds are retained):

To install this version:

  • git fetch https://github.com/GoogleCloudPlatform/agones.git pull/572/head:pr_572 && git checkout pr_572
  • helm install install/helm/agones --namespace agones-system --name agones --set agones.image.tag=0.8.0-5daf2b6

@jkowalski
Copy link
Contributor

We need to squash all commits into one, but otherwise LGTM.

@ilkercelikyilmaz ilkercelikyilmaz force-pushed the Remove_Allocation_Mutex_From_Delete_GS branch from 5daf2b6 to 78412ad Compare February 7, 2019 23:29
@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 1d1ca6d4-1f9b-49cc-95ee-4a4e59092b4f

The following development artifacts have been built, and will exist for the next 30 days:

A preview of the website (the last 30 builds are retained):

To install this version:

  • git fetch https://github.com/GoogleCloudPlatform/agones.git pull/572/head:pr_572 && git checkout pr_572
  • helm install install/helm/agones --namespace agones-system --name agones --set agones.image.tag=0.8.0-78412ad

Copy link
Member

@markmandel markmandel left a comment

Choose a reason for hiding this comment

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

This LGTM as well! Nice work 🌵

@markmandel markmandel merged commit c556fab into googleforgames:master Feb 7, 2019
@markmandel markmandel added this to the 0.8.0 milestone Feb 12, 2019
@markmandel markmandel added the area/performance Anything to do with Agones being slow, or making it go faster. label Feb 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/performance Anything to do with Agones being slow, or making it go faster.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants