{"action":"closed","issue":{"url":"https://api.github.com/repos/hazelcast/hazelcast/issues/5211","labels_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/5211/labels{/name}","comments_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/5211/comments","events_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/5211/events","html_url":"https://github.com/hazelcast/hazelcast/issues/5211","id":72074334,"number":5211,"title":"Changes made by interceptor do not appear in backup","user":{"login":"akoledzhikov","id":1317763,"avatar_url":"https://avatars.githubusercontent.com/u/1317763?v=3","gravatar_id":"","url":"https://api.github.com/users/akoledzhikov","html_url":"https://github.com/akoledzhikov","followers_url":"https://api.github.com/users/akoledzhikov/followers","following_url":"https://api.github.com/users/akoledzhikov/following{/other_user}","gists_url":"https://api.github.com/users/akoledzhikov/gists{/gist_id}","starred_url":"https://api.github.com/users/akoledzhikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akoledzhikov/subscriptions","organizations_url":"https://api.github.com/users/akoledzhikov/orgs","repos_url":"https://api.github.com/users/akoledzhikov/repos","events_url":"https://api.github.com/users/akoledzhikov/events{/privacy}","received_events_url":"https://api.github.com/users/akoledzhikov/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hazelcast/hazelcast/labels/Team:%20Core","name":"Team: Core","color":"eb6420"},{"url":"https://api.github.com/repos/hazelcast/hazelcast/labels/Type:%20Defect","name":"Type: Defect","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"eminn","id":378108,"avatar_url":"https://avatars.githubusercontent.com/u/378108?v=3","gravatar_id":"","url":"https://api.github.com/users/eminn","html_url":"https://github.com/eminn","followers_url":"https://api.github.com/users/eminn/followers","following_url":"https://api.github.com/users/eminn/following{/other_user}","gists_url":"https://api.github.com/users/eminn/gists{/gist_id}","starred_url":"https://api.github.com/users/eminn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eminn/subscriptions","organizations_url":"https://api.github.com/users/eminn/orgs","repos_url":"https://api.github.com/users/eminn/repos","events_url":"https://api.github.com/users/eminn/events{/privacy}","received_events_url":"https://api.github.com/users/eminn/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/hazelcast/hazelcast/milestones/55","html_url":"https://github.com/hazelcast/hazelcast/milestones/3.5","labels_url":"https://api.github.com/repos/hazelcast/hazelcast/milestones/55/labels","id":819785,"number":55,"title":"3.5","description":null,"creator":{"login":"sancar","id":570462,"avatar_url":"https://avatars.githubusercontent.com/u/570462?v=3","gravatar_id":"","url":"https://api.github.com/users/sancar","html_url":"https://github.com/sancar","followers_url":"https://api.github.com/users/sancar/followers","following_url":"https://api.github.com/users/sancar/following{/other_user}","gists_url":"https://api.github.com/users/sancar/gists{/gist_id}","starred_url":"https://api.github.com/users/sancar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sancar/subscriptions","organizations_url":"https://api.github.com/users/sancar/orgs","repos_url":"https://api.github.com/users/sancar/repos","events_url":"https://api.github.com/users/sancar/events{/privacy}","received_events_url":"https://api.github.com/users/sancar/received_events","type":"User","site_admin":false},"open_issues":56,"closed_issues":627,"state":"open","created_at":"2014-10-09T13:04:53Z","updated_at":"2015-05-27T12:07:01Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-04-30T06:20:14Z","updated_at":"2015-05-27T12:07:01Z","closed_at":"2015-05-27T12:07:01Z","body":"Hazelcast version : 3.2.3\r\nI have the following setup - 2 applications, each of them running a hazelcast node, with backup count = 2. Each of them also has a hazelcast client, which is used to write some data into a distributed map. Finally, there is an interceptor attached to this map, which slightly modifies any incoming entries in its interceptPut method.\r\n\r\nThe problem is, that if I kill one of the nodes, entries restored from backup are in their state before the interceptor modified them. \r\nSample test application here - http://pastebin.com/nHRnqYHY\r\n\r\nNB1: This only happens if I write the new entries using the Hazelcast client. If I write directly using the HZ node instance, everything is OK.\r\nNB2: Another thing, which is slightly inconvenient - in the afterPut method, I also get the unmodified value."}}