Return an error when trying to store a too-large key with Raft (#13282)

This commit is contained in:
Nick Cabatoff
2021-11-25 14:07:03 -05:00
committed by GitHub
parent 29561c7107
commit 859cf45d05
4 changed files with 37 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ const (
const (
ErrValueTooLarge = "put failed due to value being too large"
ErrKeyTooLarge = "put failed due to key being too large"
)
// Backend is the interface required for a physical