Cyrill commented on code in PR #7395:
URL: https://github.com/apache/ignite-3/pull/7395#discussion_r2694231082
##########
modules/raft-api/src/main/java/org/apache/ignite/internal/raft/rebalance/RaftConfigurationException.java:
##########
@@ -15,26 +15,19 @@
* limitations under the License.
*/
-package org.apache.ignite.internal.pagememory;
+package org.apache.ignite.internal.raft.rebalance;
+
+import org.apache.ignite.internal.lang.IgniteInternalCheckedException;
/**
- * A test implementation of the {@link DataRegion} interface that returns the
associated {@link PageMemory} instance.
- * The region size is fixed at {@code 0} for testing purposes.
+ * Exception thrown when a RAFT configuration change fails due to
non-recoverable errors
+ * such as the node being in an invalid state (EPERM) or invalid arguments
(EINVAL).
+ *
+ * <p>This exception is non-recoverable and should not be retried.
*/
-public class TestDataRegion<T extends PageMemory> implements DataRegion<T> {
- private final T pageMemory;
-
- public TestDataRegion(T pageMemory) {
- this.pageMemory = pageMemory;
- }
-
- @Override
- public T pageMemory() {
- return pageMemory;
- }
+public class RaftConfigurationException extends IgniteInternalCheckedException
{
Review Comment:
Renamed to `RaftPeerConfigurationException `
--
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]