Zane Bitter c9792b96d2 Create replacement resource atomically
Use a single transaction to create the replacement resource and set it as
the replaced_by link in the old resource. Also, ensure that no other
traversal has taken a lock on the old resource before we modify it.

If we end up bailing out and not creating a replacement or sending an RPC
message to check it, make sure we retrigger any new traversal.

Change-Id: I23db4f06a4060f3d26a78f7b26700de426f355e3
Closes-Bug: #1727128
2017-11-03 09:14:46 +05:30
..
2015-08-26 12:11:27 +03:00
2017-03-25 17:11:50 +08:00
2016-01-22 21:53:43 +00:00
2016-12-13 09:40:29 +01:00
2017-03-25 17:11:50 +08:00
2016-12-13 09:40:29 +01:00
2016-12-13 09:40:29 +01:00
2016-12-13 09:40:29 +01:00
2016-12-13 09:40:29 +01:00
2016-12-13 09:40:29 +01:00
2016-12-13 09:40:29 +01:00
2016-12-13 09:40:29 +01:00
2016-12-13 09:40:29 +01:00
2016-12-13 09:40:29 +01:00
2016-12-13 09:40:29 +01:00
2016-12-13 09:40:29 +01:00
2016-12-13 09:40:29 +01:00