00:04:02 GMT someone asked if they can use redis-cli to check which config is being used 00:04:12 GMT soemone did not try `info` or read the docs.. 00:04:26 GMT I would answer said person directly but they also did not stay in the channel after asking said question :( 00:07:41 GMT ugh this is weird 00:08:07 GMT http://pastebin.com/TijaNkxr 00:08:17 GMT redis-sentinel breaking on me suddenly 00:08:21 GMT just moved a tier on prod to SSDs 00:08:24 GMT initiated the failback 00:08:33 GMT and now things suddenly go wrong 00:08:49 GMT it's like doing convert-to-slave ad infinitum on the same instances 00:08:55 GMT over and over 00:09:47 GMT redis 3.0.7 00:09:51 GMT (as well as sentinel) 00:10:03 GMT all 3 of them are spewing the same thing 00:11:23 GMT hi ctoa 00:15:53 GMT http://stackoverflow.com/questions/37394453/redis-failover-cluster-convert-to-slave 00:15:56 GMT looks like the same issue. 00:19:02 GMT I see antirez commented and closed this several hours ago 00:19:07 GMT https://github.com/antirez/redis/issues/3285 00:33:15 GMT manually setting slave state on the shards we're bringing back up this time (we had rebuilt that host so both claimed to be masters) 00:47:23 GMT hi antirez 00:48:07 GMT I'm experiencing some strange issue with redis-sentinel after upgrading a redis tier (3.0.7) to ssds, which necessitated rebuilding hosts. ran into a bug you closed out earlier 00:48:14 GMT https://github.com/antirez/redis/issues/3285 00:48:39 GMT we brought a set of master shards down, added slaveof to their configs manually and verified they work as slaves 00:48:45 GMT but still can't seem to failover 00:49:15 GMT it gave +reboot,-sdown on all the slaves. though interestingly one of the sentinels has -failover-abort-slave-timeout 00:54:14 GMT http://pastebin.com/eQRWdhU6 00:54:26 GMT the other sentinels just have some +new-epoch, nothing else interesting... hrm 00:55:45 GMT same thing doing it on a sentinel on another host 00:59:58 GMT http://pastebin.com/6z23NycA 01:00:06 GMT currently can't initiate a failover on any shard. 01:10:30 GMT hm, we did rename the CONFIG command -- so if Sentinel uses CONFIG on the shards, that would explain it perhaps.. 01:59:13 GMT well looks like I f'd myself over by renaming CONFIG on prod. it seemed like a prudent suggestion 01:59:31 GMT I didn't think about that Redis Sentinel would be using that command and that it doesn't support renaming commands 01:59:34 GMT :| 02:19:31 GMT antirez: so, yeah, I screwed us over by renaming CONFIG on Redis, not realizing that Sentinel doesn't support renamed commands. 02:19:38 GMT Mea culpa. 02:20:20 GMT do I win #redis dumbass of the day award? 03:15:26 GMT well all's well that ends well 10:53:43 GMT For strange differences between OSX and Linux networking stack, on OSX there is still the bug of Redis starting if 127.0.0.1 or ::1 is already bound to another process. 13:17:29 GMT Ready to release 3.2.1, already on Git. Checking a few things before finalizing at redis.io 15:17:02 GMT antirez: website not yet updated? 15:18:48 GMT badboy_: update di theory, checking 15:18:59 GMT oops 15:19:07 GMT :D not pushed? 15:20:17 GMT There is a conflict in the remote git so it does not update, going to check locally what happened 15:21:17 GMT fixed, thanks 16:13:48 GMT ooh 3.2.1 16:15:20 GMT now I'm tempted to upgrade to 3.2 branch with 3.2.1 being out 16:15:40 GMT the ability to control Lua script replication side effects sounds super nice 16:17:48 GMT How can I delete a key with a newline in it? 16:18:33 GMT nhooey: in redis-cli: DEL "foo\nbar" 16:18:44 GMT in language of your choice: just pass the string 16:18:54 GMT badboy_: It doesn't work. 16:19:19 GMT then the thing you are sending is wrong? 16:20:35 GMT Ah, double-quotes. 16:30:06 GMT heh 16:30:16 GMT I learned a hard, hard lesson yesterday 16:30:27 GMT someone had given me some great advice like rename "KEYS" on prod -- that is still great advice. 16:30:32 GMT but I renamed CONFIG as well 16:31:00 GMT not realizing that Sentinel uses that very same command and doesn't support renaming of commands 16:31:29 GMT foolishly didn't test it on dev/stage because that's something I just wanted on prod. :| 16:33:39 GMT but for all the time we spent fire fighting, I was looking at logs of various things... like latency spikes and accuracy stats for certain systems. amazingly for all that, the impact wasn't tragic heh 17:25:11 GMT hi, I was reading through the redis.conf comments and noticed a comment about Redis Cluster and needing to wait for more users to deploy it in production. I plan on deploying redis cluster in production here in the next month or so. Would it be useful or helpful to share my info and documentation with somebody and if so, whom should I contact? 17:55:41 GMT Hello! 18:27:52 GMT exit 18:33:41 GMT sorry for the nitty PR, but I noticed this when someone in the chan was asking about this error and I discovered this function and the comment above it 18:33:50 GMT https://github.com/antirez/redis/pull/3324 18:41:05 GMT it can be /usr/bin/redis-sentinel too, right? not really clear from the PR or the comment 18:41:53 GMT minus: I currently have it running as redis-sentinel-tagged for a dumb, historic reason 18:42:08 GMT and it works because the comparison is using strstr() which is a substring match 18:42:27 GMT instead of strcmp() which is used just below for --sentinel 18:43:38 GMT minus: path is not part of argv[0] 18:43:46 GMT you can convince yourself with a test program as I have: 18:44:04 GMT http://pastebin.com/T9Bu3mr2 18:44:20 GMT I put hello in my $HOME/bin 18:44:33 GMT (compiled that as 'hello', sorry, wasn't clear) 18:44:37 GMT $ hello 18:44:39 GMT hello 18:45:09 GMT it would be kind of lame if the path was part of argv[0] :) 18:45:31 GMT so, I'm not sure of why the historic use of strstr() other than allowing some flexibility in the binary name 18:45:50 GMT but my PR is purely to correct the comment since it's a substring check, not an exact string check. 18:46:50 GMT technically it does mean that a binary named 'this-is-not-redis-sentinel-actually' would be recognized as redis-sentinel. but anyone who names such a thing that way is just being silly imho 19:54:56 GMT hi all, I'm trying to do some testing with sentinel. I kill a master and it's set into sdown state, but stays in sdown forever. down-after-milliseconds = 5000 and failover-timeout = 60000 19:57:54 GMT I've got 4 sentinel nodes, and the only line in the sentinel logs after killing the master is the sdown state 21:07:02 GMT argh another person with a problem not staying on IRC 21:07:11 GMT someone tell tryfan (next time he's on) that 4 != quorum 21:07:20 GMT if you don't have quorum with sentinels, you're in for a bad time. 21:07:36 GMT you can have 3 or 5, not 4. 21:08:01 GMT much like the US Supreme Court needs *9* justices, not 8 ;\