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

Direct retries to another mongos if one is available #1367

Merged
merged 23 commits into from
May 28, 2024

Commits on Apr 16, 2024

  1. Direct retries to another mongos if one is available

    Implemented the change and unit tests
    
    JAVA-4254, JAVA-5320
    stIncMale committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    e95ca0b View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2024

  1. Implement specification prose tests

    JAVA-4254, JAVA-5320
    stIncMale committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    d1c1ed2 View commit details
    Browse the repository at this point in the history
  2. Fix a typo

    JAVA-4254, JAVA-5320
    stIncMale committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    0875e5d View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2024

  1. Expect MongoServerException instead of just RuntimeException

    JAVA-4254, JAVA-5320
    stIncMale committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    6fe3db1 View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2024

  1. Fix ServerDeprioritization.onAttemptFailure

    JAVA-4254
    stIncMale committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    7cba88b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    da6d111 View commit details
    Browse the repository at this point in the history
  3. Replace BiFunction with BinaryOperator

    JAVA-4254
    stIncMale committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    e4ffab4 View commit details
    Browse the repository at this point in the history

Commits on May 2, 2024

  1. Update driver-core/src/main/com/mongodb/internal/connection/Operation…

    …Context.java
    
    
    Let's put various checks (validation, preconditions...) at the top of methods, with the operation at the bottom.
    
    Co-authored-by: Maxim Katcharov <maxim.katcharov@mongodb.com>
    stIncMale and katcharov committed May 2, 2024
    Configuration menu
    Copy the full SHA
    29ebd76 View commit details
    Browse the repository at this point in the history
  2. Trivial code improvements

    JAVA-4254
    stIncMale committed May 2, 2024
    Configuration menu
    Copy the full SHA
    6574e24 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2024

  1. Update the docs of the internal API for retries to reflect support of…

    … side effects
    
    JAVA-4254
    stIncMale committed May 3, 2024
    Configuration menu
    Copy the full SHA
    171d67e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4d883c1 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2024

  1. Refactor the way BaseCluster.selectServer deals with the race condi…

    …tion
    
    The new approach allows us to later refactor all other logic inside one or more `ServerSelector`s.
    
    See the comment left in the code for more details on the new approach.
    
    JAVA-4254
    stIncMale committed May 6, 2024
    Configuration menu
    Copy the full SHA
    d25010d View commit details
    Browse the repository at this point in the history

Commits on May 7, 2024

  1. Configuration menu
    Copy the full SHA
    cc8021e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b3430bd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    16df106 View commit details
    Browse the repository at this point in the history
  4. Do minor touches

    JAVA-4254
    stIncMale committed May 7, 2024
    Configuration menu
    Copy the full SHA
    04880c7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c1e9e4e View commit details
    Browse the repository at this point in the history

Commits on May 8, 2024

  1. Address review concerns

    JAVA-4254
    stIncMale committed May 8, 2024
    Configuration menu
    Copy the full SHA
    246353f View commit details
    Browse the repository at this point in the history
  2. Implement the proposed code simplification

    JAVA-4254
    stIncMale committed May 8, 2024
    Configuration menu
    Copy the full SHA
    69b78ff View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cbb1938 View commit details
    Browse the repository at this point in the history

Commits on May 23, 2024

  1. Configuration menu
    Copy the full SHA
    05f6679 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2024

  1. Extract raceConditionPreFiltering into a separate method and remove…

    … the two last lines of the corresponding comment, as they are not informative.
    
    JAVA-4254
    stIncMale committed May 24, 2024
    Configuration menu
    Copy the full SHA
    d55c44f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7debec0 View commit details
    Browse the repository at this point in the history