sashapolo commented on code in PR #1076:
URL: https://github.com/apache/ignite-3/pull/1076#discussion_r973964448
##########
modules/rocksdb-common/src/main/java/org/apache/ignite/internal/rocksdb/RocksUtils.java:
##########
@@ -83,28 +83,28 @@ public static void checkIterator(RocksIterator it) {
* <p>This method tries to increment the least significant byte (in BE
order) that is not equal to 0xFF (bytes are treated as
* unsigned values).
*
- * @param rangeStart Start of a range of keys (prefix) in RocksDB.
+ * @param array Start of a range of keys (prefix) in RocksDB.
* @return End of a range of keys in RocksDB or {@code null} if all bytes
of the prefix are equal to 0xFF.
*/
- public static byte @Nullable [] rangeEnd(byte[] rangeStart) {
- byte[] rangeEnd = rangeStart.clone();
+ public static byte @Nullable [] incrementArray(byte[] array) {
Review Comment:
Unfortunately this is not an equivalent transformation
--
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]