sanpwc commented on code in PR #6715:
URL: https://github.com/apache/ignite-3/pull/6715#discussion_r2413373583
##########
modules/raft/src/main/java/org/apache/ignite/raft/jraft/storage/snapshot/local/LocalSnapshotCopier.java:
##########
@@ -260,6 +260,10 @@ private void loadMetaTable() throws InterruptedException {
setError(session.status().getCode(),
session.status().getErrorMsg());
return;
}
+ // No need in further snapshot processing if it was already
cancelled and the metaBuf is null.
+ if (metaBuf.getBuffer() == null && session.status().isCanceled()) {
Review Comment:
What do you mean? The intent is to prevent further processing is metaBuf is
null and request was canceled.
--
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]