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

Improve queue control when indexer is under memory pressure

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Duplicate
    • Major
    • Morpheus
    • 7.2.0
    • secondary-index
    • None
    • 0

    Description

      When system is under memory pressure, we currently push new mutations into the queue if we are below queue configured memory or length limit. With system under memory pressure and low resident ratio, plasma becomes slow as they have to perform disk read/writes which also require memory (from indexer golang heap). This further increases the pressure on memory and we could see OOM kills when this grows beyond control.
      This MB is to explore if we can control the atomic queue to lower the pressure on memory with limited/no impact on performance of system when it operates under normal conditions

      Attachments

        Issue Links

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

          Activity

            People

              dhruvil.ketanshah Dhruvil Shah
              dhruvil.ketanshah Dhruvil Shah
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty