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

      # Subject Project Status CR V
      For Gerrit Dashboard: &For+MB-5944=message:MB-5944

        Activity

        Hide
        chiyoung Chiyoung Seo added a comment -

        Redistributing the new bugs to the couchbase bucket team

        Show
        chiyoung Chiyoung Seo added a comment - Redistributing the new bugs to the couchbase bucket team
        Show
        liang Liang Guo (Inactive) added a comment - http://review.couchbase.org/#change,18671
        Hide
        thuan Thuan Nguyen added a comment -

        Integrated in github-ep-engine-2-0 #365 (See http://qa.hq.northscale.net/job/github-ep-engine-2-0/365/)
        MB-5944 Fix warmup batch read using access log (Revision 1e9656aabca895a23796792ddd9301196f5fceeb)

        Result = SUCCESS
        Liang Guo :
        Files :

        • couch-kvstore/couch-kvstore.cc
        • Makefile.am
        • mutation_log.hh
        • ep.cc
        • ep.hh
        • mutation_log.cc
        Show
        thuan Thuan Nguyen added a comment - Integrated in github-ep-engine-2-0 #365 (See http://qa.hq.northscale.net/job/github-ep-engine-2-0/365/ ) MB-5944 Fix warmup batch read using access log (Revision 1e9656aabca895a23796792ddd9301196f5fceeb) Result = SUCCESS Liang Guo : Files : couch-kvstore/couch-kvstore.cc Makefile.am mutation_log.hh ep.cc ep.hh mutation_log.cc

          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