Merge lp:~allenap/maas/rpc-rapid-connections into lp:maas/trunk
Status: | Merged |
---|---|
Approved by: | Gavin Panella on 2014-05-09 |
Approved revision: | 2311 |
Merged at revision: | 2309 |
Proposed branch: | lp:~allenap/maas/rpc-rapid-connections |
Merge into: | lp:maas/trunk |
Diff against target: |
189 lines (+89/-46) 2 files modified
src/provisioningserver/rpc/clusterservice.py (+42/-12) src/provisioningserver/rpc/tests/test_clusterservice.py (+47/-34) |
To merge this branch: | bzr merge lp:~allenap/maas/rpc-rapid-connections |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Raphaël Badin (community) | 2014-05-09 | Approve on 2014-05-09 | |
Review via email:
|
Commit message
Shorten the time taken for a cluster to initially connect to the region via RPC to around 2 seconds.
Previously it could take between 30 and 90 seconds.
Description of the change
Changes the RPC client service on the cluster to more rapidly connect to the region.
MAAS Lander (maas-lander) wrote : | # |
The attempt to merge lp:~allenap/maas/rpc-rapid-connections into lp:maas failed. Below is the output from the failed tests.
Ign http://
Get:1 http://
Get:2 http://
Ign http://
Ign http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Hit http://
Get:12 http://
Ign http://
Ign http://
Get:13 http://
Get:14 http://
Get:15 http://
Hit http://
Hit http://
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Hit http://
Hit http://
Ign http://
Ign http://
Ign http://
Ign http://
Fetched 15.1 MB in 7s (2,046 kB/s)
Reading package lists...
sudo DEBIAN_
--
Julian Edwards (julian-edwards) wrote : | # |
On 10/05/14 04:54, <email address hidden> wrote:
> The proposal to merge lp:~allenap/maas/rpc-rapid-connections into lp:maas has been updated.
>
> Status: Approved => Merged
>
> For more details, see:
> https:/
>
I think this is worthy of a backport to the 1.5 branch.
Looks good. Nice job documenting all the different code paths.