rpuch commented on code in PR #1331:
URL: https://github.com/apache/ignite-3/pull/1331#discussion_r1021320950
##########
modules/page-memory/src/main/java/org/apache/ignite/internal/pagememory/persistence/io/PartitionMetaIo.java:
##########
@@ -83,6 +88,30 @@ public void setLastAppliedIndex(long pageAddr, long
lastAppliedIndex) {
putLong(pageAddr, LAST_APPLIED_INDEX_OFF, lastAppliedIndex);
}
+ /**
+ * Sets a last applied term value.
+ *
+ * @param pageAddr Page address.
+ * @param lastAppliedTerm Last applied term value.
+ */
+ public void setLastAppliedTerm(long pageAddr, long lastAppliedTerm) {
+ assertPageType(pageAddr);
+
+ putLong(pageAddr, LAST_APPLIED_TERM_OFF, lastAppliedTerm);
+ }
+
+ /**
+ * Sets last group config.
+ *
+ * @param pageAddr Page address.
+ * @param lastGroupConfig Byte representation of last group config..
+ */
+ public void setLastGroupConfig(long pageAddr, byte @Nullable []
lastGroupConfig) {
+ assertPageType(pageAddr);
+
+ // TODO: IGNITE-18118 - implement
Review Comment:
I added a description to https://issues.apache.org/jira/browse/IGNITE-18118
This discusses a couple of alternatives and requires a discussion.
--
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]