sashapolo commented on code in PR #795:
URL: https://github.com/apache/ignite-3/pull/795#discussion_r878855974
##########
modules/cluster-management/src/main/java/org/apache/ignite/internal/cluster/management/raft/RaftStorageManager.java:
##########
@@ -35,15 +37,14 @@
* A wrapper around a {@link ClusterStateStorage} which provides convenient
methods.
*/
class RaftStorageManager {
- /**
- * Storage key for the CMG state.
- */
- private static final byte[] CMG_STATE_KEY =
"cmg_state".getBytes(StandardCharsets.UTF_8);
+ /** Storage key for the CMG state. */
+ private static final byte[] CMG_STATE_KEY = "cmg_state".getBytes(UTF_8);
- /**
- * Prefix for the keys for logical topology nodes.
- */
- private static final byte[] LOGICAL_TOPOLOGY_PREFIX =
"logical_".getBytes(StandardCharsets.UTF_8);
+ /** Prefix for the keys for logical topology nodes. */
+ private static final byte[] LOGICAL_TOPOLOGY_PREFIX =
"logical_".getBytes(UTF_8);
+
+ /** Prefix for validation tokens. */
+ private static final byte[] VALIDATION_TOKEN_PREFIX =
"validation_".getBytes(UTF_8);
Review Comment:
A shorter prefix is preferable for this case, it's not meant to be read by
humans anyway
--
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]