Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-2342

GridFS constructor tries to create index

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      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@mongodb.com Ross Lawley
            Reporter:
            alessandro.gherardi@yahoo.com Alessandro Gherardi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: