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

[pulsar-broker] add support of secondary bookie-isolation-group #4261

Merged
merged 4 commits into from
May 18, 2019

Conversation

rdhabalia
Copy link
Contributor

Motivation

While using bookie-isolation group in broker, sometimes, isolated bookies became unavailable due to bookie goes down and that causes write failure on that broker. So, we need secondary bookie-isolation policy where broker can fallback to secondary bookies if primary groups don't have enough bookies available.

@rdhabalia rdhabalia added this to the 2.4.0 milestone May 10, 2019
@rdhabalia rdhabalia self-assigned this May 10, 2019
@@ -353,4 +353,53 @@ public void testOverlappedBookies() throws Exception {

localZkc.delete(ZkBookieRackAffinityMapping.BOOKIE_INFO_ROOT_PATH, -1);
}

@Test
public void testSecondaryIsolationGroupsBookies() throws Exception {
Copy link
Member

Choose a reason for hiding this comment

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

This test looks great. How about also adding a negative test, that test without secondaryIsolatedBookieGroup configured newEnsemble will fail for no enough bookie?

@rdhabalia
Copy link
Contributor Author

@jiazhai added -ve test.

@rdhabalia
Copy link
Contributor Author

rerun integration tests
rerun java8 tests

@rdhabalia
Copy link
Contributor Author

rerun integration tests

1 similar comment
@rdhabalia
Copy link
Contributor Author

rerun integration tests

@rdhabalia
Copy link
Contributor Author

@jiazhai @merlimat

Copy link
Contributor

@merlimat merlimat left a comment

Choose a reason for hiding this comment

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

👍

@merlimat merlimat added the type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages label May 18, 2019
@merlimat merlimat merged commit 91d4495 into apache:master May 18, 2019
sijie pushed a commit that referenced this pull request Jan 18, 2020
### Motivation
Some parameters are added in the `broker.conf` and `standalone.conf` files. However, those parameters are not updated in the docs.
See the following PRs for details: #4150, #4066, #4197, #3819, #4261, #4273, #4320.

### Modifications
Add those parameter info, and sync docs with the code.

Does not update the description quite much, there are two reasons for this:
1. Keep doc content consistent with code. We need to update the description for those parameters in the code first, and then sync them in docs.
2. Will adopt a generator to generate those content automatically in the near future.
huangdx0726 pushed a commit to huangdx0726/pulsar that referenced this pull request Aug 24, 2020
### Motivation
Some parameters are added in the `broker.conf` and `standalone.conf` files. However, those parameters are not updated in the docs.
See the following PRs for details: apache#4150, apache#4066, apache#4197, apache#3819, apache#4261, apache#4273, apache#4320.

### Modifications
Add those parameter info, and sync docs with the code.

Does not update the description quite much, there are two reasons for this:
1. Keep doc content consistent with code. We need to update the description for those parameters in the code first, and then sync them in docs.
2. Will adopt a generator to generate those content automatically in the near future.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants