forked from vesoft-inc/nebula
-
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.
refactor br related code (vesoft-inc#400)
#### What type of PR is this? - [ ] bug - [ ] feature - [x] enhancement #### What does this PR do? The original br tools require password-free ssh to each machine which add extra work for users. This pr's main goal is to remove ssh dependency. To do this, we introduce an agent in each machine. Then br can handle machines' data through agent's service. Agent communicate with the meta service through heartbeat. By heartbeat, agent register itself to meta service and pull the services it should supervise in its host. The agent: vesoft-inc/nebula-agent#1 The br: vesoft-inc/nebula-br#22 This pr includes: 1. refactor br related code, including renaming and adjust code structure. 2. batch the snapshot rpc by spaces 3. add agent heartbeat 4. report data/root path in the storaged/graphd heartbeat #### Which issue(s)/PR(s) this PR relates to? The agent: vesoft-inc/nebula-agent#1 The br: vesoft-inc/nebula-br#22 #### Special notes for your reviewer, ex. impact of this fix, etc: #### Additional context: #### Checklist: - [ ] Documentation affected (Please add the label if documentation needs to be modified.) - [ ] Incompatible (If it is incompatible, please describe it and add corresponding label.) - [ ] Need to cherry-pick (If need to cherry-pick to some branches, please label the destination version(s).) - [ ] Performance impacted: Consumes more CPU/Memory #### Release notes: Please confirm whether to reflect in release notes and how to describe: > ` Migrated from vesoft-inc#3469 Co-authored-by: pengwei.song <[email protected]>
- Loading branch information
1 parent
99c4bb3
commit 4a58503
Showing
57 changed files
with
1,031 additions
and
660 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
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
Oops, something went wrong.