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

Deprecate command() methods that take an options parameter and replace them with ones that don't

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

      The options flags aren't used fully in DB.command() methods on 2.12, the only thing that's currently used is slaveOK. Since this has been superseded by read preference, the options methods need to be deprecated, and we need to add command methods in 2.12 that have read preference and no options.

      Then add new ones and remove deprecated ones in 3.x.

            Assignee:
            trisha.gee@10gen.com Trisha Gee
            Reporter:
            trisha.gee@10gen.com Trisha Gee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: