Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-2336

CreateCollectionOperation uses invalid field for create command for userPowerOf2Sizes property

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 3.4.0
    • Affects Version/s: 3.0.0
    • Component/s: Command Operations
    • None

      CreateCollectionOperation sends a usePowerOf2Sizes field to the create command, but according to https://docs.mongodb.com/manual/reference/command/create/ it should be flags : 1.

      Note that this is only in the core API, which is unlikely to be used directly by anyone. The high level API doesn't set this property.

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: