Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Using revision_number to ensure no overlap in *one* network
This patch uses revision_number in database. When creating a subnet in a network, the revision_number of the network will be increased. That will prevent overlapping CIDR (overlapping CIDR means some subnets' cidrs are overlapping) on *one* network. Basically, in case of concurrent requests creating subnets on *one* network, only one request successes, other requests needs retrying request. Change-Id: Id6548535075bed87a4b36e1462db546ab9163f29 Closes-Bug: #1532695
- Loading branch information
Showing
2 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters