Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-16870

Add the metrics of replication sources which were transformed from other dead rs to ReplicationLoad

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.4.0, 1.2.3, 1.1.7, 2.0.0
    • 1.4.0, 1.2.4, 0.98.24, 1.1.8, 2.0.0
    • Replication
    • None
    • Reviewed

    Description

        private void buildReplicationLoad() {
          // get source
          List<ReplicationSourceInterface> sources = this.replicationManager.getSources();
          List<MetricsSource> sourceMetricsList = new ArrayList<MetricsSource>();
      
          for (ReplicationSourceInterface source : sources) {
            if (source instanceof ReplicationSource) {
              sourceMetricsList.add(((ReplicationSource) source).getSourceMetrics());
            }
          }
      
          // get sink
          MetricsSink sinkMetrics = this.replicationSink.getSinkMetrics();
          this.replicationLoad.buildReplicationLoad(sourceMetricsList, sinkMetrics);
        }
      

      The buildReplicationLoad method in o.a.h.h.r.r.Replication didn't consider the replication source which were transformed from other died rs.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            zghao Guanghao Zhang Assign to me
            zghao Guanghao Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment