Created by Raphaël Badin on 2015-03-24 and last modified on 2015-03-27
Get this branch:
bzr branch lp:~rvb/maas/safeguard-migrations
Only Raphaël Badin can upload to this branch. If you are Raphaël Badin please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Raphaël Badin

Recent revisions

3701. By Raphaël Badin on 2015-03-27

Fix lint.

3700. By Raphaël Badin on 2015-03-27

Merge trunk.

3699. By Raphaël Badin on 2015-03-25

Fix lint.

3698. By Raphaël Badin on 2015-03-25

Fix test model.

3697. By Raphaël Badin on 2015-03-25

Review fixes.

3696. By Raphaël Badin on 2015-03-24

Add test to make sure the migrations and the models are in sync.

3695. By Raphaël Badin on 2015-03-23

[r=allenap,mpontillo][bug=][author=rvb] Regenerate migration 134: this migration has been generated without merging trunk first and thus it doesn't include some of the changes introduced by previous migrations.

3694. By Gavin Panella on 2015-03-23

[r=rvb][bug=][author=allenap] Allow disconnection of field changes for testing.

Allowing tests to temporarily disable field changes makes testing post-commit code easier, because it avoids adding more boilerplate to neuter indirectly created post-commit tasks that are not the subject of the test.

This change also highlighted a test isolation problem, where the model change callbacks registered in one test were still present in other tests. Fortunately the problem was only in the tests; the code under test was fine.

3693. By Andres Rodriguez on 2015-03-20

update 1.7.2. changelog

3692. By Gavin Panella on 2015-03-20

[r=rvb][bug=][author=allenap] Keep transactions short when querying node power state after a status change.

Previously the transaction would be held open for as long as 30 seconds or more, causing serialisation failures in other transactions. Equally, serialisation failures in the held transaction would cause the power state to be queried multiple times as the retry logic did its thing.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
This branch contains Public information 
Everyone can see this information.