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

View not updating after reboot

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 3.1.0, 4.0.0
    • 3.0.3
    • view-engine
    • Security Level: Public
    • 6 couchbase nodes, in a docker environment but running with --net=host and persistent storage
    • Untriaged
    • Ubuntu 64-bit
    • Unknown

    Description

      Hey friends,

      I have a rare edge-case where the couchbase servers will reboot (from external factors - like loss of power). When they come back up, everything is fine except sometimes my view will get stuck. I have a very simple view that I use to find the keys in a table only:

      emit(meta.id, null);

      I have several other buckets that have this same view, but they seem to work fine. The big difference in the bucket and view that stop working is that the bucket has big files in it (~3mb). I made the change suggested to allow for the view and map/reduce to be able to not get hung or skip these.

      If I create another view with a different name, and put the same function inside, I get all ~12k objects in the view, but the original view is still "stuck" at 7k objects. If I delete the view and create it again, it recognizes the full 12k objects.

      This is stale=false, as well, of course.

      Thanks! I have uploaded full logs. Please let me know what else I can do.

      Attachments

        Issue Links

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

          Activity

            People

              vmx Volker Mische
              krandonbruse krandonbruse
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  PagerDuty