Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-3242

Make get view group info timeout in couch_indexer configurable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Some busy views will take longer than the default 5 seconds to return.

      https://github.com/cloudant/couchdb-couch-index/blob/master/src/couch_index.erl#L57-L58

        Issue Links

          Activity

          Hide
          githubbot ASF GitHub Bot added a comment -

          GitHub user nickva opened a pull request:

          https://github.com/apache/couchdb-couch-index/pull/20

          Configurable timeout for view group get_info/1

          A busy view group server might take longer than 5 seconds to respond, so make
          the timeout configurable. "infinity" is also a valid configuration value.

          Configuration section, key and default value (in milliseconds):

          `query_server_config.group_info_timeout = 5000`

          COUCHDB-3242

          You can merge this pull request into a Git repository by running:

          $ git pull https://github.com/cloudant/couchdb-couch-index couchdb-3242-index-group-info-timeout

          Alternatively you can review and apply these changes as the patch at:

          https://github.com/apache/couchdb-couch-index/pull/20.patch

          To close this pull request, make a commit to your master/trunk branch
          with (at least) the following in the commit message:

          This closes #20


          commit f0a6854e578469612937a766632fdcdc52ee9c65
          Author: Nick Vatamaniuc <vatamane@apache.org>
          Date: 2016-11-24T04:05:00Z

          Configurable timeout for view group get_info/1

          A busy view group server might take longer than 5 seconds to respond, so make
          the timeout configurable. "infinity" is also a valid configuration value.

          Configuration section, key and default value (in milliseconds):

          `query_server_config.group_info_timeout = 5000`

          COUCHDB-3242


          Show
          githubbot ASF GitHub Bot added a comment - GitHub user nickva opened a pull request: https://github.com/apache/couchdb-couch-index/pull/20 Configurable timeout for view group get_info/1 A busy view group server might take longer than 5 seconds to respond, so make the timeout configurable. "infinity" is also a valid configuration value. Configuration section, key and default value (in milliseconds): `query_server_config.group_info_timeout = 5000` COUCHDB-3242 You can merge this pull request into a Git repository by running: $ git pull https://github.com/cloudant/couchdb-couch-index couchdb-3242-index-group-info-timeout Alternatively you can review and apply these changes as the patch at: https://github.com/apache/couchdb-couch-index/pull/20.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #20 commit f0a6854e578469612937a766632fdcdc52ee9c65 Author: Nick Vatamaniuc <vatamane@apache.org> Date: 2016-11-24T04:05:00Z Configurable timeout for view group get_info/1 A busy view group server might take longer than 5 seconds to respond, so make the timeout configurable. "infinity" is also a valid configuration value. Configuration section, key and default value (in milliseconds): `query_server_config.group_info_timeout = 5000` COUCHDB-3242
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit f0a6854e578469612937a766632fdcdc52ee9c65 in couchdb-couch-index's branch refs/heads/master from Nick Vatamaniuc
          [ https://git-wip-us.apache.org/repos/asf?p=couchdb-couch-index.git;h=f0a6854 ]

          Configurable timeout for view group get_info/1

          A busy view group server might take longer than 5 seconds to respond, so make
          the timeout configurable. "infinity" is also a valid configuration value.

          Configuration section, key and default value (in milliseconds):

          `query_server_config.group_info_timeout = 5000`

          COUCHDB-3242

          Show
          jira-bot ASF subversion and git services added a comment - Commit f0a6854e578469612937a766632fdcdc52ee9c65 in couchdb-couch-index's branch refs/heads/master from Nick Vatamaniuc [ https://git-wip-us.apache.org/repos/asf?p=couchdb-couch-index.git;h=f0a6854 ] Configurable timeout for view group get_info/1 A busy view group server might take longer than 5 seconds to respond, so make the timeout configurable. "infinity" is also a valid configuration value. Configuration section, key and default value (in milliseconds): `query_server_config.group_info_timeout = 5000` COUCHDB-3242
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user asfgit closed the pull request at:

          https://github.com/apache/couchdb-couch-index/pull/20

          Show
          githubbot ASF GitHub Bot added a comment - Github user asfgit closed the pull request at: https://github.com/apache/couchdb-couch-index/pull/20

            People

            • Assignee:
              Unassigned
              Reporter:
              vatamane Nick Vatamaniuc
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:

                Development