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

Item compressor should not be scheduled if compression mode is not active

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • Morpheus
    • master, 7.1.1
    • couchbase-bucket
    • 1

    Description

      The ItemCompressorTask is scheduled to wake every 250ms, check if anything needs compressing and then sleep again.

      This is fine if the compression mode is active, but if it is Passive or Off then the task is being woken and run (briefly) every 250ms per Bucket. This is essentially pointless work.

      We should modify the scheduling to only schedule if Compression is set to Active, otherwise to not schedule it at all (and wake if the mode changes to Active).

      Attachments

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

        Activity

          People

            owend Daniel Owen
            drigby Dave Rigby (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty