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

Add hard limit for bloom filter memory usage

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Critical
    • 7.1.0
    • None
    • storage-engine

    Description

      We want to make sure that bloom filter doesn't consume more memory than specified bloom filter quota. Bloom filter has memory overhead of 0.8 byte per key. With 1% DGM and very small keys like 10 bytes in size, it can potentially exceed bucket quota with large number of keys

      Memory usage can be limited by using high watermark. We can evict bloom filters from bottom level to toplevel order based on total bloom filter memory usage.

      Attachments

        For Gerrit Dashboard: MB-49489
        # Subject Branch Project Status CR V

        Activity

          People

            apaar.gupta Apaar Gupta
            sarath Sarath Lakshman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty