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

Handle multiple snapshots properly in view engine

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Test Blocker
    • 3.0
    • 3.0
    • view-engine
    • Security Level: Public
    • None
    • Triaged
    • Unknown

    Description

      The view engine currently buffers mutations in order to do de-duplication in case there are several snapshots. It currently works, but for 3.0 this needs to fixed properly.

      The current idea is to make a distinction between the initial and the incremental index build. In the initial index build only the first (on-disk) snapshot is requested for all partitions that are part of the index. Once it's built the updater is restarted to add all additional items as incremental updates. Whenever a snapshot marker is hit, it will force a flush. Probably the view engine checkpointing code can be re-used to force such a flush.

      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
              vmx Volker Mische
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty