google / google/trillian

MySQL storage should not return SQL-specific errors

Open
#2,341 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
3.7k
Forks
465
Avg merge
2d 16h
Merged PRs (30d)
5

Description

The are conditions under which SQL-specific errors slip all the way to the client.

Example of what this can cause: #2340, reproduced in #2342.

We should either allow this in storage APIs, or fix MySQL implementation to wrap these errors into "generic" ones.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.