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

deprecate ensureIndex() methods

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.12.0
    • 2.12.0
    • API
    • None

    Description

      Deprecate DBCollection.ensureIndex (all overloads) and DBCollection.resetIndexCache. Caching of which indexes have been created is really not something the driver should be doing, as it is prone to race conditions with other clients.

      Attachments

        Activity

          People

            justin.lee Justin Lee
            justin.lee Justin Lee
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: