Skip to content

Commit 60733ec

Browse files
feeblefakieKodaiD
andauthored
Backport to branch(3.17) : Fix the upper limit value displayed in the error message (#3266)
Co-authored-by: Kodai Doki <52027276+KodaiD@users.noreply.github.com>
1 parent afff3bf commit 60733ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/com/scalar/db/storage/objectstorage/ObjectStorageOperationChecker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public void visit(BlobColumn column) {
6161
if (buffer.remaining() > allowedLength) {
6262
throw new IllegalArgumentException(
6363
CoreError.OBJECT_STORAGE_BLOB_EXCEEDS_MAX_LENGTH_ALLOWED.buildMessage(
64-
Serializer.MAX_STRING_LENGTH_ALLOWED, column.getName(), buffer.remaining()));
64+
allowedLength, column.getName(), buffer.remaining()));
6565
}
6666
}
6767

0 commit comments

Comments
 (0)