Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-511

Support hedge options (and tags?) in cursor.readPref

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.7.7
    • Affects Version/s: None
    • Component/s: None
    • None
    • 3
    • Iteration Uglifruit
    • Needed
    • Hide

      cursor.readPref takes the same arguments it takes in the old shell now.

      Show
      cursor.readPref takes the same arguments it takes in the old shell now.

      This is new in mongodb 4.4. Mostly opening a ticket instead of directly doing it because
      a) it’s trickier to pass ReadPreference options to the driver than I thought and
      b) the current code says that tag sets are not supported, even though the driver’s TypeScript definitions would seem to imply that they are, but I also can’t find any further context for this issue.

            Assignee:
            anna.henningsen@mongodb.com Anna Henningsen
            Reporter:
            anna.henningsen@mongodb.com Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: