Skip to content

Commit

Permalink
db_manage v1.2: Re-work route target cleaning
Browse files Browse the repository at this point in the history
Re-define the way the script recovers the route target inconsistencies.
The source of trust move from the schema transformer DB to the
zookeeper DB. If Config or Schema DBs contains a RT not locked in
zookeeper, it removes it. It does not heal missing RT in Config and
Schema DBs, it lets the schema transformer takes care of that when it'll
be re-initialized. It also cleans stale lock in zookeeper.

Change-Id: I2b61d446bc6baf4c384eea8504b2fa8999646518
Closes-Bug: #1764770
(cherry picked from commit 20fda49)
  • Loading branch information
Édouard Thuleau committed May 2, 2018
1 parent 2edf324 commit 3979f6e
Show file tree
Hide file tree
Showing 3 changed files with 250 additions and 223 deletions.
Loading

0 comments on commit 3979f6e

Please sign in to comment.