GridFS constructor tries to create index

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The GridFS class constructor tries to create indexes on the .files and .chunks collection. If the database is read-only - for instance, due to the temporary unavailability of some mongoD's in a replicaset - this causes an attempt to read data to fail.

      The indexes should be created when the databases is initialized.

            Assignee:
            Ross Lawley
            Reporter:
            Alessandro Gherardi
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: