01:14:44 GMT hiredis has redisContext *redisConnect(const char *ip, int port); - is that really only allowed to be an IP address (IPv4 only or does it also understand IPv6?) or will it also accept a hostname and resolve it? 07:33:47 GMT berndj: it resolves and works just fine with IPv6 07:42:00 GMT Hello. Is it possible to list all keys that aren't special objects (sets, sorted sets, lists) 07:43:36 GMT No 07:43:40 GMT it looks like redis has regular DBM-like key-value storage, and possibly sub-storages, that are lists, hashes, etc. 07:43:44 GMT Apart from that they are nowhere near "special" 07:44:02 GMT Redis is a key-value store where the value can be of different types, yes 07:44:24 GMT I cannot do "GET alist" 07:44:39 GMT that is correct. Each value has its own specific commands. 07:47:19 GMT I'm thinking about a mapping tool, between programming language hash-array, and redis main storage key->binary_value. This seems somewhat doable, except database might be changed outside, so cache/nocache use cases arise. However, don't know what to do with lists, sets, etc. Is there a library that does such mappings, for some programming language? 07:49:20 GMT afaik there is one for Python 07:59:31 GMT in hiredis, I don't see read/write options, i.e. to connect in e.g. read-only mode. There is no such distinction in redis, or does hires not support it (or I look in wrong place) ? 08:03:34 GMT I can issue READONLY after connecting 08:05:20 GMT (error) ERR This instance has cluster support disabled 08:07:37 GMT There is no such distinction 08:07:44 GMT Just don't send write commands 08:08:04 GMT READONLY is indeed cluster specific, as by default Cluster disallows reads from slaves 08:09:31 GMT how can i get all the hashes 08:09:50 GMT is there some command when i use HGETALL * i get empty list 08:13:24 GMT valhala_22: You can't 08:13:40 GMT ok 08:13:58 GMT In general there are only two commands that will get you all keys (KEYS and SCAN). KEYS is really expensive, and even when you reach for SCAN you should rethink your approach 08:14:14 GMT Plus you will always need to filter for keys with the right type later on 08:15:11 GMT right now i am on dev server doesnt contain not more than 30 hashes 08:27:35 GMT redis in a persistence mode also save the same keys stored in disk into RAM as well ? 09:16:23 GMT Hi All :) 09:18:49 GMT I have live redis service that I would preffer to maintain online. However I would like to restore 2 keys out of a backup redis dump. Is there a way to do so while keeping my current redis service live? 10:05:44 GMT valhala_22: use KEYS, but only in dev ever. 10:05:53 GMT brijesh_learner: yes, Redis always keeps all the data in memory 10:06:18 GMT yeah i used already KEYS ,anyways ty 10:06:44 GMT Olive6767: from an rdb file? You can always extract the data out of the file and manually insert it again 14:27:21 GMT Anyone familiar with use of SCAN command with hiredis 14:30:05 GMT badboy_: yes from rdb file. Will do what you suggest, thx. 14:47:42 GMT psprint: what's the problem? 15:19:13 GMT badboy_: wondered about nested arrays, but it seems that reply->type will be ARRAY, reply->elements[1]->type will be ARRAY, reply->elements[0] will be STRING 15:21:01 GMT zes 15:21:03 GMT yes 22:08:15 GMT hey folks, I have a redis 3.0.5 cluster, are there any backwards incompatibilities I need to be aware of to upgrade to 3.2.x? 22:08:26 GMT Hoping I can just upgrade slaves one at a time, failover master, then upgrade master