Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account
List archives

Re: Issue 106 in redis: Incorrect parsing of redis.conf save parameters

Re: Issue 105 in redis: Useful error messaging when out of memory
(17 lines)
Re: Issue 107 in redis: Need a way to limit max connect attempts for setting up replication
(21 lines)
Aug 23, 2010
Redis
Redis
Updates:
	Status: Accepted

Comment #1 on issue 106 by antirez: Incorrect parsing of redis.conf save  
parameters
http://code.google.com/p/redis/issues/detail?id=106

yep not cool at all, accepted. I've some plan to rewrite most of the  
configuration file parsers and for sure sanity checks including parameters
 
types and limits will be supported as well.





Reply
Tags: acceptedrewriteplancool
Similar Threads
Issue 300 in redis: redis-check-dump shows an overflowed value with huge .rdb.
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 300 by hatemogi: redis-check-dump shows an overflowed value with
 
huge .rdb.
http://code.google.com/p/redis/issues/detail?id=300

What steps will reproduce the problem?
1. make a huge dump.rdb file.
2. run redis-check-dump with that file.
3. I see an overflowed value in the result.

What is the expected output? What do you see instead?

I see below

$ ls -la data/dump.rdb
-rw-rw-r--  1 dante dante 11853271020 Aug  5 15:24 data/dump.rdb
$ ./redis-check-dump data/dump.rdb
==== Processed 9971202 valid opcodes (in -1031630877 bytes)  

Re: Issue 97 in redis: Ubuntu 9.10 /etc/init.d/redis-server [stop|restart] does not force a sync to
Updates:
	Status: Verified

Comment #4 on issue 97 by antirez: Ubuntu 9.10 /etc/init.d/redis-server  
[stop|restart] does not force a sync to disk
http://code.google.com/p/redis/issues/detail?id=97

this is now fixed (as Chris suggested)





Issue 296 in redis: redis-cli does not handle EOF in monitor mode correctly
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 296 by bjarni.runar: redis-cli does not handle EOF in monitor  
mode correctly
http://code.google.com/p/redis/issues/detail?id=296

What steps will reproduce the problem?
1. run redis-cli in monitor mode
2. killall redis-server

What is the expected output? What do you see instead?

redis-cli should exit, as the server is no longer running. It does not,  
instead it spews infinite newlines.


What version of the product are you using? On what operating system?

redis 2.0.0rc3


Please provide any additional information below.

Patch attached, fixes the issue.

Attachments:
	redis-cli-newlines.patch  798 bytes





Issue 309 in redis: would redis support plugins?
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 309 by everw### @gmail.com: would redis support plugins?
http://code.google.com/p/redis/issues/detail?id=309

Redis is an outstanding storage solution. High performance, atomic  
operations, data structures, replication, etc.

But it does not support transactions very well. The MULTI/EXEC mechanism
is  
too simple. It cannot handle complex situations. Data structures support
is  
somewhat limited.

I think, supporting complex operations and data structures with plugins
may  
be a better way, like stored procedures in RDB.

Actually, I'm working on this feature now.

Any comments?





Issue 302 in redis: redis-cli cause a seg fault on netbsd X64
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 302 by charpentier.claude: redis-cli cause  a seg fault on
netbsd  
X64
http://code.google.com/p/redis/issues/detail?id=302

What steps will reproduce the problem?
1. launch redis-cli compiled on NetBSD X64

What is the expected output? What do you see instead?
see attached files


What version of the product are you using? On what operating system?
I use redis 1.2.6 on NetBSD amd64 but works fine on i386

zat


Attachments:
	gistd2bd3b523a52d441132a-22c8b36a5c747b3f08eef4b2767193b9faa559bc.tar.gz 
 
849 bytes





Re: Issue 276 in redis: redis as embedded database
Comment #1 on issue 276 by mvolmaro: [Feature Request] redis as embedded  
database
http://code.google.com/p/redis/issues/detail?id=276

Indeed. Having Redis available as embedded DB opens up a lot of  
possibilities that are not possible with the server only version.





Re: Issue 299 in redis: Redis 2.0.1 RC 4 crashing
Comment #1 on issue 299 by kickasspixels: Redis 2.0.1 RC 4 crashing
http://code.google.com/p/redis/issues/detail?id=299

Process:         redis-server [65443]
Path:            /usr/local/redis/redis-server
Identifier:      redis-server
Version:         ??? (???)
Code Type:       X86 (Native)
Parent Process:  launchd [1]

Date/Time:       2010-08-04 17:54:22.572 -0400
OS Version:      Mac OS X Server 10.5.8 (9L34)
Report Version:  6
Anonymous UUID:  0B57F7D5-CA9F-418D-B840-AD60267E68E1

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread:  0

