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

ep_warmup_key_count becomes zero in case of corrupted access.log.old file and no access.log file

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0
    • Component/s: couchbase-bucket
    • Security Level: Public
    • Labels:
      None
    • Environment:
      Version: 2.0.0 enterprise edition (build-1460)
      VMs:- CentOS release 5.7

      Description

      Steps To Reproduce:-
      1) Load 10000 items on default bucket of two node cluster
      2) Run access scanner and wait for access.log to get created.
      3) open and corrupted the access.log file.
      4) stop and start the server
      collected the cbstats as :-
      ep_warmup: enabled
      ep_warmup_access_log: corrupt
      ep_warmup_dups: 0
      ep_warmup_estimated_item_count: unknown
      ep_warmup_estimated_warmup_count: unknown
      ep_warmup_key_count: 60000
      ep_warmup_keys_time: 737179
      ep_warmup_min_item_threshold: 100
      ep_warmup_min_memory_threshold: 100
      ep_warmup_oom: 0
      ep_warmup_state: done
      ep_warmup_thread: complete
      ep_warmup_time: 1663848
      ep_warmup_value_count: 60000
      5) Load new set of 10,000 items
      6) Run the access scanner, corrupted log file will become access.log.old and new access.log will get created
      7) delete the access.log file
      8) Stop and Start the server
      collected the cbstats
      ep_warmup: enabled
      ep_warmup_dups: 0
      ep_warmup_estimated_item_count: unknown
      ep_warmup_estimated_warmup_count: unknown
      ep_warmup_key_count: 0
      ep_warmup_keys_time: 900
      ep_warmup_min_item_threshold: 100
      ep_warmup_min_memory_threshold: 100
      ep_warmup_oom: 0
      ep_warmup_state: done
      ep_warmup_thread: complete
      ep_warmup_time: 1041
      ep_warmup_value_count: 0

        Attachments

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

          Activity

            People

            • Assignee:
              liang Liang Guo (Inactive)
              Reporter:
              Rohit Rohit Sinha (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes