smengcl commented on code in PR #4470:
URL: https://github.com/apache/ozone/pull/4470#discussion_r1173083494
##########
hadoop-hdds/rocks-native/src/main/java/org/apache/hadoop/hdds/utils/db/managed/ManagedSSTDumpIterator.java:
##########
@@ -43,18 +43,18 @@
private static final Logger LOG =
LoggerFactory.getLogger(ManagedSSTDumpIterator.class);
+ // Since we don't have any restriction on the key, we are prepending
+ // the length of the pattern in the sst dump tool output.
+ // The first token in the pattern is the key.
+ // The second tells the sequence number of the key.
+ // The third token gives the type of key in the sst file.
private static final String PATTERN_REGEX =
- "'([^=>]+)' seq:([0-9]+), type:([0-9]+) => ";
-
+ "'([\\s\\S]+)' seq:([0-9]+), type:([0-9]+)";
Review Comment:
```suggestion
"'([\\s\\S]+)' seq:([0-9]+), type:([0-9]+)";
```
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]