-
Notifications
You must be signed in to change notification settings - Fork 4
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
Resume merge and fix #20
base: master
Are you sure you want to change the base?
Conversation
Conflicts: src/jet/daemon.lua src/jet/peer.lua src/jet/socket.lua
…merge-and-fix Conflicts resolved: src/jet/daemon.lua src/jet/daemon/fetcher.lua src/jet/peer.lua src/jet/utils.lua
Your test does work fine. Unfortunately several other processes on the executing machine might rely on the loopback device. How about starting a private jetd on another port instead. Then connect the peer to that jetd, kill that jetd and restart it. |
I do have one question, in order to be able to replay all changes until reconnecting to jetd/peer, the peer and jetd keep a ring buffer of the messages to be send. How do both know, that the message was send succesfully and can be removed from that ring buffer? |
@mloy : "How about starting a private jetd on another port instead. Then connect the peer to that jetd, kill that jetd and restart it." |
@mloy : "How do both know, that the message was send succesfully and can be removed from that ring buffer?" |
ok, if in normal operation (without loss of connection), we will use up the whole ring buffer and simply overwrite the oldest one. |
concerning your test: I thought, the peer resumes against a new started jetd. Which should be possible too. |
No description provided.