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

Fix and re-enable EvictionWithoutReplicasReachesLWM for magma

    XMLWordPrintable

Details

    Description

          // The test makes assumptions on the memory state of the system at storing
          // items. In particular, we load some items until we hit the HWM for
          // preparing for HT ejection.
          // Now that we introduce a limit on checkpoint mem-usage (MB-47386), when
          // loading data we need to simulate checkpoint mem-recovery, or we would
          // never reach the HWM otherwise as we'll hit the checkpoint quota first.
          // All fine so far, under couchstore all behaves as expected.
          // Problem under magma is that it allocates a good chunk of the bucket quota
          // when we persist for allowing chekpoint-mem-recovery. We hit the HWM by
          // magma allocations that seem to be intermittently freed (maybe in magma
          // threads?) as soon as we return from the load-data function. Thus pushing
          // the system back below the HWM and invalidating the test pre-requirements.
          // At the time of writing magma is also facing some major internal memory
          // usage and tracking issues.
          // For all that, I'm disabling the test for magma for now.
          // @todo: fix and re-enable, tracked in MB-47481
          if (isMagma()) {
              GTEST_SKIP();
          }
      

      Attachments

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

        Activity

          People

            paolo.cocchi Paolo Cocchi
            paolo.cocchi Paolo Cocchi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty