Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix GetBookieInfo failed event stats #3622

Merged

Conversation

wenbingshen
Copy link
Member

Motivation

In GetBookieInfoProcessorV3, even if throw IOException and get DiskSpace failed, it will still registerSuccessfulEvent, which is wrong, we should registerFailedEvent.

Changes

  1. registerFailedEvent when get DiskSpace failed.
  2. add unit test.

@hangc0276 hangc0276 merged commit 74e9ef4 into apache:master Nov 9, 2022
@wenbingshen wenbingshen deleted the wenbing/fix_getBookieInfoFailedStats branch November 9, 2022 05:32
hangc0276 pushed a commit that referenced this pull request Nov 14, 2022
In `GetBookieInfoProcessorV3`, even if throw `IOException` and get DiskSpace failed, it will still `registerSuccessfulEvent`, which is wrong, we should `registerFailedEvent`.

1. registerFailedEvent when get DiskSpace failed.
2. add unit test.

(cherry picked from commit 74e9ef4)
nicoloboschi pushed a commit to datastax/bookkeeper that referenced this pull request Jan 11, 2023
In `GetBookieInfoProcessorV3`, even if throw `IOException` and get DiskSpace failed, it will still `registerSuccessfulEvent`, which is wrong, we should `registerFailedEvent`.

1. registerFailedEvent when get DiskSpace failed.
2. add unit test.

(cherry picked from commit 74e9ef4)
(cherry picked from commit 31f548c)
yaalsn pushed a commit to yaalsn/bookkeeper that referenced this pull request Jan 30, 2023
### Motivation

In `GetBookieInfoProcessorV3`, even if throw `IOException` and get DiskSpace failed, it will still `registerSuccessfulEvent`, which is wrong, we should `registerFailedEvent`.

### Changes

1. registerFailedEvent when get DiskSpace failed.
2. add unit test.
zymap pushed a commit that referenced this pull request Feb 16, 2023
### Motivation

In `GetBookieInfoProcessorV3`, even if throw `IOException` and get DiskSpace failed, it will still `registerSuccessfulEvent`, which is wrong, we should `registerFailedEvent`.

### Changes

1. registerFailedEvent when get DiskSpace failed.
2. add unit test.

(cherry picked from commit 74e9ef4)
Ghatage pushed a commit to sijie/bookkeeper that referenced this pull request Jul 12, 2024
### Motivation

In `GetBookieInfoProcessorV3`, even if throw `IOException` and get DiskSpace failed, it will still `registerSuccessfulEvent`, which is wrong, we should `registerFailedEvent`.

### Changes

1. registerFailedEvent when get DiskSpace failed.
2. add unit test.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants