Skip to content

Handling error types when the decision is crucial for correctness/performance #1451

@Lorak-mmk

Description

@Lorak-mmk

There are multiple places in the driver where we inspect the error, and perform some actions based on what it is.
Those places include:

  • retry policies
  • speculative execution
  • lbp latency measure
  • USE KEYSPACE results handling

In #1083 all those places gained a lint that forces precise handling of those errors (no wildcards). What is missing is an informed decision about each error on how to handle .
In order to not delay the PR any more, let's continue the discussion here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions