AMashenkov commented on code in PR #1191:
URL: https://github.com/apache/ignite-3/pull/1191#discussion_r1000347160
##########
modules/table/src/integrationTest/java/org/apache/ignite/distributed/ItTablePersistenceTest.java:
##########
@@ -197,7 +197,7 @@ public void afterSnapshot(RaftGroupService service) throws
Exception {
@Override
public BooleanSupplier snapshotCheckClosure(JraftServerImpl restarted,
boolean interactedAfterSnapshot) {
MvPartitionStorage storage = getListener(restarted,
raftGroupId()).getStorage();
- Map<ByteBuffer, RowId> primaryIndex = getListener(restarted,
raftGroupId()).getPk();
+ Map<ByteBuffer, RowId> primaryIndex = null; // getListener(restarted,
raftGroupId()).getPk();
Review Comment:
This will cause NPE in line 206 below.
--
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]