Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-6804

Ignore effectless indexable/unindexable state transitions

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-beta
    • Fix Version/s: 2.0-beta-2
    • Component/s: view-engine
    • Security Level: Public
    • Labels:
      None

      Description

      During rebalance ns_server keeps asking to mark a group of partitions as indexable when they're all already indexable (or when they're all unindexable already).
      This causes updater, compactor and cleaner processes to be restarted, and an header to be built and written to the index file, as the view engine wasn't accounting for such useless calls.

      Such effectless and useless calls, should just be a no-op with no side effects.

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

        Activity

        Hide
        kzeller kzeller added a comment -

        RN: Couchbase Server kept requesting to mark a group of partitions
        as indexable when they were already marked as indexable, or when
        they are already correctly marked as unindexable. This triggered redundant effort
        by processes. It is now fixed.

        Show
        kzeller kzeller added a comment - RN: Couchbase Server kept requesting to mark a group of partitions as indexable when they were already marked as indexable, or when they are already correctly marked as unindexable. This triggered redundant effort by processes. It is now fixed.
        Hide
        thuan Thuan Nguyen added a comment -

        Integrated in github-couchdb-preview #509 (See http://qa.hq.northscale.net/job/github-couchdb-preview/509/)
        MB-6804 Ignore effectless indexable/unindexable calls (Revision c11c200c0a9863dc84e08a7a22faf6a16b6e00dc)

        Result = SUCCESS
        pwansch :
        Files :

        • src/couch_set_view/src/couch_set_view_group.erl
        Show
        thuan Thuan Nguyen added a comment - Integrated in github-couchdb-preview #509 (See http://qa.hq.northscale.net/job/github-couchdb-preview/509/ ) MB-6804 Ignore effectless indexable/unindexable calls (Revision c11c200c0a9863dc84e08a7a22faf6a16b6e00dc) Result = SUCCESS pwansch : Files : src/couch_set_view/src/couch_set_view_group.erl

          People

          • Assignee:
            FilipeManana Filipe Manana (Inactive)
            Reporter:
            FilipeManana Filipe Manana (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes