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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.4.1
    • 3.1, 4.0-ALPHA
    • replication (scripts)
    • None
    • 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

        1. solr-1.4.0-rsyncd_bwlimit.patch
          1 kB
          Brandon Evans

        Activity

          People

            koji Koji Sekiguchi
            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