]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
AsyncConnection: Fix replacing cause original state lossy
authorHaomai Wang <haomaiwang@gmail.com>
Wed, 14 Jan 2015 03:14:16 +0000 (11:14 +0800)
committerHaomai Wang <haomaiwang@gmail.com>
Thu, 15 Jan 2015 19:07:13 +0000 (03:07 +0800)
commit296e5457be31bd7d22e467ed0a8f4d4cea8df77f
tree63084c972d781b6f5930c9e48e4d77631dfe11e8
parent2bc16752c41f82eafce81f8c8d91e7f6c203e28f
AsyncConnection: Fix replacing cause original state lossy

Because AsyncConnection won't enter "open" tag from "replace" tag,
the codes which set reply_tag won't be used when enter "open" tag.
It will cause server side discard out_q and lose state.

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
src/msg/async/AsyncConnection.cc
src/msg/async/AsyncConnection.h
src/msg/async/AsyncMessenger.h