Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replicaof no one on returns after long time while running memtier on master #3020

Closed
adiholden opened this issue May 7, 2024 · 3 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@adiholden
Copy link
Collaborator

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

@adiholden adiholden added the bug Something isn't working label May 7, 2024
@dranikpg
Copy link
Contributor

dranikpg commented May 7, 2024

we already had an issue for this around a year ago

@safa-topal
Copy link

Probably related: #2907

BorysTheDev added a commit that referenced this issue May 12, 2024
* fix: reduce delay when stop replica #3020
@BorysTheDev
Copy link
Contributor

Probably related: #2907

it's a different problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants