This is an automated email from the ASF dual-hosted git repository. krathbun pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/accumulo.git
The following commit(s) were added to refs/heads/main by this push: new 7db0362961 fix issue with converting text to string in MetadataConstraints 4.0 (#4896) 7db0362961 is described below commit 7db036296166e15df2fbc8261a8c7a6a72ff3a7f Author: Kevin Rathbun <krath...@apache.org> AuthorDate: Mon Sep 23 16:08:02 2024 -0400 fix issue with converting text to string in MetadataConstraints 4.0 (#4896) * fix issue with converting text to string in MetadataConstraints --- .../org/apache/accumulo/server/constraints/MetadataConstraints.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/base/src/main/java/org/apache/accumulo/server/constraints/MetadataConstraints.java b/server/base/src/main/java/org/apache/accumulo/server/constraints/MetadataConstraints.java index a23a42baf3..9cc9baa9ba 100644 --- a/server/base/src/main/java/org/apache/accumulo/server/constraints/MetadataConstraints.java +++ b/server/base/src/main/java/org/apache/accumulo/server/constraints/MetadataConstraints.java @@ -201,7 +201,7 @@ public class MetadataConstraints implements Constraint { validateColValLen(violations, columnUpdate); - switch (new String(columnFamily.getBytes(), UTF_8)) { + switch (columnFamily.toString()) { case TabletColumnFamily.STR_NAME: validateTabletFamily(violations, columnUpdate, mutation); break;