It should be GridIO::DEFAULT_FS_NAME not Grid::DEFAULT_FS_NAME

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Minor - P4
    • 1.0.8
    • Affects Version/s: None
    • Component/s: None
    • None
    • Environment:
      Any
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      There is a constant DEFAULT_FS_NAME which is defined in Mongo::Grid is also used in Mongo::GridIO. Since GridIO is a lower-level class, it feels strange that it uses a constant defined in a higher-level class. So I strongly recommended move that constant from Gird to GridIO. And if we do so, when someone uses GridIO directly, they don't get Grid loaded.

              Assignee:
              Kyle Banker (Inactive)
              Reporter:
              Gimi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: