"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tests/unit/aofrw.tcl" between
redis-6.2.4.tar.gz and redis-6.2.5.tar.gz

About: redis is an advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.

aofrw.tcl  (redis-6.2.4):aofrw.tcl  (redis-6.2.5)
skipping to change at line 44 skipping to change at line 44
# AOF. # AOF.
after 1000 after 1000
# Stop the processes generating the load if they are still active # Stop the processes generating the load if they are still active
stop_write_load $load_handle0 stop_write_load $load_handle0
stop_write_load $load_handle1 stop_write_load $load_handle1
stop_write_load $load_handle2 stop_write_load $load_handle2
stop_write_load $load_handle3 stop_write_load $load_handle3
stop_write_load $load_handle4 stop_write_load $load_handle4
# Make sure that we remain the only connected client. # Make sure no more commands processed, before taking debug digest
# This step is needed to make sure there are no pending writes wait_load_handlers_disconnected
# that will be processed between the two "debug digest" calls.
wait_for_condition 50 100 {
[llength [split [string trim [r client list]] "\n"]] == 1
} else {
puts [r client list]
fail "Clients generating loads are not disconnecting"
}
# Get the data set digest # Get the data set digest
set d1 [r debug digest] set d1 [r debug digest]
# Load the AOF # Load the AOF
r debug loadaof r debug loadaof
set d2 [r debug digest] set d2 [r debug digest]
# Make sure they are the same # Make sure they are the same
assert {$d1 eq $d2} assert {$d1 eq $d2}
 End of changes. 1 change blocks. 
9 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)