Skip to content

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

Merged
markmandel merged 1 commit into
agones-dev:masterfrom
ilkercelikyilmaz:Remove_Allocation_Mutex_From_Delete_GS
Feb 7, 2019
Merged

markmandel merged 1 commit into
agones-dev:masterfrom
ilkercelikyilmaz:Remove_Allocation_Mutex_From_Delete_GS

Conversation

@ilkercelikyilmaz

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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

Comment thread pkg/gameserversets/controller.go
@agones-bot

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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

@markmandel markmandel left a comment

Copy link
Copy Markdown
Member

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 agones-dev: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