Describe the bug
Running replicaof no one on replica in full sync state returns after more than 20 seconds
To Reproduce
run master and replica
./dragonfly --alsologtostderr --dbfilename= --port=6379
./dragonfly --alsologtostderr --dbfilename= --port=6380
run memtier on master
memtier_benchmark -c 10 -t 8 --pipeline=30 --hide-histogram --test-time=3000 --distinct-client-seed -d 256 --ratio=1:0
and wait a little for master to fill with data
run command on replica
replicaof localhost 6379
and after
replicaof no one
Expected behavior
replica of no one should return fast
Describe the bug Running
replicaof no one
on replica in full sync state returns after more than 20 secondsTo Reproduce run master and replica ./dragonfly --alsologtostderr --dbfilename= --port=6379 ./dragonfly --alsologtostderr --dbfilename= --port=6380
run memtier on master memtier_benchmark -c 10 -t 8 --pipeline=30 --hide-histogram --test-time=3000 --distinct-client-seed -d 256 --ratio=1:0 and wait a little for master to fill with data
run command on replica replicaof localhost 6379 and after replicaof no one
Expected behavior replica of no one should return fast