retrydb

package
v1.118.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2024 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Overview

package retrydb provides logic for determining whether transactions can or should be retried after they are aborted.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ShouldRetry

func ShouldRetry(err error) bool

ShouldRetry indicates, given a query execution error, whether the query should be (and can safely be) retried.

func ShouldRetryIdempotent

func ShouldRetryIdempotent(err error) bool

ShouldRetryIdempotent indicates, given a query execution error, whether an idempotent query should be (and can safely be) retried.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL