Solr
  1. Solr
  2. SOLR-2099

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

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Trivial 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."

        Activity

        Hide
        Grant Ingersoll added a comment -

        Bulk close for 3.1.0 release

        Show
        Grant Ingersoll added a comment - Bulk close for 3.1.0 release
        Hide
        Koji Sekiguchi added a comment -

        trunk: Committed revision 992913.
        branch_3x: Committed revision 992915.

        Show
        Koji Sekiguchi added a comment - trunk: Committed revision 992913. branch_3x: Committed revision 992915.
        Hide
        Koji Sekiguchi added a comment -

        Thanks, Brandon! I'll commit in a few days if no one objects.

        Show
        Koji Sekiguchi added a comment - Thanks, Brandon! I'll commit in a few days if no one objects.
        Hide
        Brandon Evans added a comment -

        This patch applies fine against solr 1.4 & 1.4.1

        By default it adds --bwlimit=0 to the rsyncd command line.

        Show
        Brandon Evans added a comment - This patch applies fine against solr 1.4 & 1.4.1 By default it adds --bwlimit=0 to the rsyncd command line.

          People

          • Assignee:
            Koji Sekiguchi
            Reporter:
            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

                Development