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

Backport "HBASE-24914 Remove duplicate code appearing continuously in method ReplicationPeerManager.updatePeerConfig" to branch-2

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.5.0, 2.4.14
    • 2.5.5
    • Replication
    • None

    Description

      Branch-2/ Branch-2.4/Branch-2.5 also have duplicate code in ReplicationPeerManager#updatePeerConfig

      newPeerConfigBuilder.putAllConfiguration(oldPeerConfig.getConfiguration());
      newPeerConfigBuilder.putAllConfiguration(peerConfig.getConfiguration());
      newPeerConfigBuilder.putAllConfiguration(oldPeerConfig.getConfiguration());
      newPeerConfigBuilder.putAllConfiguration(peerConfig.getConfiguration());

      Attachments

        Issue Links

          Activity

            People

              Li Zhexi Li Zhexi
              Li Zhexi Li Zhexi
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: