Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-1486

VersionedAPI: Reimplement 'distinct' in 4.9+

    • Type: Icon: Epic Epic
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Component/s: None
    • Labels:
      None
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-3925 Won't Do
      CXX-2204 Won't Do
      CSHARP-3464 Won't Do
      GODRIVER-1914 Won't Do
      JAVA-4039 Won't Do
      NODE-3148 Won't Do
      MOTOR-685 Won't Do
      PYTHON-2606 Won't Do
      PHPC-1784 Won't Do
      RUBY-2554 Won't Do
      RUST-702 Won't Do
      SWIFT-1147 Won't Do
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion CDRIVER-3925 Won't Do CXX-2204 Won't Do CSHARP-3464 Won't Do GODRIVER-1914 Won't Do JAVA-4039 Won't Do NODE-3148 Won't Do MOTOR-685 Won't Do PYTHON-2606 Won't Do PHPC-1784 Won't Do RUBY-2554 Won't Do RUST-702 Won't Do SWIFT-1147 Won't Do

      Filed in regard to this thread in the project channel.

      From Andreas in the thread:

      Indeed, there’s a bit of a race here. The version 1 API does not include the count or distinct commands, which is why I decided to test the CRUD API on a client with a strict API version to ensure that this API will always work regardless of server version a user is connected to. Since the pieces weren’t in place at the time, I knew that these tests would fail eventually, so skipping until we update the logic makes sense. DRIVERS-1437 will track this, and we should also have one to track re-implementing distinct in 4.9+ (didn’t find one, but I’m sure @Alexander Golin has a better overview).
      I initially planned to have drivers skip the estimatedDocumentCount and distinct API tests based on their progress on replacing implementations to make sure this doesn’t fly under the radar, but we can skip them in the spec for the time being…we’ll just have to remember to un-skip them once the respective drivers tickets have been completed (hence me leaning to have each drivers skip them individually)

            Assignee:
            andreas.braun@mongodb.com Andreas Braun
            Reporter:
            alexander.golin@mongodb.com Alexander Golin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: