{"action":"created","issue":{"url":"https://api.github.com/repos/hazelcast/hazelcast/issues/5444","repository_url":"https://api.github.com/repos/hazelcast/hazelcast","labels_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/5444/labels{/name}","comments_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/5444/comments","events_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/5444/events","html_url":"https://github.com/hazelcast/hazelcast/issues/5444","id":84563561,"number":5444,"title":"Lost data if a node is killed during data repartition","user":{"login":"elmor","id":6813146,"avatar_url":"https://avatars.githubusercontent.com/u/6813146?v=3","gravatar_id":"","url":"https://api.github.com/users/elmor","html_url":"https://github.com/elmor","followers_url":"https://api.github.com/users/elmor/followers","following_url":"https://api.github.com/users/elmor/following{/other_user}","gists_url":"https://api.github.com/users/elmor/gists{/gist_id}","starred_url":"https://api.github.com/users/elmor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elmor/subscriptions","organizations_url":"https://api.github.com/users/elmor/orgs","repos_url":"https://api.github.com/users/elmor/repos","events_url":"https://api.github.com/users/elmor/events{/privacy}","received_events_url":"https://api.github.com/users/elmor/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hazelcast/hazelcast/labels/Team:%20Core","name":"Team: Core","color":"109def"},{"url":"https://api.github.com/repos/hazelcast/hazelcast/labels/Type:%20Critical","name":"Type: Critical","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"metanet","id":999867,"avatar_url":"https://avatars.githubusercontent.com/u/999867?v=3","gravatar_id":"","url":"https://api.github.com/users/metanet","html_url":"https://github.com/metanet","followers_url":"https://api.github.com/users/metanet/followers","following_url":"https://api.github.com/users/metanet/following{/other_user}","gists_url":"https://api.github.com/users/metanet/gists{/gist_id}","starred_url":"https://api.github.com/users/metanet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metanet/subscriptions","organizations_url":"https://api.github.com/users/metanet/orgs","repos_url":"https://api.github.com/users/metanet/repos","events_url":"https://api.github.com/users/metanet/events{/privacy}","received_events_url":"https://api.github.com/users/metanet/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/hazelcast/hazelcast/milestones/70","html_url":"https://github.com/hazelcast/hazelcast/milestones/3.7","labels_url":"https://api.github.com/repos/hazelcast/hazelcast/milestones/70/labels","id":1346433,"number":70,"title":"3.7","description":"","creator":{"login":"pveentjer","id":105243,"avatar_url":"https://avatars.githubusercontent.com/u/105243?v=3","gravatar_id":"","url":"https://api.github.com/users/pveentjer","html_url":"https://github.com/pveentjer","followers_url":"https://api.github.com/users/pveentjer/followers","following_url":"https://api.github.com/users/pveentjer/following{/other_user}","gists_url":"https://api.github.com/users/pveentjer/gists{/gist_id}","starred_url":"https://api.github.com/users/pveentjer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pveentjer/subscriptions","organizations_url":"https://api.github.com/users/pveentjer/orgs","repos_url":"https://api.github.com/users/pveentjer/repos","events_url":"https://api.github.com/users/pveentjer/events{/privacy}","received_events_url":"https://api.github.com/users/pveentjer/received_events","type":"User","site_admin":false},"open_issues":178,"closed_issues":266,"state":"open","created_at":"2015-10-09T12:16:13Z","updated_at":"2016-03-24T07:34:43Z","due_on":"2016-05-02T21:00:00Z","closed_at":null},"comments":34,"created_at":"2015-06-03T13:27:38Z","updated_at":"2016-03-24T10:24:51Z","closed_at":null,"body":"Hi,\r\n\r\nI am evaluating HazelCast 3.42 against Coherence and I experienced a strange behavior with Hazelcast.\r\n\r\n I have a cluster of two nodes(I will name them node1 and node2) and two clients \r\n\r\n\r\nI have a map name “toto” (I joined the hazelcast configuration file server.xml) \r\n\r\n1.       I inserted 100000 entries into the map=> all is ok.\r\n\r\n2.       I kill the node  node2. All is ok I found the 100000 entries into the node1.\r\n\r\n3.       I restart the node2.  While node2 is synchronizing with node1, I kill again node2.\r\n\r\n4.       Node1 only have 51919 elements L I lost 48081 entries L (The pb seems to be due to the partitioning)\r\n\r\n \r\n\r\nHo  How can I avoid to lose elements of a node is killed during synchronisation ?\r\n\r\n \r\n\r\nI can see the following errors in the log file of my server\r\n\r\nMembers [1] {\r\n\r\n            Member [192.88.65.124]:5701 this\r\n\r\n}\r\n\r\n> \r\n\r\n####<Jun 2, 2015 3:03:43 PM CEST> <Info> <com.hazelcast.partition.InternalPartitionService> <dcaclx01.dns21.socgen> <Hazel1> <hz._hzInstance_1_dev.migration> <<anonymous>> <> <> <1433250223501> <BEA-000000> <[192.88.65.124]:5701 [dev] [3.4.2] Partition balance is ok, no need to re-partition cluster data... > \r\n\r\n####<Jun 2, 2015 3:05:14 PM CEST> <Info> <Health> <dcaclx01.dns21.socgen> <Hazel1> <weblogic.GCMonitor> <<anonymous>> <> <> <1433250314135> <BEA-310002> <79% of the total memory in the server is free.> \r\n\r\n####<Jun 2, 2015 3:05:41 PM CEST> <Info> <com.hazelcast.nio.tcp.SocketAcceptor> <dcaclx01.dns21.socgen> <Hazel1> <hz._hzInstance_1_dev.IO.thread-Acceptor> <<anonymous>> <> <> <1433250341255> <BEA-000000> <[192.88.65.124]:5701 [dev] [3.4.2] Accepting socket connection from /192.88.65.123:2247> \r\n\r\n####<Jun 2, 2015 3:05:41 PM CEST> <Info> <com.hazelcast.nio.tcp.TcpIpConnectionManager> <dcaclx01.dns21.socgen> <Hazel1> <hz._hzInstance_1_dev.cached.thread-4> <<anonymous>> <> <> <1433250341267> <BEA-000000> <[192.88.65.124]:5701 [dev] [3.4.2] Established socket connection between /192.88.65.124:5701 and dcaclx02.dns21-3.socgen/192.88.65.123:2247> \r\n\r\n####<Jun 2, 2015 3:05:47 PM CEST> <Info> <com.hazelcast.cluster.ClusterService> <dcaclx01.dns21.socgen> <Hazel1> <hz._hzInstance_1_dev.generic-operation.thread-1> <<anonymous>> <> <> <1433250347267> <BEA-000000> <[192.88.65.124]:5701 [dev] [3.4.2] \r\n\r\n \r\n\r\nMembers [2] {\r\n\r\n            Member [192.88.65.124]:5701 this\r\n\r\n            Member [192.88.65.123]:5701\r\n\r\n}\r\n\r\n> \r\n\r\n####<Jun 2, 2015 3:05:47 PM CEST> <Info> <com.hazelcast.partition.InternalPartitionService> <dcaclx01.dns21.socgen> <Hazel1> <hz._hzInstance_1_dev.migration> <<anonymous>> <> <> <1433250347582> <BEA-000000> <[192.88.65.124]:5701 [dev] [3.4.2] Re-partitioning cluster data... Migration queue size: 135>\r\n\r\n####<Jun 2, 2015 3:05:48 PM CEST> <Info> <com.hazelcast.nio.tcp.TcpIpConnection> <dcaclx01.dns21.socgen> <Hazel1> <hz._hzInstance_1_dev.IO.thread-in-2> <<anonymous>> <> <> <1433250348783> <BEA-000000> <[192.88.65.124]:5701 [dev] [3.4.2] Connection [Address[192.88.65.123]:5701] lost. Reason: java.io.EOFException[Remote socket closed!]>\r\n\r\n####<Jun 2, 2015 3:05:48 PM CEST> <Warning> <com.hazelcast.nio.tcp.ReadHandler> <dcaclx01.dns21.socgen> <Hazel1> <hz._hzInstance_1_dev.IO.thread-in-2> <<anonymous>> <> <> <1433250348786> <BEA-000000> <[192.88.65.124]:5701 [dev] [3.4.2] hz._hzInstance_1_dev.IO.thread-in-2 Closing socket to endpoint Address[192.88.65.123]:5701, Cause:java.io.EOFException: Remote socket closed!>\r\n\r\n####<Jun 2, 2015 3:05:49 PM CEST> <Info> <com.hazelcast.partition.InternalPartitionService> <dcaclx01.dns21.socgen> <Hazel1> <hz._hzInstance_1_dev.migration> <<anonymous>> <> <> <1433250349207> <BEA-000000> <[192.88.65.124]:5701 [dev] [3.4.2] All migration tasks have been completed, queues are empty.>\r\n\r\n####<Jun 2, 2015 3:05:49 PM CEST> <Info> <com.hazelcast.nio.tcp.SocketConnector> <dcaclx01.dns21.socgen> <Hazel1> <hz._hzInstance_1_dev.cached.thread-5> <<anonymous>> <> <> <1433250349490> <BEA-000000> <[192.88.65.124]:5701 [dev] [3.4.2] Connecting to /192.88.65.123:5701, timeout: 0, bind-any: true>\r\n\r\n####<Jun 2, 2015 3:05:49 PM CEST> <Info> <com.hazelcast.nio.tcp.SocketConnector> <dcaclx01.dns21.socgen> <Hazel1> <hz._hzInstance_1_dev.cached.thread-5> <<anonymous>> <> <> <1433250349511> <BEA-000000> <[192.88.65.124]:5701 [dev] [3.4.2] Could not connect to: /192.88.65.123:5701. Reason: SocketException[Connection refused to address /192.88.65.123:5701]>\r\n\r\n####<Jun 2, 2015 3:05:49 PM CEST> <Info> <com.hazelcast.nio.tcp.SocketConnector> <dcaclx01.dns21.socgen> <Hazel1> <hz._hzInstance_1_dev.cached.thread-4> <<anonymous>> <> <> <1433250349716> <BEA-000000> <[192.88.65.124]:5701 [dev] [3.4.2] Connecting to /192.88.65.123:5701, timeout: 0, bind-any: true>\r\n\r\n####<Jun 2, 2015 3:05:49 PM CEST> <Info> <com.hazelcast.nio.tcp.SocketConnector> <dcaclx01.dns21.socgen> <Hazel1> <hz._hzInstance_1_dev.cached.thread-4> <<anonymous>> <> <> <1433250349717> <BEA-000000> <[192.88.65.124]:5701 [dev] [3.4.2] Could not connect to: /192.88.65.123:5701. Reason: SocketException[Connection refused to address /192.88.65.123:5701]>\r\n\r\n####<Jun 2, 2015 3:05:49 PM CEST> <Info> <com.hazelcast.nio.tcp.SocketConnector> <dcaclx01.dns21.socgen> <Hazel1> <hz._hzInstance_1_dev.cached.thread-4> <<anonymous>> <> <> <1433250349717> <BEA-000000> <[192.88.65.124]:5701 [dev] [3.4.2] Connecting to /192.88.65.123:5701, timeout: 0, bind-any: true>\r\n\r\n####<Jun 2, 2015 3:05:49 PM CEST> <Info> <com.hazelcast.nio.tcp.SocketConnector> <dcaclx01.dns21.socgen> <Hazel1> <hz._hzInstance_1_dev.cached.thread-4> <<anonymous>> <> <> <1433250349719> <BEA-000000> <[192.88.65.124]:5701 [dev] [3.4.2] Could not connect to: /192.88.65.123:5701. Reason: SocketException[Connection refused to address /192.88.65.123:5701]>\r\n\r\n####<Jun 2, 2015 3:05:49 PM CEST> <Info> <com.hazelcast.nio.tcp.SocketConnector> <dcaclx01.dns21.socgen> <Hazel1> <hz._hzInstance_1_dev.cached.thread-4> <<anonymous>> <> <> <1433250349719> <BEA-000000> <[192.88.65.124]:5701 [dev] [3.4.2] Connecting to /192.88.65.123:5701, timeout: 0, bind-any: true>\r\n\r\n####<Jun 2, 2015 3:05:49 PM CEST> <Info> <com.hazelcast.nio.tcp.SocketConnector> <dcaclx01.dns21.socgen> <Hazel1> <hz._hzInstance_1_dev.cached.thread-4> <<anonymous>> <> <> <1433250349725> <BEA-000000> <[192.88.65.124]:5701 [dev] [3.4.2] Could not connect to: /192.88.65.123:5701. Reason: SocketException[Connection refused to address /192.88.65.123:5701]>\r\n\r\n####<Jun 2, 2015 3:05:49 PM CEST> <Info> <com.hazelcast.nio.tcp.SocketConnector> <dcaclx01.dns21.socgen> <Hazel1> <hz._hzInstance_1_dev.cached.thread-1> <<anonymous>> <> <> <1433250349727> <BEA-000000> <[192.88.65.124]:5701 [dev] [3.4.2] Connecting to /192.88.65.123:5701, timeout: 0, bind-any: true>\r\n\r\n####<Jun 2, 2015 3:05:49 PM CEST> <Info> <com.hazelcast.nio.tcp.SocketConnector> <dcaclx01.dns21.socgen> <Hazel1> <hz._hzInstance_1_dev.cached.thread-1> <<anonymous>> <> <> <1433250349728> <BEA-000000> <[192.88.65.124]:5701 [dev] [3.4.2] Could not connect to: /192.88.65.123:5701. Reason: SocketException[Connection refused to address /192.88.65.123:5701]>\r\n\r\n####<Jun 2, 2015 3:05:50 PM CEST> <Info> <com.hazelcast.nio.tcp.SocketConnector> <dcaclx01.dns21.socgen> <Hazel1> <hz._hzInstance_1_dev.cached.thread-1> <<anonymous>> <> <> <1433250350491> <BEA-000000> <[192.88.65.124]:5701 [dev] [3.4.2] Connecting to /192.88.65.123:5701, timeout: 0, bind-any: true>\r\n\r\n####<Jun 2, 2015 3:05:50 PM CEST> <Info> <com.hazelcast.nio.tcp.SocketConnector> <dcaclx01.dns21.socgen> <Hazel1> <hz._hzInstance_1_dev.cached.thread-1> <<anonymous>> <> <> <1433250350493> <BEA-000000> <[192.88.65.124]:5701 [dev] [3.4.2] Could not connect to: /192.88.65.123:5701. Reason: SocketException[Connection refused to address /192.88.65.123:5701]>\r\n\r\n####<Jun 2, 2015 3:05:50 PM CEST> <Warning> <com.hazelcast.nio.tcp.TcpIpConnectionMonitor> <dcaclx01.dns21.socgen> <Hazel1> <hz._hzInstance_1_dev.cached.thread-1> <<anonymous>> <> <> <1433250350495> <BEA-000000> <[192.88.65.124]:5701 [dev] [3.4.2] Removing connection to endpoint Address[192.88.65.123]:5701 Cause => java.net.SocketException {Connection refused to address /192.88.65.123:5701}, Error-Count: 5>\r\n\r\n####<Jun 2, 2015 3:05:50 PM CEST> <Info> <com.hazelcast.cluster.ClusterService> <dcaclx01.dns21.socgen> <Hazel1> <hz._hzInstance_1_dev.cached.thread-3> <<anonymous>> <> <> <1433250350495> <BEA-000000> <[192.88.65.124]:5701 [dev] [3.4.2] Removing Member [192.88.65.123]:5701>\r\n\r\n####<Jun 2, 2015 3:05:50 PM CEST> <Info> <com.hazelcast.cluster.ClusterService> <dcaclx01.dns21.socgen> <Hazel1> <hz._hzInstance_1_dev.cached.thread-3> <<anonymous>> <> <> <1433250350503> <BEA-000000> <[192.88.65.124]:5701 [dev] [3.4.2]\r\n\r\n \r\n\r\n\r\nThanks in advance for your help,\r\n\r\nps:\r\nthe hazelcast.xml file is:\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<!-- ~ Copyright (c) 2008-2013, Hazelcast, Inc. All Rights Reserved. ~ ~ \r\n\tLicensed under the Apache License, Version 2.0 (the \"License\"); ~ you may \r\n\tnot use this file except in compliance with the License. ~ You may obtain \r\n\ta copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ \r\n\t~ Unless required by applicable law or agreed to in writing, software ~ distributed \r\n\tunder the License is distributed on an \"AS IS\" BASIS, ~ WITHOUT WARRANTIES \r\n\tOR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for \r\n\tthe specific language governing permissions and ~ limitations under the License. -->\r\n\r\n<!-- The default Hazelcast configuration. This is used when: - no hazelcast.xml \r\n\tif present -->\r\n<hazelcast\r\n\txsi:schemaLocation=\"http://www.hazelcast.com/schema/config hazelcast-config-3.4.xsd\"\r\n\txmlns=\"http://www.hazelcast.com/schema/config\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n\t<group>\r\n\t\t<name>dev</name>\r\n\t\t<password>dev-pass</password>\r\n\t</group>\r\n\t<management-center enabled=\"true\">http://dcaclx01.dns21.socgen:8080/mancenter\r\n\t</management-center>\r\n\t\r\n\t<properties>\r\n\t\t<property name=\"hazelcast.jmx\">true</property>\r\n\t\t<property name=\"hazelcast.jmx.detailed\">true</property>\t\t\r\n\t</properties>\r\n\t<network>\r\n\t\t<port auto-increment=\"true\" port-count=\"100\">5701</port>\r\n\t\t<outbound-ports>\r\n\t\t\t<!-- Allowed port range when connecting to other nodes. 0 or * means use \r\n\t\t\t\tsystem provided port. -->\r\n\t\t\t<ports>0</ports>\r\n\t\t</outbound-ports>\r\n\t\t<join>\r\n\t\t\t<multicast enabled=\"false\">\r\n\t\t\t\t<multicast-group>224.2.2.3</multicast-group>\r\n\t\t\t\t<multicast-port>54327</multicast-port>\r\n\t\t\t</multicast>\r\n\t\t\t<tcp-ip enabled=\"true\">\r\n\t\t\t\t<interface>192.88.65.123</interface>\r\n\t\t\t\t<interface>192.88.65.124</interface>\r\n\t\t\t</tcp-ip>\r\n\t\t\t<aws enabled=\"false\">\r\n\t\t\t\t<access-key>my-access-key</access-key>\r\n\t\t\t\t<secret-key>my-secret-key</secret-key>\r\n\t\t\t\t<!--optional, default is us-east-1 -->\r\n\t\t\t\t<region>us-west-1</region>\r\n\t\t\t\t<!--optional, default is ec2.amazonaws.com. If set, region shouldn't \r\n\t\t\t\t\tbe set as it will override this property -->\r\n\t\t\t\t<host-header>ec2.amazonaws.com</host-header>\r\n\t\t\t\t<!-- optional, only instances belonging to this group will be discovered, \r\n\t\t\t\t\tdefault will try all running instances -->\r\n\t\t\t\t<security-group-name>hazelcast-sg</security-group-name>\r\n\t\t\t\t<tag-key>type</tag-key>\r\n\t\t\t\t<tag-value>hz-nodes</tag-value>\r\n\t\t\t</aws>\r\n\t\t</join>\r\n\t\t<interfaces enabled=\"false\">\r\n\t\t\t<interface>10.10.1.*</interface>\r\n\t\t</interfaces>\r\n\t\t<ssl enabled=\"false\" />\r\n\t\t<socket-interceptor enabled=\"false\" />\r\n\t\t<symmetric-encryption enabled=\"false\">\r\n\t\t\t<!-- encryption algorithm such as DES/ECB/PKCS5Padding, PBEWithMD5AndDES, \r\n\t\t\t\tAES/CBC/PKCS5Padding, Blowfish, DESede -->\r\n\t\t\t<algorithm>PBEWithMD5AndDES</algorithm>\r\n\t\t\t<!-- salt value to use when generating the secret key -->\r\n\t\t\t<salt>thesalt</salt>\r\n\t\t\t<!-- pass phrase to use when generating the secret key -->\r\n\t\t\t<password>thepass</password>\r\n\t\t\t<!-- iteration count to use when generating the secret key -->\r\n\t\t\t<iteration-count>19</iteration-count>\r\n\t\t</symmetric-encryption>\r\n\t</network>\r\n\r\n\r\n\t<partition-group enabled=\"false\" />\r\n\t<executor-service name=\"default\">\r\n\t\t<pool-size>16</pool-size>\r\n\t\t<!--Queue capacity. 0 means Integer.MAX_VALUE. -->\r\n\t\t<queue-capacity>0</queue-capacity>\r\n\t</executor-service>\r\n\t<queue name=\"default\">\r\n\t\t<!-- Maximum size of the queue. When a JVM's local queue size reaches the \r\n\t\t\tmaximum, all put/offer operations will get blocked until the queue size of \r\n\t\t\tthe JVM goes down below the maximum. Any integer between 0 and Integer.MAX_VALUE. \r\n\t\t\t0 means Integer.MAX_VALUE. Default is 0. -->\r\n\t\t<max-size>0</max-size>\r\n\t\t<!-- Number of backups. If 1 is set as the backup-count for example, then \r\n\t\t\tall entries of the map will be copied to another JVM for fail-safety. 0 means \r\n\t\t\tno backup. -->\r\n\t\t<backup-count>1</backup-count>\r\n\r\n\t\t<!-- Number of async backups. 0 means no backup. -->\r\n\t\t<async-backup-count>0</async-backup-count>\r\n\r\n\t\t<empty-queue-ttl>-1</empty-queue-ttl>\r\n\t</queue>\r\n\r\n\t<map name=\"toto\">\r\n\t\t<!-- Data type that will be used for storing recordMap. Possible values: \r\n\t\t\tBINARY (default): keys and values will be stored as binary data OBJECT : \r\n\t\t\tvalues will be stored in their object forms NATIVE : values will be stored \r\n\t\t\tin non-heap region of JVM -->\r\n\t\t<near-cache>\r\n\t\t\t<!-- Maximum size of the near cache. When max size is reached, cache is \r\n\t\t\t\tevicted based on the policy defined. Any integer between 0 and Integer.MAX_VALUE. \r\n\t\t\t\t0 means Integer.MAX_VALUE. Default is 0. -->\r\n\t\t\t<max-size>5000</max-size>\r\n\r\n\t\t\t<!-- Maximum number of seconds for each entry to stay in the near cache. \r\n\t\t\t\tEntries that are older than <time-to-live-seconds> will get automatically \r\n\t\t\t\tevicted from the near cache. Any integer between 0 and Integer.MAX_VALUE. \r\n\t\t\t\t0 means infinite. Default is 0. -->\r\n\t\t\t<time-to-live-seconds>0</time-to-live-seconds>\r\n\r\n\t\t\t<!-- Maximum number of seconds each entry can stay in the near cache as \r\n\t\t\t\tuntouched (not-read). Entries that are not read (touched) more than <max-idle-seconds> \r\n\t\t\t\tvalue will get removed from the near cache. Any integer between 0 and Integer.MAX_VALUE. \r\n\t\t\t\t0 means Integer.MAX_VALUE. Default is 0. -->\r\n\t\t\t<max-idle-seconds>60</max-idle-seconds>\r\n\r\n\t\t\t<!-- Valid values are: NONE (no extra eviction, <time-to-live-seconds> \r\n\t\t\t\tmay still apply), LRU (Least Recently Used), LFU (Least Frequently Used). \r\n\t\t\t\tNONE is the default. Regardless of the eviction policy used, <time-to-live-seconds> \r\n\t\t\t\twill still apply. -->\r\n\t\t\t<eviction-policy>LRU</eviction-policy>\r\n\r\n\t\t\t<!-- Should the cached entries get evicted if the entries are changed \r\n\t\t\t\t(updated or removed). true of false. Default is true. -->\r\n\t\t\t<invalidate-on-change>true</invalidate-on-change>\r\n\r\n\t\t\t<!-- You may want also local entries to be cached. This is useful when \r\n\t\t\t\tin memory format for near cache is different than the map's one. By default \r\n\t\t\t\tit is disabled. -->\r\n\t\t\t<cache-local-entries>false</cache-local-entries>\r\n\t\t</near-cache>\r\n\r\n\r\n\t\t<in-memory-format>BINARY</in-memory-format>\r\n\r\n\r\n\t\t<!-- Number of backups. If 1 is set as the backup-count for example, then \r\n\t\t\tall entries of the map will be copied to another JVM for fail-safety. 0 means \r\n\t\t\tno backup. -->\r\n\t\t<backup-count>1</backup-count>\r\n\t\t<!-- Number of async backups. 0 means no backup. -->\r\n\t\t<async-backup-count>0</async-backup-count>\r\n\t\t<!-- Maximum number of seconds for each entry to stay in the map. Entries \r\n\t\t\tthat are older than <time-to-live-seconds> and not updated for <time-to-live-seconds> \r\n\t\t\twill get automatically evicted from the map. Any integer between 0 and Integer.MAX_VALUE. \r\n\t\t\t0 means infinite. Default is 0. -->\r\n\t\t<time-to-live-seconds>0</time-to-live-seconds>\r\n\t\t<!-- Maximum number of seconds for each entry to stay idle in the map. \r\n\t\t\tEntries that are idle(not touched) for more than <max-idle-seconds> will \r\n\t\t\tget automatically evicted from the map. Entry is touched if get, put or containsKey \r\n\t\t\tis called. Any integer between 0 and Integer.MAX_VALUE. 0 means infinite. \r\n\t\t\tDefault is 0. -->\r\n\t\t<max-idle-seconds>0</max-idle-seconds>\r\n\t\t<!-- Valid values are: NONE (no eviction), LRU (Least Recently Used), LFU \r\n\t\t\t(Least Frequently Used). NONE is the default. -->\r\n\t\t<eviction-policy>LRU</eviction-policy>\r\n\t\t<!-- Maximum size of the map. When max size is reached, map is evicted \r\n\t\t\tbased on the policy defined. Any integer between 0 and Integer.MAX_VALUE. \r\n\t\t\t0 means Integer.MAX_VALUE. Default is 0. -->\r\n\t\t<max-size policy=\"PER_NODE\">200000</max-size>\r\n\t\t<!-- When max. size is reached, specified percentage of the map will be \r\n\t\t\tevicted. Any integer between 0 and 100. If 25 is set for example, 25% of \r\n\t\t\tthe entries will get evicted. -->\r\n\t\t<eviction-percentage>25</eviction-percentage>\r\n\t\t<!-- Minimum time in milliseconds which should pass before checking if \r\n\t\t\ta partition of this map is evictable or not. Default value is 100 millis. -->\r\n\t\t<min-eviction-check-millis>100</min-eviction-check-millis>\r\n\t\t<!-- While recovering from split-brain (network partitioning), map entries \r\n\t\t\tin the small cluster will merge into the bigger cluster based on the policy \r\n\t\t\tset here. When an entry merge into the cluster, there might an existing entry \r\n\t\t\twith the same key already. Values of these entries might be different for \r\n\t\t\tthat same key. Which value should be set for the key? Conflict is resolved \r\n\t\t\tby the policy set here. Default policy is PutIfAbsentMapMergePolicy There \r\n\t\t\tare built-in merge policies such as com.hazelcast.map.merge.PassThroughMergePolicy; \r\n\t\t\tentry will be overwritten if merging entry exists for the key. com.hazelcast.map.merge.PutIfAbsentMapMergePolicy \r\n\t\t\t; entry will be added if the merging entry doesn't exist in the cluster. \r\n\t\t\tcom.hazelcast.map.merge.HigherHitsMapMergePolicy ; entry with the higher \r\n\t\t\thits wins. com.hazelcast.map.merge.LatestUpdateMapMergePolicy ; entry with \r\n\t\t\tthe latest update wins. -->\r\n\t\t<merge-policy>com.hazelcast.map.merge.PutIfAbsentMapMergePolicy\r\n\t\t</merge-policy>\r\n\r\n\t</map>\r\n\r\n\r\n\r\n\t<map name=\"default\">\r\n\t\t<!-- Data type that will be used for storing recordMap. Possible values: \r\n\t\t\tBINARY (default): keys and values will be stored as binary data OBJECT : \r\n\t\t\tvalues will be stored in their object forms NATIVE : values will be stored \r\n\t\t\tin non-heap region of JVM -->\r\n\t\t<in-memory-format>BINARY</in-memory-format>\r\n\r\n\t\t<!-- Number of backups. If 1 is set as the backup-count for example, then \r\n\t\t\tall entries of the map will be copied to another JVM for fail-safety. 0 means \r\n\t\t\tno backup. -->\r\n\t\t<backup-count>1</backup-count>\r\n\t\t<!-- Number of async backups. 0 means no backup. -->\r\n\t\t<async-backup-count>0</async-backup-count>\r\n\t\t<!-- Maximum number of seconds for each entry to stay in the map. Entries \r\n\t\t\tthat are older than <time-to-live-seconds> and not updated for <time-to-live-seconds> \r\n\t\t\twill get automatically evicted from the map. Any integer between 0 and Integer.MAX_VALUE. \r\n\t\t\t0 means infinite. Default is 0. -->\r\n\t\t<time-to-live-seconds>0</time-to-live-seconds>\r\n\t\t<!-- Maximum number of seconds for each entry to stay idle in the map. \r\n\t\t\tEntries that are idle(not touched) for more than <max-idle-seconds> will \r\n\t\t\tget automatically evicted from the map. Entry is touched if get, put or containsKey \r\n\t\t\tis called. Any integer between 0 and Integer.MAX_VALUE. 0 means infinite. \r\n\t\t\tDefault is 0. -->\r\n\t\t<max-idle-seconds>0</max-idle-seconds>\r\n\t\t<!-- Valid values are: NONE (no eviction), LRU (Least Recently Used), LFU \r\n\t\t\t(Least Frequently Used). NONE is the default. -->\r\n\t\t<eviction-policy>NONE</eviction-policy>\r\n\t\t<!-- Maximum size of the map. When max size is reached, map is evicted \r\n\t\t\tbased on the policy defined. Any integer between 0 and Integer.MAX_VALUE. \r\n\t\t\t0 means Integer.MAX_VALUE. Default is 0. -->\r\n\t\t<max-size policy=\"PER_NODE\">0</max-size>\r\n\t\t<!-- When max. size is reached, specified percentage of the map will be \r\n\t\t\tevicted. Any integer between 0 and 100. If 25 is set for example, 25% of \r\n\t\t\tthe entries will get evicted. -->\r\n\t\t<eviction-percentage>25</eviction-percentage>\r\n\t\t<!-- Minimum time in milliseconds which should pass before checking if \r\n\t\t\ta partition of this map is evictable or not. Default value is 100 millis. -->\r\n\t\t<min-eviction-check-millis>100</min-eviction-check-millis>\r\n\t\t<!-- While recovering from split-brain (network partitioning), map entries \r\n\t\t\tin the small cluster will merge into the bigger cluster based on the policy \r\n\t\t\tset here. When an entry merge into the cluster, there might an existing entry \r\n\t\t\twith the same key already. Values of these entries might be different for \r\n\t\t\tthat same key. Which value should be set for the key? Conflict is resolved \r\n\t\t\tby the policy set here. Default policy is PutIfAbsentMapMergePolicy There \r\n\t\t\tare built-in merge policies such as com.hazelcast.map.merge.PassThroughMergePolicy; \r\n\t\t\tentry will be overwritten if merging entry exists for the key. com.hazelcast.map.merge.PutIfAbsentMapMergePolicy \r\n\t\t\t; entry will be added if the merging entry doesn't exist in the cluster. \r\n\t\t\tcom.hazelcast.map.merge.HigherHitsMapMergePolicy ; entry with the higher \r\n\t\t\thits wins. com.hazelcast.map.merge.LatestUpdateMapMergePolicy ; entry with \r\n\t\t\tthe latest update wins. -->\r\n\t\t<merge-policy>com.hazelcast.map.merge.PutIfAbsentMapMergePolicy\r\n\t\t</merge-policy>\r\n\r\n\t</map>\r\n\r\n\t<multimap name=\"default\">\r\n\t\t<backup-count>1</backup-count>\r\n\t\t<value-collection-type>SET</value-collection-type>\r\n\t</multimap>\r\n\r\n\t<multimap name=\"default\">\r\n\t\t<backup-count>1</backup-count>\r\n\t\t<value-collection-type>SET</value-collection-type>\r\n\t</multimap>\r\n\r\n\t<list name=\"default\">\r\n\t\t<backup-count>1</backup-count>\r\n\t</list>\r\n\r\n\t<set name=\"default\">\r\n\t\t<backup-count>1</backup-count>\r\n\t</set>\r\n\r\n\t<jobtracker name=\"default\">\r\n\t\t<max-thread-size>0</max-thread-size>\r\n\t\t<!-- Queue size 0 means number of partitions * 2 -->\r\n\t\t<queue-size>0</queue-size>\r\n\t\t<retry-count>0</retry-count>\r\n\t\t<chunk-size>1000</chunk-size>\r\n\t\t<communicate-stats>true</communicate-stats>\r\n\t\t<topology-changed-strategy>CANCEL_RUNNING_OPERATION\r\n\t\t</topology-changed-strategy>\r\n\t</jobtracker>\r\n\r\n\t<semaphore name=\"default\">\r\n\t\t<initial-permits>0</initial-permits>\r\n\t\t<backup-count>1</backup-count>\r\n\t\t<async-backup-count>0</async-backup-count>\r\n\t</semaphore>\r\n\r\n\t<serialization>\r\n\t\t<portable-version>0</portable-version>\r\n\t</serialization>\r\n\r\n\t<services enable-defaults=\"true\" />\r\n\r\n\r\n\r\n</hazelcast>\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/hazelcast/hazelcast/issues/comments/200776004","html_url":"https://github.com/hazelcast/hazelcast/issues/5444#issuecomment-200776004","issue_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/5444","id":200776004,"user":{"login":"nick7ikin","id":1247707,"avatar_url":"https://avatars.githubusercontent.com/u/1247707?v=3","gravatar_id":"","url":"https://api.github.com/users/nick7ikin","html_url":"https://github.com/nick7ikin","followers_url":"https://api.github.com/users/nick7ikin/followers","following_url":"https://api.github.com/users/nick7ikin/following{/other_user}","gists_url":"https://api.github.com/users/nick7ikin/gists{/gist_id}","starred_url":"https://api.github.com/users/nick7ikin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nick7ikin/subscriptions","organizations_url":"https://api.github.com/users/nick7ikin/orgs","repos_url":"https://api.github.com/users/nick7ikin/repos","events_url":"https://api.github.com/users/nick7ikin/events{/privacy}","received_events_url":"https://api.github.com/users/nick7ikin/received_events","type":"User","site_admin":false},"created_at":"2016-03-24T10:24:51Z","updated_at":"2016-03-24T10:24:51Z","body":"As a temporary workaround consider switching to client-server mode. So one node will contain all data in consistent state and must be always turned on. The rest nodes will connect as clients and they can only work through the network with data on server. In local network environment this approach has quite good speed."}}