Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: ns_server, XDCR
    • Security Level: Public
    • Labels:
      None

      Description

      Enable rest apis for tunable parameters for XDCR. Given the importance of XDCR and these tunables, we need REST endpoints. Suggestion is to add to /internalsettings

      [

      {xdcr_max_concurrent_reps, 32}

      , % num of concurrent reps per bucket - Validate the user input to range min: 8 - max: 256 default: 32

      {xdcr_checkpoint_interval, 1800}

      , % in secs - - Validate the user input to range min: 60 - max: 14400 default: 1800

      {xdcr_worker_batch_size,500}

      , % num of mutations - Validate the user input to range min: 500 - max: 10000 - default 500

      {xdcr_doc_batch_size_kb, 2048}

      , % in kilobytes - Validate the user input to range min: 10 - max: 100000 - default 2048

      {xdcr_failure_restart_interval, 30}

      , % in secs - Validate the user input to range min: 1 - 300 default: 30

      Current workaround is using diag/eval as
      curl -X POST http://Administrator:asdasd@127.0.0.1:9000/diag/eval -d 'rpc:call(node(), ns_config, set, [xdcr_checkpoint_interval, 2000]).'

      No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

        Hide
        ketaki Ketaki Gangal added a comment -

        No longer valid - XDCR_CAPI_CHECKPOINT_TIMEOUT [default value is 10] -

        Show
        ketaki Ketaki Gangal added a comment - No longer valid - XDCR_CAPI_CHECKPOINT_TIMEOUT [default value is 10] -
        Hide
        junyi Junyi Xie (Inactive) added a comment -

        commit to remove retired timeout parameter

        http://review.couchbase.org/#/c/22659/

        Show
        junyi Junyi Xie (Inactive) added a comment - commit to remove retired timeout parameter http://review.couchbase.org/#/c/22659/
        Hide
        siri Sriram Melkote added a comment -

        commit to add above to internalSettings REST API (and the associated settings UI)

        http://review.couchbase.org/22684

        Show
        siri Sriram Melkote added a comment - commit to add above to internalSettings REST API (and the associated settings UI) http://review.couchbase.org/22684

          People

          • Assignee:
            siri Sriram Melkote
            Reporter:
            ketaki Ketaki Gangal
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes