Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-33187

Journal data are not cleared by WiredTiger

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.4.0
    • Component/s: None
    • Environment:
      MongoServer:3.4 version
      OS:Windows 7 Professional ,Version 6.1
      Processor:Intel(r) Core(TM) i5-4430 CPU @3.00GHz 3.00GHz
      RAM:8.00GB
      Systemtype:64-bit OS

    • Storage Execution

      Hi Team,

      Thanks for your continuous support !!
      *We have a production issue as in , the journal data is not cleared till mongoServer is restarted!! This folder has reached approximately 75GB!!!!
      and occupied almost entire Drive !!!!
      Query:
      *
      We would like to here from you that*_,
      If MongoDB Server is never restarted , will the binary log data under data/db/journal will not be cleared ?
      What is the Max number of journal files or max sixe of journal folder allowed to be created under Journal folder ?
      [We undertood from journal file sixe is 100MB]
      _*

      Reference links
      We have gone through the site:*https://docs.mongodb.com/manual/core/journaling/*

      It has mentioned that
      +"A clean shutdown removes all the files in the journal directory. A dirty shutdown (crash) leaves files in the journal directory;
      these are used to automatically recover the database to a consistent state when the mongod process is restarted"+

      Above statement implies that journal folder will keep on growing and never gets cleared ,
      until ,

      • Mongo server is not restarted or
      • One has to perform clean shutdown
        Please Clarify and address the above mentioned query

      Thanks & Regards
      Sandeep KS

        1. _mdb_catalog.wt
          40 kB
        2. diagnostic.data.rar
          30.24 MB
        3. ftdc.tar
          30.93 MB
        4. journal_dir_listfiles.txt
          44 kB
        5. logfiles.png
          logfiles.png
          148 kB
        6. mongod-logs.7z
          47.39 MB
        7. sizeStorer.wt
          44 kB

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            Urs Sandeep [X]
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: