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

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

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

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

        Activity

          People

            hareen.kancharla Hareen Kancharla
            drigby Dave Rigby (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There is 1 open Gerrit change

                PagerDuty