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

Log cleaner does not bring LSS fragmentation down

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • Morpheus
    • 7.2.3
    • storage-engine
    • Untriaged
    • 0
    • Unknown
    • Plasma-May-6-2024, Plasma-May-13-2024

    Description

      Log Cleaner is not able to bring fragmentation down. Using data files from a customer, the log cleaner behaviour is reproducible:

      before cleaning: log head offset 1344009305587 tail offset 1348079476736
      LSS /Users/akhil.mundroy/tickets/CBSE-16929/opt/couchbase/var/lib/couchbase/data/@2i/shards/shard4/data(shard4) : logCleaner: starting... frag 87, data: 508740201, used: 4070171149 log:(1344123438107 - 1348079476736) head:1344009305587
      LSS /Users/akhil.mundroy/tickets/CBSE-16929/opt/couchbase/var/lib/couchbase/data/@2i/shards/shard4/data(shard4) : logCleaner: completed... frag 86, data: 508743081, used: 3704258530, disk: 3704890893, relocated: 451934, retries: 0, skipped: 7007, cleaned:3956034563, log:(1348079472670 - 1351783731200), disk:(1348078840307-1351783731200), activeFragRatio:100, activeMaxFragRatio:100, run:1 duration:75485 ms elapsed: 75485 ms
      after cleaning: log head offset 1348079472670 tail offset 1351783731200

      But, it seems that the data log has reached a bad state that still needs RCA.

      Attachments

        Issue Links

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

          Activity

            People

              akhil.mundroy Akhil Mundroy
              akhil.mundroy Akhil Mundroy
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty