dragonfly
                                
                                 dragonfly copied to clipboard
                                
                                    dragonfly copied to clipboard
                            
                            
                            
                        replicaof no one on returns after long time while running memtier on master
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
we already had an issue for this around a year ago
Probably related: https://github.com/dragonflydb/dragonfly/issues/2907
Probably related: #2907
it's a different problem