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

Add config to disable index all fields (text indexes)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Mango
    • Labels:
      None

      Description

      Provide an ability to reject requests to index all fields for Mango text indexes.

        Activity

        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit a4cce0032a9ca43301038eb46bfd4dc1dd6a4a49 in couchdb-mango's branch refs/heads/79577-add-config-index-all from Tony Sun
        [ https://git-wip-us.apache.org/repos/asf?p=couchdb-mango.git;h=a4cce00 ]

        Add config parameter to reject index all text indexes

        Text indexes that index all fields can sometimes lead to OOM issues
        when users have documents with nested array fields. This change adds
        in a config parameter to provide the ability to log users who do this
        and also reject new requests. Note that we need to pass in a db
        record to validate_new because it contains user and db name info that
        will be logged.

        COUCHDB-3249

        Show
        jira-bot ASF subversion and git services added a comment - Commit a4cce0032a9ca43301038eb46bfd4dc1dd6a4a49 in couchdb-mango's branch refs/heads/79577-add-config-index-all from Tony Sun [ https://git-wip-us.apache.org/repos/asf?p=couchdb-mango.git;h=a4cce00 ] Add config parameter to reject index all text indexes Text indexes that index all fields can sometimes lead to OOM issues when users have documents with nested array fields. This change adds in a config parameter to provide the ability to log users who do this and also reject new requests. Note that we need to pass in a db record to validate_new because it contains user and db name info that will be logged. COUCHDB-3249
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 4afd60e84d0e1c57f5d6a1e3542955faa565ca4b in couchdb-mango's branch refs/heads/upstream from Tony Sun
        [ https://git-wip-us.apache.org/repos/asf?p=couchdb-mango.git;h=4afd60e ]

        Add config parameter to reject index all text indexes

        Text indexes that index all fields can sometimes lead to OOM issues
        when users have documents with nested array fields. This change adds
        in a config parameter to provide the ability to log users who do this
        and also reject new requests. Note that we need to pass in a db
        record to validate_new because it contains user and db name info that
        will be logged.

        COUCHDB-3249

        Show
        jira-bot ASF subversion and git services added a comment - Commit 4afd60e84d0e1c57f5d6a1e3542955faa565ca4b in couchdb-mango's branch refs/heads/upstream from Tony Sun [ https://git-wip-us.apache.org/repos/asf?p=couchdb-mango.git;h=4afd60e ] Add config parameter to reject index all text indexes Text indexes that index all fields can sometimes lead to OOM issues when users have documents with nested array fields. This change adds in a config parameter to provide the ability to log users who do this and also reject new requests. Note that we need to pass in a db record to validate_new because it contains user and db name info that will be logged. COUCHDB-3249
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 4afd60e84d0e1c57f5d6a1e3542955faa565ca4b in couchdb-mango's branch refs/heads/master from Tony Sun
        [ https://git-wip-us.apache.org/repos/asf?p=couchdb-mango.git;h=4afd60e ]

        Add config parameter to reject index all text indexes

        Text indexes that index all fields can sometimes lead to OOM issues
        when users have documents with nested array fields. This change adds
        in a config parameter to provide the ability to log users who do this
        and also reject new requests. Note that we need to pass in a db
        record to validate_new because it contains user and db name info that
        will be logged.

        COUCHDB-3249

        Show
        jira-bot ASF subversion and git services added a comment - Commit 4afd60e84d0e1c57f5d6a1e3542955faa565ca4b in couchdb-mango's branch refs/heads/master from Tony Sun [ https://git-wip-us.apache.org/repos/asf?p=couchdb-mango.git;h=4afd60e ] Add config parameter to reject index all text indexes Text indexes that index all fields can sometimes lead to OOM issues when users have documents with nested array fields. This change adds in a config parameter to provide the ability to log users who do this and also reject new requests. Note that we need to pass in a db record to validate_new because it contains user and db name info that will be logged. COUCHDB-3249

          People

          • Assignee:
            Unassigned
            Reporter:
            tonysun83 Tony Sun
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development