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

use same database name validation rules on all platforms

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.0.4, 3.1.4
    • Component/s: Storage
    • Labels:
      None
    • Storage Execution
    • ALL

      NamespaceString::validDBName checks different characters on Windows.

      It seems like this could cause issues with mixed OS replica sets, for example. This also can break mongodump/restore on mixed OS clusters.

      We should use the same database name validation rules on Linux as we do on Windows.
      That is, Linux builds of MongoDB should reject database names containing '*', '<', '>', ':', "|', and '?' as invalid.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            adam.midvidy Adam Midvidy
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: