Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Transiently FMG label can be assigned to multiple tree, because of control node restarts or flaps. In this case say tree-1 is using label A and it was supposed to be withdrawn or staled. Re-use of label happens at CN and is assigned to tree-2. XMPP messages for withdrawal of label A from tree-1 and adding to tree-2 can go in any order. So add for tree-2 is seen before withdrawal in problematic case. This results in label A removed even though tree-2 is active user. Solution: Maintain a list of users for label. Label remains intact till list is not empty. In above case tree-2 will be present in list even after tree-1 is withdrawn and label remains intact. Change-Id: Ia2bb22d0c958355a5c2295709fd5eb90c1a79a65 CLoses-bug: #1724114
- Loading branch information
1 parent
f85f076
commit 6f8d7b4
Showing
5 changed files
with
207 additions
and
9 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
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
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