Thread 0 Crashed:
0   libSystem.B.dylib                   0x9426ce42 __kill + 10
1   libSystem.B.dylib                   0x942df23a raise + 26
2   libSystem.B.dylib                   0x942eb679 abort + 73
3   redis-server                        0x0001f02f zmalloc_oom + 63
4   redis-server                        0x0001f0c6 zmalloc + 150
5   redis-server                        0x0001e646 sdsnewlen + 22
6   redis-server                        0x0000fdba  
rdbGenericLoadStringObject + 202
7   redis-server                        0x0000fe49  
rdbLoadEncodedStringObject + 25
8   redis-server                        0x00010195 rdbLoadObject + 837
9   redis-server                        0x0001b1ec rdbLoad + 348
10  redis-server                        0x0001c78e main + 334
11  redis-server                        0x00001ca6 start + 54

Thread 0 crashed with X86 Thread State (32-bit):
   eax: 0x00000000  ebx: 0x942eb639  ecx: 0xbffff5cc  edx: 0x9426ce42
   edi: 0x00000030  esi: 0xa05025b8  ebp: 0xbffff5e8  esp: 0xbffff5cc
    ss: 0x0000001f  efl: 0x00000282  eip: 0x9426ce42   cs: 0x00000007
    ds: 0x0000001f   es: 0x0000001f   fs: 0x00000000   gs: 0x00000037
   cr2: 0x03488000

Binary Images:
     0x1000 -    0x27fff +redis-server ??? (???)  
<e597b8f24768a19a6f450eeed5650e8c> /usr/local/redis/redis-server
0x8fe00000 - 0x8fe2db43  dyld 97.1 (???)
<458eed38a009e5658a79579e7bc26603>  
/usr/lib/dyld
0x91175000 - 0x9117cfe9  libgcc_s.1.dylib ??? (???)  
<f53c808e87d1184c0f9df63aef53ce0b> /usr/lib/libgcc_s.1.dylib
0x941fe000 - 0x94365ff3  libSystem.B.dylib ??? (???)  
<c8f52e158bf540cc000146ca8a705958> /usr/lib/libSystem.B.dylib
0x9746f000 - 0x97473fff  libmathCommon.A.dylib ??? (???)  
/usr/lib/system/libmathCommon.A.dylib
0xffff0000 - 0xffff1780  libSystem.B.dylib ??? (???)  
/usr/lib/libSystem.B.dylib





Issue 298 in redis: redis-cli "Error setting DB num" when authentication (-a) specified
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 298 by rocklob: redis-cli "Error setting DB num" when  
authentication (-a) specified
http://code.google.com/p/redis/issues/detail?id=298

What steps will reproduce the problem?

1. Configure redis with these options:
      requirepass password
      databases 16
2. Start redis-server
3. Attempt to use redis-cli while specifying a database number other than 

0.  Example:
      redis-cli -n 1 -a password info

What is the expected output? What do you see instead?

      Output of info command should be shown.  Instead, you will see:
           Error setting DB num
           Error setting DB num

What version of the product are you using? On what operating system?

      Redis 1.2.6 on 64-bit RedHat EL 5.

Please provide any additional information below.

      In redis-cli.c, cliSendCommand() tries to call selectDb before it  
issues the AUTH command.






PHP session save handler for Redis with key extraction...
Hi folks...

I wanted to let you know that I've written a pure-PHP session save
handler which saves session data into Redis (via Predis). It also
supports one feature that I find very interesting, and that is
extraction of some session values into standalone Redis keys - which
comes in very useful if you want to read PHP session values from
another environment and your session data happens to be protected by
something like Suhosin.

It's free, open-source and MIT licensed, and can be seen here:
http://github.com/ivanstojic/redis-session-php.

Sincerely,
Ivan





redis-cli port or conf file specification?
Is there a way to specify what port or conf file to use with redis-
cli? I have a server that I am running multiple instances of redis-
server on and choose to keep each instance separate from one another
so the 2 projects I have won't step on each others data. I'd like to
be able to use redis-cli to talk to either of them.

Thanks,
Paul





Re: Issue 101 in redis: Key info
Updates:
	Status: WontFix

Comment #2 on issue 101 by antirez: [Feature Request] Key info
http://code.google.com/p/redis/issues/detail?id=101

(No comment was entered for this change.)





Re: Issue 71 in redis: SSL Support
Comment #11 on issue 71 by kkirancse: [Feature Request] SSL Support
http://code.google.com/p/redis/issues/detail?id=71

Hi guys,

i couldn't use redis in my company just because there is no SSL  
communication support. I feel it adds value.





Issue 306 in redis: Sorted Set and Set intersections
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 306 by jacob.bay.hansen: [Feature request] Sorted Set and Set  
intersections
http://code.google.com/p/redis/issues/detail?id=306

I would like to be able to do intersections on sets and a score- or  
rank-limited sorted sets.

Assume that we have some sorted sets:

