ashish-goyal / redis

Automatically exported from code.google.com/p/redis
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

BUG on test #351 on NetBSD 5.1 - amd64 #388

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. install tcl-8.5 or better in netbsd
2. gmake && gmake test
3. wait for test #351..

What is the expected output? What do you see instead?
sucessfull execution.

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

Please provide any additional information below.

#351 Perform a final SAVE to leave a clean DB on disk                     
EXCEPTION

Caught error: ERR Background save already in progress
Logged warnings (pid 16175):
[16175] 21 Nov 20:47:50 # DB reloaded by DEBUG RELOAD
[16175] 21 Nov 20:47:50 * DB saved on disk
[16175] 21 Nov 20:47:50 * DB saved on disk
[16175] 21 Nov 20:47:50 # DB reloaded by DEBUG RELOAD
[16175] 21 Nov 20:47:50 * Background append only file rewriting started by pid 
15938
[15938] 21 Nov 20:47:50 * SYNC append only file rewrite performed
[16175] 21 Nov 20:47:50 * Background append only file rewriting terminated with 
success
[16175] 21 Nov 20:47:50 * Parent diff flushed into the new append log file with 
success (0 bytes)
[16175] 21 Nov 20:47:50 * Append only file successfully rewritten.
[16175] 21 Nov 20:47:51 - DB 9: 1 keys (1 volatile) in 4 slots HT.
[16175] 21 Nov 20:47:51 - 1 clients connected (0 slaves), 1085616 bytes in use
[16175] 21 Nov 20:47:51 - Accepted 127.0.0.1:65359
[16175] 21 Nov 20:47:56 - DB 9: 11278 keys (1 volatile) in 16384 slots HT.
[16175] 21 Nov 20:47:56 - 2 clients connected (0 slaves), 2920344 bytes in use
[16175] 21 Nov 20:48:01 - DB 9: 23845 keys (1 volatile) in 32768 slots HT.
[16175] 21 Nov 20:48:01 - 2 clients connected (0 slaves), 5099400 bytes in use
[16175] 21 Nov 20:48:06 - DB 9: 35947 keys (1 volatile) in 65536 slots HT.
[16175] 21 Nov 20:48:06 - 2 clients connected (0 slaves), 7335288 bytes in use
[16175] 21 Nov 20:48:12 - DB 9: 48537 keys (1 volatile) in 65536 slots HT.
[16175] 21 Nov 20:48:12 - 2 clients connected (0 slaves), 9385632 bytes in use
[16175] 21 Nov 20:48:17 - DB 9: 61011 keys (1 volatile) in 65536 slots HT.
[16175] 21 Nov 20:48:17 - 2 clients connected (0 slaves), 11415608 bytes in use
[16175] 21 Nov 20:48:22 - DB 9: 73346 keys (1 volatile) in 131072 slots HT.

I will try to dig deeper on the problem..

Original issue reported on code.google.com by miguel.filipe on 22 Nov 2010 at 1:08

GoogleCodeExporter commented 8 years ago
Can you try running the test suite again? This might be some kind of race 
condition. I've run the tests on NetBSD 5.1 amd64 and everything passes.

Original comment by pcnoordh...@gmail.com on 22 Nov 2010 at 4:10

GoogleCodeExporter commented 8 years ago
That's definitely a bug of the test itself... if the box is slow enough it is 
easy to notice.

There is to test this better but 99% probability that's it.

Original comment by anti...@gmail.com on 22 Nov 2010 at 4:46

GoogleCodeExporter commented 8 years ago
I can only test this again tomorrow night.
The host is very slow, specially IO.
Is there a way to run specifically just this test ?

Original comment by miguel.filipe on 22 Nov 2010 at 4:51

GoogleCodeExporter commented 8 years ago
Miguel if the host is really slow we know what the problem is.

Usually the old BGSAVE should be already ended, so there is no error in almost 
every kind of system, but the slowest. There is to fix this issue but it is 
definitely not a real bug.

Cheers,
Salvatore

Original comment by anti...@gmail.com on 22 Nov 2010 at 4:53