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

Event: fix clock skew problem #7949

Merged
merged 1 commit into from Mar 13, 2016
Merged

Event: fix clock skew problem #7949

merged 1 commit into from Mar 13, 2016

Conversation

wjin
Copy link
Contributor

@wjin wjin commented Mar 6, 2016

Default constructor of utime_t generates the same default time value,
so after the loop, we only keep the last list from map 'time_events'
into map 'change', thus it will lead to time event lost if swap them.

Signed-off-by: Wei Jin wjin.cn@gmail.com

Default constructor of utime_t generates the same default time value,
so after the loop, we only keep the last list from map 'time_events'
into map 'change', thus it will lead to time event lost if swap them.

Signed-off-by: Wei Jin <wjin.cn@gmail.com>
@yuyuyu101
Copy link
Member

good catch

@yuyuyu101 yuyuyu101 self-assigned this Mar 12, 2016
yuyuyu101 added a commit that referenced this pull request Mar 13, 2016
Event: fix clock skew problem

Reviewed-by: Haomai Wang <haomai@xsky.com>
@yuyuyu101 yuyuyu101 merged commit 497cde4 into ceph:master Mar 13, 2016
@wjin wjin deleted the fix branch March 23, 2016 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants