{"action":"created","issue":{"url":"https://api.github.com/repos/RedisLabsModules/rejson/issues/87","repository_url":"https://api.github.com/repos/RedisLabsModules/rejson","labels_url":"https://api.github.com/repos/RedisLabsModules/rejson/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/RedisLabsModules/rejson/issues/87/comments","events_url":"https://api.github.com/repos/RedisLabsModules/rejson/issues/87/events","html_url":"https://github.com/RedisLabsModules/rejson/issues/87","id":358872435,"node_id":"MDU6SXNzdWUzNTg4NzI0MzU=","number":87,"title":"Value of the same element differs between master and slaves","user":{"login":"tangkangrui","id":19900665,"node_id":"MDQ6VXNlcjE5OTAwNjY1","avatar_url":"https://avatars3.githubusercontent.com/u/19900665?v=4","gravatar_id":"","url":"https://api.github.com/users/tangkangrui","html_url":"https://github.com/tangkangrui","followers_url":"https://api.github.com/users/tangkangrui/followers","following_url":"https://api.github.com/users/tangkangrui/following{/other_user}","gists_url":"https://api.github.com/users/tangkangrui/gists{/gist_id}","starred_url":"https://api.github.com/users/tangkangrui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tangkangrui/subscriptions","organizations_url":"https://api.github.com/users/tangkangrui/orgs","repos_url":"https://api.github.com/users/tangkangrui/repos","events_url":"https://api.github.com/users/tangkangrui/events{/privacy}","received_events_url":"https://api.github.com/users/tangkangrui/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-11T03:25:13Z","updated_at":"2018-09-11T03:27:51Z","closed_at":null,"author_association":"NONE","body":"Hi，I have 4 redis instance running on 4 different machines，one master and 3 slaves.\r\n\r\n### info replication on master\r\n```cpp\r\n10.17.66.143:6379> info replication\r\n# Replication\r\nrole:master\r\nconnected_slaves:3\r\nslave0:ip=10.17.66.144,port=6379,state=online,offset=361548,lag=0\r\nslave1:ip=10.17.66.129,port=6379,state=online,offset=361548,lag=0\r\nslave2:ip=10.17.12.16,port=6379,state=online,offset=361548,lag=0\r\nmaster_replid:d362a9b80716c4902c05ec48202b36c7f99c8a91\r\nmaster_replid2:0000000000000000000000000000000000000000\r\nmaster_repl_offset:361548\r\nsecond_repl_offset:-1\r\nrepl_backlog_active:1\r\nrepl_backlog_size:1048576\r\nrepl_backlog_first_byte_offset:1\r\nrepl_backlog_histlen:361548\r\n```\r\nThe offset of the master and it's 3 slaves are exactly the same.(I think this indicates that data is perfectly synchronized from master to all slaves.)\r\n\r\n### Get value on master\r\n```cpp\r\n10.17.66.143:6379> JSON.GET index safeops.server.recycle\r\n{\"8057\":\"2018-09-09_19:48:32\"}\r\n```\r\nThe value of \"8057\" is a date.\r\n\r\n### Get value on slave\r\n```cpp\r\n10.17.66.144:6379> JSON.GET index safeops.server.recycle\r\n{\"8057\":\"10.17.66.129\"}\r\n\r\n10.17.66.129:6379> JSON.GET index safeops.server.recycle\r\n{\"8057\":\"10.17.66.129\"}\r\n```\r\nThe value of \"8057\" is a IP address, and This is what I expect.\r\n\r\nI have updated this value from \"2018-09-09_19:48:32\" to \"10.17.66.129\" a little while ago,  so this is really confusing, and I can't see any waring or error from the redis log.\r\nThe master will response to some query requests, and this problem could be a disaster for my system.\r\n"},"comment":{"url":"https://api.github.com/repos/RedisLabsModules/rejson/issues/comments/420134377","html_url":"https://github.com/RedisLabsModules/rejson/issues/87#issuecomment-420134377","issue_url":"https://api.github.com/repos/RedisLabsModules/rejson/issues/87","id":420134377,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDEzNDM3Nw==","user":{"login":"mnunberg","id":436049,"node_id":"MDQ6VXNlcjQzNjA0OQ==","avatar_url":"https://avatars0.githubusercontent.com/u/436049?v=4","gravatar_id":"","url":"https://api.github.com/users/mnunberg","html_url":"https://github.com/mnunberg","followers_url":"https://api.github.com/users/mnunberg/followers","following_url":"https://api.github.com/users/mnunberg/following{/other_user}","gists_url":"https://api.github.com/users/mnunberg/gists{/gist_id}","starred_url":"https://api.github.com/users/mnunberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mnunberg/subscriptions","organizations_url":"https://api.github.com/users/mnunberg/orgs","repos_url":"https://api.github.com/users/mnunberg/repos","events_url":"https://api.github.com/users/mnunberg/events{/privacy}","received_events_url":"https://api.github.com/users/mnunberg/received_events","type":"User","site_admin":false},"created_at":"2018-09-11T03:27:51Z","updated_at":"2018-09-11T03:27:51Z","author_association":"COLLABORATOR","body":"Try the latest master using the NOCACHE option while loading the module, and see if that works for you? Maybe the rejson on master is caching something.\n> On Sep 10, 2018, at 11:25 PM, PIP <notifications@github.com> wrote:\n> \n> Hi，I have 4 redis instance running on 4 different machines，one master and 3 slaves.\n> \n> info replication on master\n> \n> 10.17.66.143:6379> info replication\n> # Replication\n> role:master\n> connected_slaves:3\n> slave0:ip=10.17.66.144,port=6379,state=online,offset=361548,lag=0\n> slave1:ip=10.17.66.129,port=6379,state=online,offset=361548,lag=0\n> slave2:ip=10.17.12.16,port=6379,state=online,offset=361548,lag=0\n> master_replid:d362a9b80716c4902c05ec48202b36c7f99c8a91\n> master_replid2:0000000000000000000000000000000000000000\n> master_repl_offset:361548\n> second_repl_offset:-1\n> repl_backlog_active:1\n> repl_backlog_size:1048576\n> repl_backlog_first_byte_offset:1\n> repl_backlog_histlen:361548\n> The offset of the master and it's 3 slaves are exactly the same.(I think this indicates that data is perfectly synchronized from master to all slaves.)\n> \n> Get value on master\n> \n> 10.17.66.143:6379> JSON.GET index safeops.server.recycle\n> {\"8057\":\"2018-09-09_19:48:32\"}\n> The value of \"8057\" is a date.\n> \n> Get value on slave\n> \n> 10.17.66.144:6379> JSON.GET index safeops.server.recycle\n> {\"8057\":\"10.17.66.129\"}\n> \n> 10.17.66.129:6379> JSON.GET index safeops.server.recycle\n> {\"8057\":\"10.17.66.129\"}\n> The value of \"8057\" is a IP address, and This is what I expect.\n> \n> I have updated this value from \"2018-09-09_19:48:32\" to \"10.17.66.129\" a little while ago, so this is really confusing, and I can't see any waring or error from the redis log.\n> The master will response to some query requests, and this problem could be a disaster for my system.\n> \n> —\n> You are receiving this because you are subscribed to this thread.\n> Reply to this email directly, view it on GitHub <https://github.com/RedisLabsModules/rejson/issues/87>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AAanUVghOUJ04t9yJo_XLZhI3L_Vdreoks5uZy0ZgaJpZM4Wih_v>.\n> \n\n"}}
{"actor":{"display_login":"mnunberg"}}