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

[ALL SERVICES] default memory quota calculation policy

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 6.5.0
    • 4.5.0
    • ns_server
    • Security Level: Public
    • Triaged
    • Release Note
    • Unknown

    Description

      See: http://review.couchbase.org/#/c/58983/1

      The code to calculate default memory allocations looks wrong, and FTS needs a part of that memory allocation...

      Handwaving the (current) algorithm...

      Memory is divided into 5 portions.

      A) 3 portions of the 5 are defaulted to KV.
      B) Another 3 more portions of the 5 are defaulted to Index (GSI).

      So... 3 + 3 == 6, and 6 portions > 5 portions already, so something already feels odd here.

      C) 1 more portion of the 5 is defaulted to FTS.

      So 3 + 3 + 1 == 7, and 7 > 5, so it's even more fishy. This issue is to figure out the right default memory pro-portion'ing policy across services.

      Attachments

        Issue Links

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

          Activity

            People

              anitha.kuberan Anitha Kuberan
              steve Steve Yen
              Votes:
              0 Vote for this issue
              Watchers:
              17 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty