ctubbsii commented on code in PR #5924:
URL: https://github.com/apache/accumulo/pull/5924#discussion_r2380084442
##########
core/src/main/java/org/apache/accumulo/core/data/constraints/DefaultKeySizeConstraint.java:
##########
@@ -68,6 +72,9 @@ public List<Short> check(Environment env, Mutation mutation) {
if (size > maxSize) {
violations.add(MAX__KEY_SIZE_EXCEEDED_VIOLATION);
+ Key k = new Key(mutation.getRow(), cu.getColumnFamily(),
cu.getColumnQualifier(),
+ cu.getColumnVisibility(), cu.getTimestamp(), cu.isDeleted());
+ LOG.info("Constraint violation. Key {} (size = {}) larger than 1MB",
k, size);
Review Comment:
In my comment above, I think I might have been confused about which class
was deprecated :smiley_cat:
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]