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

deprecate ensureIndex() methods

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.12.0
    • Fix Version/s: 2.12.0
    • Component/s: API
    • Labels:
      None
    • Sprint:
      Sprint 3

      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

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: