Data file from DBPath is not getting cleared.

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Critical - P2
    • None
    • Affects Version/s: 3.0.4, 3.1.5
    • Component/s: WiredTiger
    • Environment:
      Redhat 12.04 and Ubuntu
    • Linux
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Hello Team,

      I am just trying to remove the data from the collection, data is completely removed from the collection but the DB path still holds the data file (.wt) which unnecessarily increases the HDD space.

      The db.collection.stats() shows that count, size as 0 but the storage size still holds a value.

      So, I took the wired tiger uri from the stats and searched for the .wt file from data file path. Without a surprise the file was present with the same size.

      Also attaching the files for your perusal.

      Please let me know if it s bug or a normal behavior.

      Thanks
      Sundar

        1. collection stats.PNG
          34 kB
          Sundarajan Srinivasan
        2. dbpath.PNG
          21 kB
          Sundarajan Srinivasan

            Assignee:
            Sam Kleinman (Inactive)
            Reporter:
            Sundarajan Srinivasan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: