commit | e84346b726ea90a8ed470bc81c4136a7b8710ea5 | [log] [tgz] |
---|---|---|
author | Sage Weil <sage@newdream.net> | Tue May 11 21:20:38 2010 -0700 |
committer | Sage Weil <sage@newdream.net> | Tue May 11 21:20:38 2010 -0700 |
tree | 99a90ef86d38a51e39ed69af318e6cfe32023879 | |
parent | f818a73674c5d197f66b636a46d7d578d7258129 [diff] |
ceph: preserve seq # on requeued messages after transient transport errors If the tcp connection drops and we reconnect to reestablish a stateful session (with the mds), we need to resend previously sent (and possibly received) messages with the _same_ seq # so that they can be dropped on the other end if needed. Only assign a new seq once after the message is queued. Signed-off-by: Sage Weil <sage@newdream.net>