Merge lp:~thumper/juju-core/juju-run-just-lock into lp:~go-bot/juju-core/trunk
Status: | Merged |
---|---|
Approved by: | Tim Penhey |
Approved revision: | no longer in the source branch. |
Merged at revision: | 2205 |
Proposed branch: | lp:~thumper/juju-core/juju-run-just-lock |
Merge into: | lp:~go-bot/juju-core/trunk |
Prerequisite: | lp:~thumper/juju-core/run-cmd-refactor |
Diff against target: |
477 lines (+181/-66) 8 files modified
cmd/jujud/run.go (+63/-21) cmd/jujud/run_test.go (+78/-9) state/apiserver/client/run.go (+5/-2) state/apiserver/client/run_test.go (+3/-3) utils/fslock/export_test.go (+0/-15) utils/fslock/fslock.go (+7/-5) utils/fslock/fslock_test.go (+1/-11) utils/fslock/package_test.go (+24/-0) |
To merge this branch: | bzr merge lp:~thumper/juju-core/juju-run-just-lock |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju Engineering | Pending | ||
Review via email: mp+201702@code.launchpad.net |
Commit message
juju run should always use hook execution lock
When juju run executes remotely, for services and
units it was grabbing the file system lock for the
hook execution to make sure things are serialized
appropriately.
This branch makes sure that the machine executions
also use the file system lock to make sure the
commands are serialized.
Description of the change
juju run should always use hook execution lock
When juju run executes remotely, for services and
units it was grabbing the file system lock for the
hook execution to make sure things are serialized
appropriately.
This branch makes sure that the machine executions
also use the file system lock to make sure the
commands are serialized.
Reviewers: mp+201702_ code.launchpad. net,
Message:
Please take a look.
Description:
juju run should always use hook execution lock
When juju run executes remotely, for services and
units it was grabbing the file system lock for the
hook execution to make sure things are serialized
appropriately.
This branch makes sure that the machine executions
also use the file system lock to make sure the
commands are serialized.
https:/ /code.launchpad .net/~thumper/ juju-core/ juju-run- just-lock/ +merge/ 201702
Requires: /code.launchpad .net/~thumper/ juju-core/ run-cmd- refactor/ +merge/ 201680
https:/
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/52470044/
Affected files (+183, -66 lines): run_test. go /client/ run.go /client/ run_test. go export_ test.go fslock. go fslock_ test.go package_ test.go
A [revision details]
M cmd/jujud/run.go
M cmd/jujud/
M state/apiserver
M state/apiserver
D utils/fslock/
M utils/fslock/
M utils/fslock/
A utils/fslock/