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

Re: Issue 219 in redis: With AOF fsyncing after every command redis-server can end up with partially applied transactions inside dataset.

Re: Issue 215 in redis: HKEYS to HFIELDS --- What do you think?
(14 lines)
Re: Issue 230 in redis: Cannot create empty set/list without workarounds
(14 lines)
Aug 27, 2010
Redis
Redis
Updates:
	Status: Verified

Comment #1 on issue 219 by antirez: With AOF fsyncing after every command 

redis-server can end up with partially applied transactions inside
dataset.
http://code.google.com/p/redis/issues/detail?id=219

This is now fixed, either the whole transaction or nothing will be written
 
in the AOF stream.

Thanks for reporting,
Salvatore





Reply
Tags: datasetinsidetransactions
Similar Threads
Re: Issue 212 in redis: Interactive redis-cli crashes when issuing a command after period of inactiv
Updates:
	Status: Verified

Comment #3 on issue 212 by pcnoordhuis: Interactive redis-cli crashes when
 
issuing a command after period of inactivity
http://code.google.com/p/redis/issues/detail?id=212

Reconnecting when the connection has timed out in interactive mode is
fixed  
in both 2.0 and master.





Re: Issue 162 in redis: need a redis-cli command to close all connection
Comment #1 on issue 162 by antirez: need a redis-cli command to close all 

connection
http://code.google.com/p/redis/issues/detail?id=162

can't find a valid use case for this ;) Care to explain?

Cheers,
Salvatore





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 312 in redis: redis-server hanging when being populated with keys-values w/expire with VM enab
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 312 by themig.adx: redis-server hanging when being populated
with  
keys-values w/expire with VM enabled
http://code.google.com/p/redis/issues/detail?id=312

What steps will reproduce the problem?
1. Start redis-server with
    vm-enabled yes
    vm-max-memory 2147483648
    vm-page-size 32
    vm-pages 134217728
    etc
2. From a standalone executable issue commands in a loop that will do the 

following:
    getset random_key random_value
    expire random_key 2592000
3. When the server gets across boundary of its virtual machine (2 G)it  
stops responding to cli and to "redis-stat vmstat" with about 48% CPU busy
 
on our LINUX system, probably falling into a loopwhole of VM swapping.

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


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


Please provide any additional information below.






Re: Issue 132 in redis: Comment at the top of utils/redis-copy.rb applies to redis-sha1.rb
Updates:
	Status: Done

Comment #1 on issue 132 by antirez: Comment at the top of  
utils/redis-copy.rb applies to redis-sha1.rb
http://code.google.com/p/redis/issues/detail?id=132

done, thanks





Re: Issue 210 in redis: Set and Expire in one command
Updates:
	Status: Verified

Comment #1 on issue 210 by antirez: [PATCH] Set and Expire in one command
http://code.google.com/p/redis/issues/detail?id=210

We have SETEX, starting from Redis 2.0.0:  
http://code.google.com/p/redis/wiki/SetexCommand





Issue 297 in redis: WATCH command doesn't work
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 297 by theturtle32: WATCH command doesn't work
http://code.google.com/p/redis/issues/detail?id=297

What steps will reproduce the problem?
turtlelap:redis-2.0.0-rc4 turtle$ ./redis-cli
redis> set foo bar
OK
redis> get foo
"bar"
redis> watch foo
(error) ERR unknown command 'watch'
redis>


What version of the product are you using? On what operating system?
Redis 2.0.0-rc4, Mac OS X 10.6.4






Re: Issue 100 in redis: Command to show Loaded Configuration
Updates:
	Status: Verified

Comment #2 on issue 100 by antirez: Command to show Loaded Configuration
http://code.google.com/p/redis/issues/detail?id=100

check the CONFIG command, it is able to do this and even more (especially 

in Redis master).





Re: Issue 99 in redis: More meta-data via the INFO command
Updates:
	Status: Accepted

Comment #4 on issue 99 by antirez: [FEATURE REQUEST] More meta-data via
the  
INFO command
http://code.google.com/p/redis/issues/detail?id=99

I like at least a few of the above proposals, btw there is already a  
command to reset the stats of INFO, that is, CONFIG RESETSTAT.





