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

deprecate ensureIndex() methods

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.12.0
    • Affects Version/s: 2.12.0
    • Component/s: API
    • None

      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.

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

              Created:
              Updated:
              Resolved: