You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by vo...@apache.org on 2016/03/09 07:48:38 UTC
[05/18] ignite git commit: IGNITE-2575 Add limit on minimal value of
IGFS IPC port configuration. Delete method
IGNITE-2575 Add limit on minimal value of IGFS IPC port configuration. Delete method
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/d5f0cc80
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/d5f0cc80
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/d5f0cc80
Branch: refs/heads/ignite-2753
Commit: d5f0cc8034fbbe6c34e1061fb7171e9574307413
Parents: 88a11b4
Author: dkarachentsev <dk...@gridgain.com>
Authored: Mon Feb 15 11:24:15 2016 +0300
Committer: dkarachentsev <dk...@gridgain.com>
Committed: Mon Feb 15 11:24:15 2016 +0300
----------------------------------------------------------------------
.../internal/processors/igfs/IgfsProcessor.java | 18 ------------------
1 file changed, 18 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ignite/blob/d5f0cc80/modules/core/src/main/java/org/apache/ignite/internal/processors/igfs/IgfsProcessor.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/igfs/IgfsProcessor.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/igfs/IgfsProcessor.java
index 0b89255..6a00f73 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/igfs/IgfsProcessor.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/igfs/IgfsProcessor.java
@@ -364,24 +364,6 @@ public class IgfsProcessor extends IgfsProcessorAdapter {
}
/**
- * Checks whether endpoint TCP port is in valid range.
- * <p>
- * Zero port is not supported, because in that case random one
- * will be picked on each node.
- * @param igfsIpcCfg endpoint configuration to examine.
- * @throws IgniteCheckedException
- */
- private void validateIgfsIpcEndpointCfg(final @Nullable IgfsIpcEndpointConfiguration igfsIpcCfg) throws IgniteCheckedException {
- if (igfsIpcCfg != null) {
- final int tcpPort = igfsIpcCfg.getPort();
- if (!(tcpPort >= MIN_TCP_PORT && tcpPort <= MAX_TCP_PORT))
- throw new IgniteCheckedException(String.format(
- "IGFS endpoint TCP port must be in range %s..%s, but set %s",
- MIN_TCP_PORT, MAX_TCP_PORT, tcpPort));
- }
- }
-
- /**
* @param cacheName Cache name.
* @return Configuration.
*/