forked from facebook/openr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(5/N): Add soft-drain file flag path and increment value to OpenrConf…
…ig.thrift Summary: As we have discovered, Open/R should support drainer set flag for SOFT_DRAIN operation. This is the change to let Open/R's LinkMonitor apply soft-drain node metric override. Highlights: - Introduce `softdrained_flag_path` and the default `softdrained_node_increment` value inside OpenrConfig.thrift; - Add the logic for `LinkMonitor` to understand and interpret the SOFT_DRAIN file flag potentially set by drainer; - Add the logic to determine `isSoftdrained` in the config. This is the drainer set part; Reviewed By: TangoRoxy Differential Revision: D39003885 fbshipit-source-id: 5ebe83f4be2d98bd1c793f6e85a4f5ac914debc0
- Loading branch information
1 parent
1ecd419
commit 5c97327
Showing
5 changed files
with
148 additions
and
35 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