ivandasch commented on code in PR #10430:
URL: https://github.com/apache/ignite/pull/10430#discussion_r1054323415
##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/SnapshotMetadata.java:
##########
@@ -174,6 +188,16 @@ public Map<Integer, Set<Integer>> partitions() {
return Collections.unmodifiableMap(locParts);
}
+ /** */
+ public boolean isGroupWithCompresion(int grpId) {
+ return hasComprGrps && comprGrpIds.contains(grpId);
+ }
+
+ /** */
+ public boolean hasCompressedGroups() {
+ return hasComprGrps;
Review Comment:
Flag is better here, because of backward compatibility. We can add field and
if field has not been serialized in older version, this flag will be false.
--
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]