proc waitForBgsave r {
while 1 {
- if {[status r bgsave_in_progress] eq 1} {
+ if {[status r rdb_bgsave_in_progress] eq 1} {
if {$::verbose} {
puts -nonewline "\nWaiting for background save to finish... "
flush stdout
proc waitForBgrewriteaof r {
while 1 {
- if {[status r bgrewriteaof_in_progress] eq 1} {
+ if {[status r aof_rewrite_in_progress] eq 1} {
if {$::verbose} {
puts -nonewline "\nWaiting for background AOF rewrite to finish... "
flush stdout
proc wait_for_sync r {
while 1 {
- if {[status r master_link_status] eq "down"} {
+ if {[status $r master_link_status] eq "down"} {
after 10
} else {
break