Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-153

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

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

      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:
            kbanker Kyle Banker
            Reporter:
            gimi Gimi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: