sanpwc commented on a change in pull request #307:
URL: https://github.com/apache/ignite-3/pull/307#discussion_r700890890



##########
File path: 
modules/metastorage-client/src/main/java/org/apache/ignite/internal/metastorage/client/MetaStorageServiceImpl.java
##########
@@ -177,7 +178,8 @@ public MetaStorageServiceImpl(RaftGroupService 
metaStorageRaftGrpSvc, String loc
     @Override public @NotNull Cursor<Entry> range(@NotNull ByteArray keyFrom, 
@Nullable ByteArray keyTo, long revUpperBound) {
         return new CursorImpl<>(
                 metaStorageRaftGrpSvc,
-                metaStorageRaftGrpSvc.run(new RangeCommand(keyFrom, keyTo, 
revUpperBound, localNodeId)),
+                metaStorageRaftGrpSvc.run(
+                    new RangeCommand(keyFrom, keyTo, revUpperBound, 
localNodeId, new IgniteUuid(UUID.randomUUID(), 0L))),

Review comment:
       Let's use org.apache.ignite.lang.IgniteUuidGenerator#randomUuid istead.




-- 
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]


Reply via email to