Skip to content

Copy changes - #17

Closed
TimothyFitz wants to merge 1 commit into
redis:masterfrom
TimothyFitz:master
Closed

TimothyFitz wants to merge 1 commit into
redis:masterfrom
TimothyFitz:master

Conversation

@TimothyFitz

Copy link
Copy Markdown

Fixed a bunch of typos / gramatical errors while reading this.

Unrelated to my change:
I'm confused by the proxy's design. If it's just sending the writes to all 3 nodes in parallel, you'll have race conditions that cause inconsistent data. For instance, in a cluster with two hosts and M=2, and two proxies:
Proxy A is asked to SET foo LEFT
Proxy B is asked to SET foo RIGHT
Proxy A tells Host 1 to SET foo LEFT
Proxy B tells Host 1 to SET foo RIGHT
Proxy B tells Host 2 to SET foo RIGHT
Proxy A tells Host 2 to SET foo LEFT

In the end Host 1 has foo=RIGHT, Host 2 has foo=LEFT. With random read balancing you'll get random responses for the same key.

Am I misunderstanding the design doc?

@gofish gofish mentioned this pull request Mar 14, 2012
@s-tchaikovsky s-tchaikovsky mentioned this pull request Jul 26, 2013
@mattsta mattsta closed this May 30, 2014
ncopa pushed a commit to ncopa/redis that referenced this pull request Jan 7, 2016
Update to gosu 1.2 (including GPG verification)
Jawad606 added a commit to test-organiation-task-1/redis that referenced this pull request Nov 29, 2025
joyxu pushed a commit to joyxu/redis that referenced this pull request Jul 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants