Phillippko commented on code in PR #7958:
URL: https://github.com/apache/ignite-3/pull/7958#discussion_r3092169842
##########
modules/raft/src/main/java/org/apache/ignite/internal/raft/storage/segstore/SegmentFileManager.java:
##########
@@ -114,6 +114,11 @@ class SegmentFileManager implements ManuallyCloseable {
*/
static final byte[] SWITCH_SEGMENT_RECORD = new byte[8]; // 8 zero bytes.
+ /**
+ * Special "destroy group" sentinel value for the log reset index.
+ */
+ static final long GROUP_DESTROY_LOG_INDEX = 0L;
Review Comment:
-1 is already used in putIndexFileMeta, but not extracted into constant
value, let's fix that to avoid incidents?
--
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]