HAHT - Fix datasource add/delete for out-of-sync situations
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
congress |
Fix Released
|
High
|
Eric K |
Bug Description
When Congress is deployed in multi-node config, in-memory state can differ from DB state. Several errors can occur because the code does not properly account for it.
Examples 1:
- Nodes 1 and 2 both have DS0
- Delete DS0 on node1 (change made to both node1 and DB)
- Add DS0 on node2
Change is rejected because DS0 is still in memory in node2. Proper behavior is to add DS0 back to DB.
Example 2:
- Add ds named 'dsname' on node1
- 'dsname' automatically added on node2
- Remove ds name 'dsname' on node1, immediately add a *different* ds also named 'dsname' on node1.
The next time sync is triggered on node2, it keeps the old ds named 'dsname'. Proper behavior should be to update to the new ds on node2. What we need to do is to base sync on UUID (maybe plus other info) rather than name in ds sync.
Please see spec and blueprint for more information.
https:/
https:/
summary: |
- Fix datasource add/delete for out-of-sync situations + HAHT - Fix datasource add/delete for out-of-sync situations |
Changed in congress: | |
assignee: | nobody → Eric K (ekcs) |
Fix proposed to branch: master /review. openstack. org/356157
Review: https:/