Re: Issue 202 in redis: Redis does not include man pages in the upstream distribution (Github)
Updates:
	Status: Accepted

Comment #1 on issue 202 by antirez: Redis does not include man pages in
the  
upstream distribution (Github)
http://code.google.com/p/redis/issues/detail?id=202

Ok we should actually ping the author of this man pages and ask if we can 

include this in the Redis distribution... but then there is the problem of
 
a complex "make install" target that we are currently avoiding at all.

Anyway at least including the man pages makes sense. Accepted.

Cheers,
Salvatore





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 106 in redis: Incorrect parsing of redis.conf save parameters
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.





Re: Issue 167 in redis: Dissapointing responsiveness of Redis when using append only file mode
Comment #2 on issue 167 by antirez: Dissapointing responsiveness of Redis 

when using append only file mode
http://code.google.com/p/redis/issues/detail?id=167

updates about this:

1) With the current Linux kernel it is not possible to flush on a
different  
thread, as write(2) will block anyway in the main thread. This sucks but I
 
don't think this is going to get fixed in little time.
2) We have now in Redis master an option so that fsync(2) is not called  
when there is a background saving/log-rewrite operation in progress. It's
a  
trick... but works.
3) All this is highly dependent on the file system used and the mount  
options.
4) "fsync none" is a trivial way to completely fix this problem but the  
drawback is that up to 30 seconds of logs can be lost.
5) fsync always is now optimized, it is still very very slow but much  
faster than before.

I'm leaving this open as it's an open problem but I don't think there are 

very good way to fix this at the moment, still with the latest changes we 

mitigated the problem enough. Currently when very low latency is required
a  
two box setup with a saving slave may be the best option.





Re: Issue 180 in redis: Nested MULTI command does not raise error
Updates:
	Status: Verified

Comment #1 on issue 180 by antirez: Nested MULTI command does not raise  
error
http://code.google.com/p/redis/issues/detail?id=180

This is fixed on master since some time, I can't remember when this got  
fixed but it's ok now:

redis> multi
OK
redis> multi
(error) ERR MULTI calls can not be nested
redis>

Thanks,
Salvatore





Re: Issue 168 in redis: Feature Request] redis-cli needs a auth-option
Updates:
	Status: Verified

Comment #3 on issue 168 by antirez: Feature Request] redis-cli needs a  
auth-option
http://code.google.com/p/redis/issues/detail?id=168

This was fixed indeed (see the -a option of redis-cli)





Re: Issue 197 in redis: Inconsistent? Handling of whitespace in keys, at least in redis-cli
Updates:
	Status: Verified

Comment #3 on issue 197 by antirez: Inconsistent? Handling of whitespace
in  
keys, at least in redis-cli
http://code.google.com/p/redis/issues/detail?id=197

This is now completely fixed, since Redis 2.0:


redis> set "any kind of key\n" foo
OK
redis> get "any kind of key\n"
"foo"

Closing :)
Salvatore





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





Re: Issue 137 in redis: redis.php: rpop and lpop method should not have $value parameter
Updates:
	Status: WontFix

Comment #1 on issue 137 by antirez: redis.php: rpop and lpop method should
 
not have $value parameter
http://code.google.com/p/redis/issues/detail?id=137

please use Predis or Rediska PHP Redis libs! The old PHP lib is
deprecated.

Cheers,
Salvatore





Re: Issue 179 in redis: redis-cli fails after error in multi/exec
Updates:
	Status: Verified

Comment #1 on issue 179 by antirez: redis-cli fails after error in  
multi/exec
http://code.google.com/p/redis/issues/detail?id=179

Fixed in redis master,

Cheers,
Salvatore





Re: Issue 203 in redis: Redis doesn't disconnect when master goes down during replication
Updates:
	Status: Verified

Comment #5 on issue 203 by antirez: Redis doesn't disconnect when master  
goes down during replication
http://code.google.com/p/redis/issues/detail?id=203

The problem of this specific issue is now solved as the slave is now able 

to detect that the connection was closed, but there actually issue #181  
still open, I just commented there.

Thanks,
Salvatore