* users:activity {timestamp, userid}
* users:age {age, userid}

And some sets

* users:male {userid}

It would be nice to be able to do something like (syntax not supposed to
be  
redis):

     users:activity by rank 0 to 100 INTERSECT users:age by score
<18> to  
+inf  INTERSECT users:male

Not sure how this could be expressed without changing the current syntax  
too much, perhaps using an extension to ZRANGE a la:

     ZSTORERANGE dstkey key start end   #Store a sorted set range (by
rank)  
as a set
     ZSTORERANGEBYSCORE dstkey key min max #Store a sorted set range (by  
score) as a set

That would mean that I could do my intersection as:

     INCR i
     ZSTORERANGE tmp:<i>:activity users:activity 0 100
     ZSTORERANGEBYSCORE tmp:<i>:age users:age 18 +inf
     SINTER tmp:<i>:activity tmp:<i>:age users:male
     DEL tmp:<i>:activity
     DEL tmp:<i>:age

I realize that this requires a few calls to redis; but I thinks it is  
preferable to having to transport the sets back and forth to do the  
intersection.

What do you think?

- Jake







Re: Issue 98 in redis: randomkey should take a key mask
Updates:
	Status: WontFix

Comment #4 on issue 98 by antirez: randomkey should take a key mask
http://code.google.com/p/redis/issues/detail?id=98

this is O(N) instead of O(1) so there is no way to do this in an efficient
 
way currently, at least using hash tables, but there are a lot of  
advantages with our current design so this is unlikely to change.

The right thing to do is to use a Set (or multiple Sets) and use  
SRANDMEMBER, that's the Redis way of doing things ;)





Issue 307 in redis: performance on centos?
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 307 by john2do: performance on centos?
http://code.google.com/p/redis/issues/detail?id=307

simple test get me stuck)

on centos 5.5 x64 (2.6.18 from dist or generic 2.6.35.1), latest version  
compiled from sources:
./redis-benchmark -n 100000 -d 10 -q
PING: 45423.25 requests per second
PING (multi bulk): 46585.93 requests per second
SET: 48084.62 requests per second
GET: 47552.55 requests per second
INCR: 47241.85 requests per second
CPU0: Intel(R) Xeon(R) CPU           X5450  @ 3.00GHz stepping 06

ubuntu 10 x64:
./redis-benchmark -n 100000 -d 10 -q
PING: 80906.96 requests per second
PING (multi bulk): 84907.47 requests per second
SET: 83893.45 requests per second
GET: 81315.45 requests per second
INCR: 84537.62 requests per second
CPU0: Intel(R) Celeron(R) CPU        E3300  @ 2.50GHz stepping 0a

any help?





Re: Issue 65 in redis: Blocking LPOP
Updates:
	Status: Fixed

Comment #18 on issue 65 by antirez: [Feature Request] Blocking LPOP
http://code.google.com/p/redis/issues/detail?id=65

this was implemented time ago, closing the issue...





Re: Issue 242 in redis: Possible memory leak
Comment #1 on issue 242 by flashjay: Possible memory leak
http://code.google.com/p/redis/issues/detail?id=242

hey,
is this problem fixed?





Issue 310 in redis: Add multiple values to set
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 310 by VnVi### @gmail.com: [Feature Request] Add multiple values 

to set
http://code.google.com/p/redis/issues/detail?id=310

I often need to get intersected ids, and then sort those ids. In my app,  
because the ids are stored in different sets and zsets, I can't use SINTER
 
or ZINTERSTORE on them. Instead I get all ids from those sets and zsets
and  
perform the intersection at the application level (using function  
array_intersect() in PHP). But I need to sort the ids in redis (need to  
sort BY a hash field). So I have to add the intersected ids to a temporary
 
set to do a SORT command against it. I use SADD in a loop to accomplish  
this. However from my test using Predis lib, adding 100,000 integer values
 
to a set by using a loop takes 7 seconds, which is surely slow. I think  
there should be a way to add multiple values to a set in one go.

I test setting 100,000 keys/values with MSET (also using Predis) and it  
only takes about 1 second. So I think a MSADD or something like that would
 
be just about as fast. And while we can set multiple string values I think
 
it's logical to have a command to add multiple values to a set. Beside my 

case, I can think of a number of other cases where this command is useful.

Thanks





Re: Issue 56 in redis: Request: synchronous replication
Updates:
	Status: WontFix

Comment #6 on issue 56 by antirez: Request: synchronous replication
http://code.google.com/p/redis/issues/detail?id=56

Hello, the idea is that this use case should be solver by Redis cluster  
that will be in short time our main focus.





Re: Issue 93 in redis: Remove list when it's empty
Updates:
	Status: Verified

Comment #5 on issue 93 by antirez: Remove list when it's empty
http://code.google.com/p/redis/issues/detail?id=93

This was fixed time ago and for all the available types.