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

etcd: fix refresh feature #5448

Merged
merged 1 commit into from
May 26, 2016
Merged

etcd: fix refresh feature #5448

merged 1 commit into from
May 26, 2016

Conversation

xiang90
Copy link
Contributor

@xiang90 xiang90 commented May 25, 2016

Fix #5442.

/cc @sycal

When using refresh, etcd store v2 watch is broken. Although with refresh
store should not trigger current watchers, it should still add events into
the watchhub to make a complete history. Current store fails to add the event
into the watchhub, which causes issues.

@gyuho
Copy link
Contributor

gyuho commented May 25, 2016

Seems like this needs backport? If so, can you do in separate commits to make it easy to backport? Thanks!

@xiang90
Copy link
Contributor Author

xiang90 commented May 25, 2016

Yes. We need to back-port. I will fix the broken tests first.

@xiang90 xiang90 force-pushed the fix_refrsh branch 2 times, most recently from 5bd1039 to d842eff Compare May 25, 2016 19:55
When using refresh, etcd store v2 watch is broken. Although with refresh
store should not trigger current watchers, it should still add events into
the watchhub to make a complete history. Current store fails to add the event
into the watchhub, which causes issues.
@xiang90
Copy link
Contributor Author

xiang90 commented May 25, 2016

@sycal Hi, actually can you give this patch a test? I tested this locally and it works. You need to create a fresh cluster that built with this patch.

@sycal
Copy link

sycal commented May 25, 2016

@xiang90 Yes, I applied your original fix earlier today to our source and initial tests seemed very positive (couldn't get it to fail). Will continue tomorrow morning with the full fix and report back.

@xiang90
Copy link
Contributor Author

xiang90 commented May 25, 2016

@sycal Thanks! We will do a release this friday with the fix.

@sycal
Copy link

sycal commented May 26, 2016

I've been doing more testing today and still haven't seen the error re-appear. Thanks.

@xiang90
Copy link
Contributor Author

xiang90 commented May 26, 2016

@sycal I think it is fixed. So merging. Thanks @sycal !

@xiang90 xiang90 merged commit 6acb3d6 into etcd-io:master May 26, 2016
@xiang90 xiang90 deleted the fix_refrsh branch May 26, 2016 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants