You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2019/12/25 11:15:47 UTC
[GitHub] [incubator-doris] morningman opened a new pull request #2571: [Tag
system] Introduce ReplicaAllocation and Backend TagSet
morningman opened a new pull request #2571: [Tag system] Introduce ReplicaAllocation and Backend TagSet
URL: https://github.com/apache/incubator-doris/pull/2571
This CL introduces the `ReplicaAllocation` class.
`ReplicaAllocation` is used to identify the distribution information of the replica, and the
distribution information is represented by a set of tags.
`ReplicaAllocation` is stored in `PartitionInfo` and replaces the previous `idToReplicationNum`
object. This conversion operation is performed when the FE replays the metadata.
At the same time, the `Backend` object will inherit from the `Resource` abstract class and
start to have the `TagSet` attribute. The `TagSet` attribute is currently generated by the cluster
name of the Backend. This conversion operation is also performed when the FE replays the
metadata.
To maintain compatibility and minimize the impact on existing metadata. We currently retain all
cluster information. The new `ReplicaAllocation` and `TagSet` classes are only converted and
stored.
We will start using `ReplicaAllocation` and `TagSet` in the next commit.
I added a proc `"/ tags"` to show all tags and the corresponding resource ids.
I also added an http action `/metacheck?type=replica_allocation` to check if the
`ReplicaAllocation` and `TagSet` were converted correctly after the upgrade.
ISSUE #1723
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[GitHub] [incubator-doris] morningman commented on issue #2571: [Tag system]
Introduce ReplicaAllocation and Backend TagSet
Posted by GitBox <gi...@apache.org>.
morningman commented on issue #2571: [Tag system] Introduce ReplicaAllocation and Backend TagSet
URL: https://github.com/apache/incubator-doris/pull/2571#issuecomment-569034606
This PR is ready for reviewing.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[GitHub] [incubator-doris] morningman closed pull request #2571: [Tag system] Introduce ReplicaAllocation and Backend TagSet
Posted by GitBox <gi...@apache.org>.
morningman closed pull request #2571:
URL: https://github.com/apache/incubator-doris/pull/2571
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org