Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1571)

Issue 23800044: Remove a race condition from sandbox deployment

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 6 months ago by gary.poster
Modified:
10 years, 6 months ago
Reviewers:
bac, mp+194581
Visibility:
Public.

Description

Remove a race condition from sandbox deployment Deploying to the sandbox will sometimes mis-position services, especially when you have a large bundle. I believe the cause is the race condition that this branch fixes. I also simplified some code that I thought was confusing. To QA, try deploying some big bundles. At the very least, it shouldn't be worse than it was before. If we're lucky, you'll see that the position is always right for the deployed bundles in the sandbox. https://code.launchpad.net/~gary/juju-gui/fixSandboxDeployRace/+merge/194581 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Remove a race condition from sandbox deployment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -29 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M app/store/env/fakebackend.js View 4 chunks +21 lines, -29 lines 0 comments Download
M test/test_fakebackend.js View 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 3
gary.poster
Please take a look.
10 years, 6 months ago (2013-11-08 19:58:47 UTC) #1
bac
LGTM + QA-OK
10 years, 6 months ago (2013-11-08 20:13:20 UTC) #2
gary.poster
10 years, 6 months ago (2013-11-08 20:20:44 UTC) #3
*** Submitted:

Remove a race condition from sandbox deployment

Deploying to the sandbox will sometimes mis-position services, especially when
you have a large bundle. I believe the cause is the race condition that this
branch fixes.

I also simplified some code that I thought was confusing.

To QA, try deploying some big bundles.  At the very least, it shouldn't be worse
than it was before.  If we're lucky, you'll see that the position is always
right for the deployed bundles in the sandbox.

R=bac
CC=
https://codereview.appspot.com/23800044
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b