Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-2099

Add ability to throttle rsync based replication using rsync option --bwlimit

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.4.1
    • Fix Version/s: 3.1, 4.0-ALPHA
    • Component/s: replication (scripts)
    • Labels:
      None
    • Environment:

      RHEL 5.x

      Description

      This patch allows for the use of the new option 'rsyncd_bwlimit' in scripts.conf.

      rsyncd_bwlimit adds --bwlimit=XX to the rsyncd command line. If the option is not specified bwlimit is set to 0 by default.

      " --bwlimit=KBPS
      This option allows you to specify a maximum transfer rate in kilobytes per second. This option is most effective when using rsync with large files (several
      megabytes and up). Due to the nature of rsync transfers, blocks of data are sent, then if rsync determines the transfer was too fast, it will wait before
      sending the next data block. The result is an average transfer rate equaling the specified limit. A value of zero specifies no limit."

        Attachments

          Activity

            People

            • Assignee:
              koji Koji Sekiguchi
              Reporter:
              bevans79 Brandon Evans
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified