-
Notifications
You must be signed in to change notification settings - Fork 304
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DAOS-13117 chk: properly set pool label in check report upcall (#11896)
The cpr->cpr_label is empty for orphan pool, that will confuse related MS logic when handle the check report upcall. So under such case, we should use PS pool label in the check report upcall. The patch also fixes another issue when handle broken pool without pool service quorum. For such case, it uses ds_chk_regpool_upcall() to notify MS to refresh related pool service replicas. But at that time, we do not know whether related pool label (between MS and PS) is consistent or not. Under such case, we should use MS pool label instead of PS label to avoid over-writting MS pool label by wrong. Signed-off-by: Fan Yong <[email protected]>
- Loading branch information
Showing
1 changed file
with
12 additions
and
14 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