BSON BinaryVector - validate ignored bits are 0 on write

XMLWordPrintableJSON

    • Type: Spec Change
    • Resolution: Fixed
    • Priority: Unknown
    • 4.14
    • Affects Version/s: None
    • Component/s: None
    • Hide

      DRIVERS-3123:
      Summary of necessary driver changes

      As it pertains to PACKED_BIT dtype of Binary Vectors,

      • Drivers SHOULD validate ignored bits are zero when encoding and decoding.
        • This is a non-required change to avoid breaking backwards compatibility. A JSON test previously added for this case has been replaced by Prose tests to permit the flexibility.
      • Implement Prose tests in source/bson-binary-vector/tests/README.md
      • Sync packed_bit.json test to commit 6689929
      Show
      DRIVERS-3123 : Summary of necessary driver changes As it pertains to PACKED_BIT dtype of Binary Vectors, Drivers SHOULD validate ignored bits are zero when encoding and decoding. This is a non-required change to avoid breaking backwards compatibility. A JSON test previously added for this case has been replaced by Prose tests to permit the flexibility. Implement Prose tests in source/bson-binary-vector/tests/README.md Sync packed_bit.json test to commit 6689929
    • None
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      This ticket was split from DRIVERS-3123, please see that ticket for a detailed description.

            Assignee:
            Casey Clements
            Reporter:
            TPM Jira Automations Bot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: