Skip to content

Move common placementpolicy components to TopologyAwareEnsemblePlacementPolicy.#2089

Merged
reddycharan merged 1 commit intoapache:masterfrom
reddycharan:3azplacement
May 10, 2019
Merged

Move common placementpolicy components to TopologyAwareEnsemblePlacementPolicy.#2089
reddycharan merged 1 commit intoapache:masterfrom
reddycharan:3azplacement

Conversation

@reddycharan
Copy link
Contributor

Descriptions of the changes in this PR:

  • Moving components/methods which are common in nature with respect to
    placementpolicy from RackawareEnsemblePlacementPolicyImpl to
    TopologyAwareEnsemblePlacementPolicy, so that any new placementpolicy
    implementation can extend TopologyAwareEnsemblePlacementPolicy and reuse
    those common components/generic.
  • This change has no functionality change, it is just reorganizing code.

…entPolicy.

- Moving components/methods which are common in nature with respect to
placementpolicy from RackawareEnsemblePlacementPolicyImpl to
TopologyAwareEnsemblePlacementPolicy, so that any new placementpolicy
implementation can extend TopologyAwareEnsemblePlacementPolicy and reuse
those common components/generic.
- This change has no functionality change, it is just reorganizing code.
@reddycharan reddycharan requested review from eolivelli, jvrao and sijie May 9, 2019 01:04
@reddycharan
Copy link
Contributor Author

run integration tests

Copy link
Contributor

@eolivelli eolivelli left a comment

Choose a reason for hiding this comment

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

Assuming it is only a refactor aa you stated on the description
+1

@reddycharan
Copy link
Contributor Author

@eolivelli Thanks for the quick response, yes it is just refactoring, no change in the code/logic.

@reddycharan reddycharan added this to the 4.10.0 milestone May 10, 2019
@reddycharan reddycharan self-assigned this May 10, 2019
@reddycharan reddycharan merged commit b4ca453 into apache:master May 10, 2019
reddycharan added a commit to reddycharan/bookkeeper that referenced this pull request May 11, 2019
…entPolicy.

- Moving components/methods which are common in nature with respect to
placementpolicy from RackawareEnsemblePlacementPolicyImpl to
TopologyAwareEnsemblePlacementPolicy, so that any new placementpolicy
implementation can extend TopologyAwareEnsemblePlacementPolicy and reuse
those common components/generic.
- Change signature of methods of RackChangeNotifier interface.
- Delete duplicate methods in RackawareEnsemblePlacementPolicyImpl and
TopologyAwareEnsemblePlacementPolicy (missed removing them in apache#2089)
- Created separate class for BookieNode
- This change has no functionality change, it is just reorganizing code.
reddycharan added a commit to reddycharan/bookkeeper that referenced this pull request May 11, 2019
…entPolicy.

- Moving components/methods which are common in nature with respect to
placementpolicy from RackawareEnsemblePlacementPolicyImpl to
TopologyAwareEnsemblePlacementPolicy, so that any new placementpolicy
implementation can extend TopologyAwareEnsemblePlacementPolicy and reuse
those common components/generic.
- Change signature of methods of RackChangeNotifier interface.
- Delete duplicate methods in RackawareEnsemblePlacementPolicyImpl and
TopologyAwareEnsemblePlacementPolicy (missed removing them in apache#2089)
- Created separate class for BookieNode
- This change has no functionality change, it is just reorganizing code.
reddycharan added a commit that referenced this pull request May 13, 2019
…entPolicy.


Descriptions of the changes in this PR:

- Moving components/methods which are common in nature with respect to
placementpolicy from RackawareEnsemblePlacementPolicyImpl to
TopologyAwareEnsemblePlacementPolicy, so that any new placementpolicy
implementation can extend TopologyAwareEnsemblePlacementPolicy and reuse
those common components/generic.
- Change signature of methods of RackChangeNotifier interface.
- Delete duplicate methods in RackawareEnsemblePlacementPolicyImpl and
TopologyAwareEnsemblePlacementPolicy (missed removing them in #2089)
- Created separate class for BookieNode
- This change has no functionality change, it is just reorganizing code.


Reviewers: Sijie Guo <sijie@apache.org>, Venkateswararao Jujjuri (JV) <None>

This closes #2092 from reddycharan/placementpolicyrefactoring
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.

3 participants