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

BSON BinaryVector - validate ignored bits are 0

    • Type: Icon: Spec Change Spec Change
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Component/s: None
    • None
    • Needed
    • Hide

      Summary of necessary driver changes

      Show
      Summary of necessary driver changes Exceptions must be raised when ignored bits are not zero during both encoding and decoding when padding is provided and the dtype is PACKED_BITS. Sync packed_bit.json test to https://github.com/mongodb/specifications/commit/43d2c7bacd62249de8d2173bf8ee39e6fd7a686e
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-5979 Fixed 2.0.1
      CXX-3269 Blocked
      CSHARP-5561 Blocked
      GODRIVER-3532 Blocked
      JAVA-5848 Blocked
      NODE-6892 Blocked
      MOTOR-1451 Duplicate
      PYTHON-5289 Duplicate
      PHPLIB-1664 Blocked
      RUBY-3647 Blocked
      RUST-2196 Blocked
      $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 */ } #scriptField td.willNotDo { background-color: #FF0000; /* Red color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion CDRIVER-5979 Fixed 2.0.1 CXX-3269 Blocked CSHARP-5561 Blocked GODRIVER-3532 Blocked JAVA-5848 Blocked NODE-6892 Blocked MOTOR-1451 Duplicate PYTHON-5289 Duplicate PHPLIB-1664 Blocked RUBY-3647 Blocked RUST-2196 Blocked

      Summary

      What is the problem or use case, what are we trying to achieve?

      The specification does not discuss the issue of considering whether two vectors are equal. As different drivers approach this, they are bound to have opinions. This is a placeholder for a discussion of how to treat equality, both in binary and in-memory representations.

      FYI: boris.dogadov@mongodb.com, shane.harvey@mongodb.com, steve.silvester@mongodb.com,kevin.albertson@mongodb.com, qingyang.hu@mongodb.com, geert.bosch@mongodb.com, mihir.patil@mongodb.com, jeff.yemin@mongodb.com 

      Motivation

      Consistency, and well-defined behavior.

      How does this affect the end user?

      Are they blocked? Are they annoyed? Are they confused?
      Confused.

      How likely is it that this problem or use case will occur?

      Main path? Edge case?
      It is likely that a user will write tests simply using ==

      If the problem does occur, what are the consequences and how severe are they?

      _Minor annoyance at a log message? Performance concern? Outage/unavailability?
      Failover can't complete?_

      Not sure.

      Is this issue urgent?

      Does this ticket have a required timeline? What is it?

      Spec should be updated and drivers updated within a quarter.

      Is this ticket required by a downstream team?

      Needed by e.g. Atlas, Shell, Compass?

      Server team is involved because we want consistency.

      Is this ticket only for tests?

      Does this ticket have any functional impact, or is it just test improvements?

      Both.

      Acceptance Criteria

      What specific requirements must be met to consider the design phase complete?

      Agreement on what equality SHOULD or MAY be defined in the implementation of drivers, and for what data types.

            Assignee:
            casey.clements@mongodb.com Casey Clements
            Reporter:
            casey.clements@mongodb.com Casey Clements
            Kevin Albertson Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: