Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MongoDB 3.6: implement the new wire protocol #61

Merged
merged 9 commits into from
Dec 12, 2017
Merged

MongoDB 3.6: implement the new wire protocol #61

merged 9 commits into from
Dec 12, 2017

Commits on Nov 13, 2017

  1. test against 3.6

    feliixx committed Nov 13, 2017
    Configuration menu
    Copy the full SHA
    c1fc70d View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2017

  1. update go and mongodb version

      - use last minor version for each major serie of
        mongodb
      - use travis 'go' param instead of eval "$(gimme $GO)"
        as it fails to install correctly last minor version
        ( 1.8.x notation for example)
    feliixx committed Nov 27, 2017
    Configuration menu
    Copy the full SHA
    0eaf023 View commit details
    Browse the repository at this point in the history
  2. test fixes on 3.2.17

    also re-enable TestFindIterSnapshot as it was fixed
    a long time ago
    feliixx committed Nov 27, 2017
    Configuration menu
    Copy the full SHA
    b5082c2 View commit details
    Browse the repository at this point in the history
  3. fix X509 test

    fix TestAuthX509CredRDNConstruction test: need to
    create an user with {"username": subject} before
    trying to login
    feliixx committed Nov 27, 2017
    Configuration menu
    Copy the full SHA
    f2ad0ee View commit details
    Browse the repository at this point in the history
  4. Fix auth test on 3.6-rc3

    Make sure that "rs3/127.0.0.1/40031" is elected
    at primary.
    Create user before running 'addShard' command as
    it requires root access
    Also add a retry mechanism to make sure that shard
    are correctly added
    cf https://docs.mongodb.com/manual/tutorial/deploy-shard-cluster/
    feliixx committed Nov 27, 2017
    Configuration menu
    Copy the full SHA
    3b9a65f View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2017

  1. implement OP_MSG wire protocole

    require maxWireVersion >= 6 on server side, and
    `experimental=opmsg` in the connection string
    
      - get `MaxMessageSizeBytes` and `MaxWriteBatchSize`
        from handshake
      - allow unacknowledged writes with `moreToCome` flag
      - split bulk operations in batch of `maxWriteBatchSize`
      - add 'experimental' param in URL. To enable an experimental
        feature, add `experimental=featureName` in the connection
        URL
    
    flush logout directly
    
    Previously, `flushLogout()` was called at the beginning
    of each Query to the database.
    To avoid these useless calls, we flush logout directly
    when `Logout()` or `LogoutAll()` is called
    feliixx committed Dec 4, 2017
    Configuration menu
    Copy the full SHA
    d2ccced View commit details
    Browse the repository at this point in the history
  2. re-enable TestViewWithCollation

    SERVER-31049 is fixed in 3.4.10, so re-enable
    it
    feliixx committed Dec 4, 2017
    Configuration menu
    Copy the full SHA
    5e766ed View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2017

  1. refactor memory pooling

    use the same pool for send and received
    messages.
    Slices are returned to the pool without being
    resized.
    
    Default allocation size might need to be updated
    (currently 256, no benchmarks available yet)
    feliixx committed Dec 6, 2017
    Configuration menu
    Copy the full SHA
    145c587 View commit details
    Browse the repository at this point in the history
  2. update to 3.6.0 stable

    feliixx committed Dec 6, 2017
    Configuration menu
    Copy the full SHA
    019a38f View commit details
    Browse the repository at this point in the history