ffa7695038
This deprecates get_locked_port_and_binding and removes its usage from ML2. This function was misleading because it uses with_lockmode('update') which does not actually block concurrent uses in galera multi-writer deployments. A lock violation in multi-writer will manifest as a deadlock at that end. The revision service plugin already provides us with protection from concurrent updates within a transaction via a compare and swap on the revision number that will manifest as a staledataerror in races. This error can then be retried by the retry decorator in the same way a deadlock on multi-writer would. This also will help us avoid trying to carry this db locking into oslo versioned objects. Partially-Implements: blueprint adopt-oslo-versioned-objects-for-db Change-Id: Id9f14db607cc5c6ca02293cb7e87bc1e68301808 |
||
---|---|---|
api-ref | ||
bin | ||
devstack | ||
doc | ||
etc | ||
neutron | ||
rally-jobs | ||
releasenotes | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.pylintrc | ||
.testr.conf | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
README.rst | ||
TESTING.rst | ||
babel.cfg | ||
bindep.txt | ||
requirements.txt | ||
run_tests.sh | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
Team and repository tags
Welcome!
To learn more about neutron:
- Documentation: http://docs.openstack.org
- Features: http://specs.openstack.org/openstack/neutron-specs
- Defects: http://launchpad.net/neutron
Get in touch via email. Use [Neutron] in your subject.
To learn how to contribute:
CONTRIBUTING.rst