]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
Event: fix clock skew problem 7949/head
authorWei Jin <wjin.cn@gmail.com>
Sun, 6 Mar 2016 07:48:35 +0000 (15:48 +0800)
committerWei Jin <wjin.cn@gmail.com>
Sun, 6 Mar 2016 08:03:21 +0000 (16:03 +0800)
commite9046700d9513c971faa524a7bdae39a803a040f
tree83cd9871277ab4466f82b7508a00b839785a7326
parent6018ccd6c4405c6014c65dd92660898adbc29c03
Event: fix clock skew problem

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>
src/msg/async/Event.cc