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

handle error clause when calling fabric:open_revs

    Details

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

      Description

      According to typespec of fabric:open_revs, the function can return

      {error, any()}

      . However, we don't have a matching clause when calling fabric:open_revs in many chttpd and ddoc_cache.

        Activity

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

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

        Handle error return clauses for fabric:open_revs

        When calling fabric:open_revs, we don't account for situations where
        the function returns an

        {error, any()}

        value as specified by the
        function specification. This will account for errors thrown.

        COUCHDB-3289

        Show
        jira-bot ASF subversion and git services added a comment - Commit cd4c5c70c146e74a344b42e7e636e8e81f08495c in couchdb-chttpd's branch refs/heads/master from Tony Sun [ https://git-wip-us.apache.org/repos/asf?p=couchdb-chttpd.git;h=cd4c5c7 ] Handle error return clauses for fabric:open_revs When calling fabric:open_revs, we don't account for situations where the function returns an {error, any()} value as specified by the function specification. This will account for errors thrown. COUCHDB-3289
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 928bb2e4b9e542a8fd37202493af96a7e20f44cb in couchdb-chttpd's branch refs/heads/master from Tony Sun
        [ https://git-wip-us.apache.org/repos/asf?p=couchdb-chttpd.git;h=928bb2e ]

        Introduce 503 error when nodes are all unavailable.

        In rare situations when all nodes are down or in maintenance mode and
        no workers can service a request, we return a 503 to the user.

        COUCHDB-3289

        Show
        jira-bot ASF subversion and git services added a comment - Commit 928bb2e4b9e542a8fd37202493af96a7e20f44cb in couchdb-chttpd's branch refs/heads/master from Tony Sun [ https://git-wip-us.apache.org/repos/asf?p=couchdb-chttpd.git;h=928bb2e ] Introduce 503 error when nodes are all unavailable. In rare situations when all nodes are down or in maintenance mode and no workers can service a request, we return a 503 to the user. COUCHDB-3289
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit cd4c5c70c146e74a344b42e7e636e8e81f08495c in couchdb-chttpd's branch refs/heads/COUCHDB-3288-remove-public-db-record from Tony Sun
        [ https://git-wip-us.apache.org/repos/asf?p=couchdb-chttpd.git;h=cd4c5c7 ]

        Handle error return clauses for fabric:open_revs

        When calling fabric:open_revs, we don't account for situations where
        the function returns an

        {error, any()}

        value as specified by the
        function specification. This will account for errors thrown.

        COUCHDB-3289

        Show
        jira-bot ASF subversion and git services added a comment - Commit cd4c5c70c146e74a344b42e7e636e8e81f08495c in couchdb-chttpd's branch refs/heads/ COUCHDB-3288 -remove-public-db-record from Tony Sun [ https://git-wip-us.apache.org/repos/asf?p=couchdb-chttpd.git;h=cd4c5c7 ] Handle error return clauses for fabric:open_revs When calling fabric:open_revs, we don't account for situations where the function returns an {error, any()} value as specified by the function specification. This will account for errors thrown. COUCHDB-3289
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 928bb2e4b9e542a8fd37202493af96a7e20f44cb in couchdb-chttpd's branch refs/heads/COUCHDB-3288-remove-public-db-record from Tony Sun
        [ https://git-wip-us.apache.org/repos/asf?p=couchdb-chttpd.git;h=928bb2e ]

        Introduce 503 error when nodes are all unavailable.

        In rare situations when all nodes are down or in maintenance mode and
        no workers can service a request, we return a 503 to the user.

        COUCHDB-3289

        Show
        jira-bot ASF subversion and git services added a comment - Commit 928bb2e4b9e542a8fd37202493af96a7e20f44cb in couchdb-chttpd's branch refs/heads/ COUCHDB-3288 -remove-public-db-record from Tony Sun [ https://git-wip-us.apache.org/repos/asf?p=couchdb-chttpd.git;h=928bb2e ] Introduce 503 error when nodes are all unavailable. In rare situations when all nodes are down or in maintenance mode and no workers can service a request, we return a 503 to the user. COUCHDB-3289
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit cd4c5c70c146e74a344b42e7e636e8e81f08495c in couchdb-chttpd's branch refs/heads/COUCHDB-3287-pluggable-storage-engines from Tony Sun
        [ https://git-wip-us.apache.org/repos/asf?p=couchdb-chttpd.git;h=cd4c5c7 ]

        Handle error return clauses for fabric:open_revs

        When calling fabric:open_revs, we don't account for situations where
        the function returns an

        {error, any()}

        value as specified by the
        function specification. This will account for errors thrown.

        COUCHDB-3289

        Show
        jira-bot ASF subversion and git services added a comment - Commit cd4c5c70c146e74a344b42e7e636e8e81f08495c in couchdb-chttpd's branch refs/heads/ COUCHDB-3287 -pluggable-storage-engines from Tony Sun [ https://git-wip-us.apache.org/repos/asf?p=couchdb-chttpd.git;h=cd4c5c7 ] Handle error return clauses for fabric:open_revs When calling fabric:open_revs, we don't account for situations where the function returns an {error, any()} value as specified by the function specification. This will account for errors thrown. COUCHDB-3289
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 928bb2e4b9e542a8fd37202493af96a7e20f44cb in couchdb-chttpd's branch refs/heads/COUCHDB-3287-pluggable-storage-engines from Tony Sun
        [ https://git-wip-us.apache.org/repos/asf?p=couchdb-chttpd.git;h=928bb2e ]

        Introduce 503 error when nodes are all unavailable.

        In rare situations when all nodes are down or in maintenance mode and
        no workers can service a request, we return a 503 to the user.

        COUCHDB-3289

        Show
        jira-bot ASF subversion and git services added a comment - Commit 928bb2e4b9e542a8fd37202493af96a7e20f44cb in couchdb-chttpd's branch refs/heads/ COUCHDB-3287 -pluggable-storage-engines from Tony Sun [ https://git-wip-us.apache.org/repos/asf?p=couchdb-chttpd.git;h=928bb2e ] Introduce 503 error when nodes are all unavailable. In rare situations when all nodes are down or in maintenance mode and no workers can service a request, we return a 503 to the user. COUCHDB-3289

          People

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

            Dates

            • Created:
              Updated:

              Development