Skip to content

[CELEBORN-1557] Fix totalSpace of DiskInfo for Master in HA mode#2690

Closed
SteNicholas wants to merge 2 commits intoapache:mainfrom
SteNicholas:CELEBORN-1557
Closed

[CELEBORN-1557] Fix totalSpace of DiskInfo for Master in HA mode#2690
SteNicholas wants to merge 2 commits intoapache:mainfrom
SteNicholas:CELEBORN-1557

Conversation

@SteNicholas
Copy link
Member

What changes were proposed in this pull request?

Fix totalSpace of DiskInfo for Master in HA mode.

Why are the changes needed?

The totalSpace of DiskInfo does not sync for Master in HA mode, which causes that the totalSpace is incorrect.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

RatisMasterStatusSystemSuiteJ#testHandleRegisterWorker

Copy link
Contributor

@RexXiong RexXiong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@FMX FMX left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Merged into main(v0.6.0) , branch-0.5(v0.5.2).

@FMX FMX closed this in b330b55 Aug 19, 2024
FMX pushed a commit that referenced this pull request Aug 19, 2024
### What changes were proposed in this pull request?

Fix `totalSpace` of `DiskInfo` for Master in HA mode.

### Why are the changes needed?

The `totalSpace` of `DiskInfo` does not sync for Master in HA mode, which causes that the `totalSpace` is incorrect.

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

`RatisMasterStatusSystemSuiteJ#testHandleRegisterWorker`

Closes #2690 from SteNicholas/CELEBORN-1557.

Authored-by: SteNicholas <programgeek@163.com>
Signed-off-by: mingji <fengmingxiao.fmx@alibaba-inc.com>
(cherry picked from commit b330b55)
Signed-off-by: mingji <fengmingxiao.fmx@alibaba-inc.com>
wankunde pushed a commit to wankunde/celeborn that referenced this pull request Oct 11, 2024
### What changes were proposed in this pull request?

Fix `totalSpace` of `DiskInfo` for Master in HA mode.

### Why are the changes needed?

The `totalSpace` of `DiskInfo` does not sync for Master in HA mode, which causes that the `totalSpace` is incorrect.

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

`RatisMasterStatusSystemSuiteJ#testHandleRegisterWorker`

Closes apache#2690 from SteNicholas/CELEBORN-1557.

Authored-by: SteNicholas <programgeek@163.com>
Signed-off-by: mingji <fengmingxiao.fmx@alibaba-inc.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants