• A
    Cluster: added time field in cluster bus messages. · 925ea9f8
    antirez 提交于
    The time is sent in requests, and copied back in reply packets.
    This way the receiver can compare the time field in a reply with its
    local clock and check the age of the request associated with this reply.
    
    This is an easy way to discard delayed replies. Note that only a clock
    is used here, that is the one of the node sending the packet. The
    receiver only copies the field back into the reply, so no
    synchronization is needed between clocks of different hosts.
    925ea9f8
cluster.c 110.4 KB