BSON BinaryVector - Required ignored bits in PACKED_BIT to be zero on unpack

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Unknown
    • 5.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • Python Drivers
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      Context

      See description and discussion in  DRIVERS-3123 

      As of 025-06-23, the proposal is to begin to require the ignored bits to be zero when

      • packing a vector into a Binary in version 4.14. This is a quiet breaking change.
      • unpacking a Binary into a vector in version 5.0. This is a breaking change.

      Definition of done

      Add description to spec.md

      Add unified tests

      Catch exceptions

      Pitfalls

      Low risk that someone is relying on current behaviour. In this case, they will now receive an exception. Easy workaround.

            Assignee:
            Casey Clements
            Reporter:
            Casey Clements
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: