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

Ignore db names that begin with a dot, when directory-per-db is active

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.4.9
    • Component/s: MMAPv1, Storage
    • None
    • Storage Execution
    • ALL
    • Hide

      Install mongodb on xfs filesystem and run xfs_fsr.

      Show
      Install mongodb on xfs filesystem and run xfs_fsr.

      When using mongodb directly on XFS filesystem it automatically shuts down when the XFS defragmentation tool 'xfs_fsr' runs.

      This creates a .fsr directory on the mounted filesystem, which causes MongoDB to exit.

      The essence of this problem is the same for all other dot directories inside the mongodb map.

      One can discuss in length about if it's "proper" to do it this or the other way. But in the end we all know that directories like "lost+found", ".fsr" and really any dot directory in the root of the filesystem can exist and have nothing to do with MongoDB. (Also consider .snapshots etc)

      So it makes much more sense it MongoDB would ignore it.

      A user tunable parameter that allows to exclude additional file paths would be helpful as well.

      This should be a easy-picking patch for people known with MongoDB and very safe to implement. Very little overhead and high usefulness factor.

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

              Created:
              Updated:
              Resolved: