shishkovilja commented on code in PR #13409:
URL: https://github.com/apache/ignite/pull/13409#discussion_r3710069842
##########
modules/core/src/main/java/org/apache/ignite/internal/processors/metastorage/persistence/DistributedMetaStorageImpl.java:
##########
@@ -961,30 +942,34 @@ private DistributedMetaStorageKeyValuePair[]
localFullData() {
DistributedMetaStorageClusterNodeData nodeData = data.commonData();
if (nodeData != null) {
- if (nodeData.fullData != null) {
- ver = nodeData.ver;
+ // Cached unwrapped history.
+ DistributedMetaStorageHistoryItem[] newHist = null;
Review Comment:
Initialized and used in second if block (line 958). Let's move it near or
inside it.
--
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]