Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: scylladb/java-driver
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4.19.0.4
Choose a base ref
...
head repository: scylladb/java-driver
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4.19.0.5
Choose a head ref
  • 17 commits
  • 95 files changed
  • 9 contributors

Commits on Dec 8, 2025

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

Commits on Dec 30, 2025

  1. .github/workflows/docs-pages.yml: Potential fix for code scanning ale…

    …rt no. 2: Workflow does not contain permissions
    
    Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
    2 people authored and dkropachev committed Dec 30, 2025
    Configuration menu
    Copy the full SHA
    5820a73 View commit details
    Browse the repository at this point in the history
  2. .github/workflows/docs-pr.yml: Potential fix for code scanning alert …

    …no. 1: Workflow does not contain permissions
    
    Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
    2 people authored and dkropachev committed Dec 30, 2025
    Configuration menu
    Copy the full SHA
    3437e63 View commit details
    Browse the repository at this point in the history

Commits on Jan 1, 2026

  1. Fix package name and formatting in docs/pyproject.toml

    Co-authored-by: mykaul <[email protected]>
    2 people authored and dkropachev committed Jan 1, 2026
    Configuration menu
    Copy the full SHA
    404ded9 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2026

  1. Add agent configurations and instructions for GPT-4.1 and GPT-5 in th…

    …e documentation
    nikagra authored and dkropachev committed Jan 12, 2026
    Configuration menu
    Copy the full SHA
    5394135 View commit details
    Browse the repository at this point in the history
  2. Fixing pom.xml formatting issue 📝

    nikagra authored and dkropachev committed Jan 12, 2026
    Configuration menu
    Copy the full SHA
    05b65f6 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2026

  1. Switch all Node API to use List instead of Set

    Set - doesn't guarantee the order.
    When driver works with Nodes, say read replicas from TokenMap, Tablets,
    calculate replicas, API user should expect that order does matter and
    preserved.
    For that we need to switch all these APIs and internal structures to use
    Lists
    dkropachev committed Jan 19, 2026
    Configuration menu
    Copy the full SHA
    3f5b19e View commit details
    Browse the repository at this point in the history
  2. Make python suppress warnings

    Python warnings discrupts logic that parses ccm results.
    In order to avoid test failures on modern environment we better suppress
    them.
    dkropachev committed Jan 19, 2026
    Configuration menu
    Copy the full SHA
    4f3b93f View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2026

  1. cicd: update get-version to 0.4.3

    It will help to handle rate limit error
    dkropachev committed Jan 23, 2026
    Configuration menu
    Copy the full SHA
    f1456a1 View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2026

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

Commits on Jan 27, 2026

  1. Bump org.assertj:assertj-core from 3.27.6 to 3.27.7

    Bumps [org.assertj:assertj-core](https://github.com/assertj/assertj) from 3.27.6 to 3.27.7.
    - [Release notes](https://github.com/assertj/assertj/releases)
    - [Commits](assertj/assertj@assertj-build-3.27.6...assertj-build-3.27.7)
    
    ---
    updated-dependencies:
    - dependency-name: org.assertj:assertj-core
      dependency-version: 3.27.7
      dependency-type: direct:production
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    dependabot[bot] authored and dkropachev committed Jan 27, 2026
    Configuration menu
    Copy the full SHA
    6c0f82b View commit details
    Browse the repository at this point in the history
  2. feat: introduce RequestRoutingType and RequestRoutingMethod enums

    - Added RequestRoutingType and RequestRoutingMethod enums to define request routing strategies.
    - Updated DefaultLoadBalancingPolicy to consider request routing type for replica selection, especially for LWT requests.
    - Updated various graph statement classes (BytecodeGraphStatement, DefaultBatchGraphStatement, DefaultFluentGraphStatement, DefaultScriptGraphStatement) to implement getRequestRoutingType method.
    - Modified BatchStatementBuilder to set request routing type based on LWT status.
    - Enhanced DefaultBatchStatement, DefaultBoundStatement, DefaultPrepareRequest, and DefaultSimpleStatement to include routing type in constructors and methods.
    - Added logic to avoid slow replicas based on health checks and in-flight requests.
    nikagra authored and dkropachev committed Jan 27, 2026
    Configuration menu
    Copy the full SHA
    56ff171 View commit details
    Browse the repository at this point in the history
  3. Add configurable LWT request routing method

    Introduce RequestRoutingType to distinguish LWT from regular queries and
    add a new configuration option to control LWT routing behavior.
    
    The new `advanced.load-balancing-policy.default-lwt-request-routing-method`
    option allows choosing between:
    - REGULAR: Default shuffling and slow replica avoidance
    - PRESERVE_REPLICA_ORDER: Maintains replica order from partitioner
    
    Changes:
    - Add RequestRoutingType enum (REGULAR, LWT) to classify requests
    - Remove unused RequestRoutingMethod enum from Request interface
    - Thread RequestRoutingType through Statement builders and implementations
    - Update DefaultLoadBalancingPolicy to route LWT queries according to config
    - Add corresponding TypedDriverOption and OptionsMap support
    - Update prepared statement creation to detect and mark LWT queries
    - Remove RequestRoutingMethod.getRoutingMethod() default method
    
    This enables optimized LWT performance by avoiding unnecessary shuffling
    when replica order preservation is beneficial for linearizability.
    
    refactor: update LWT request routing method to preserve replica order
    nikagra authored and dkropachev committed Jan 27, 2026
    Configuration menu
    Copy the full SHA
    19acf4d View commit details
    Browse the repository at this point in the history
  4. Fix code style and improve test consistency for LWT feature

    - Fix Javadoc positioning: Move @nonnull annotations after doc comments
      in DefaultLoadBalancingPolicy methods (per Java conventions)
    - Add missing @nonnull annotation to StatementBuilderTest mock builder
    - Add @nullable annotation to NodeStateIT query plan method signature
    - Standardize test infrastructure:
      * Add @RunWith(MockitoJUnitRunner.Silent.class) to 7 test classes
      * Update LoadBalancingPolicyTestBase to stub LWT routing config option
      * Convert base class from @RunWith to abstract (subclasses now declare runner)
    - Standardize integration test naming: ccmRule→CCM_RULE, sessionRule→SESSION_RULE
    - Update test mocks with RequestRoutingType.REGULAR parameter for compatibility
    - Improve LWT integration tests:
      * BatchStatementIT: Fix variable references, enhance LWT batch assertions
      * LWTLoadBalancingIT: Change from single-node to replica-set validation
      * Add LWTLoadBalancingMultiDcIT: New multi-DC LWT routing test coverage
    
    No functional changes to production code—purely code quality and test improvements.
    
    Apply suggestions from code review
    
    Co-authored-by: Dmitry Kropachev <[email protected]>
    nikagra and dkropachev committed Jan 27, 2026
    Configuration menu
    Copy the full SHA
    3d3cea4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    88f5247 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2026

  1. Add TODO.md to .gitignore

    dkropachev committed Jan 30, 2026
    Configuration menu
    Copy the full SHA
    c2d9b4f View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2026

  1. Configuration menu
    Copy the full SHA
    39b7e08 View commit details
    Browse the repository at this point in the history
Loading