Details
-
Bug
-
Resolution: Fixed
-
Minor
-
5.5.0
-
None
-
Untriaged
-
Unknown
Description
As part of cleaning up DCP handling in the core I've added validation of the packet ordering for DCP, and as part of that I'm also using the connection type to determine if the connection is DCP or not.
This caused the rebalance tests to fail, as ep_engine doesn't expect step() to be called before a stream was set up by calling add_stream() (which the core used to protect against, but that was because of a "bug" in the state machinery which prevented the response to be sent back for the DCP open if we toggled the DCP state too early. That is however resolved in the core).
Attachments
For Gerrit Dashboard: MB-29117 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
91402,21 | Tighten DCP packet validators to ensure the correct DCP use | master | kv_engine | Status: ABANDONED | 0 | -1 |
108935,6 | MB-29117: Consumer::step should return EWOULDBLOCK until add_stream | master | kv_engine | Status: MERGED | +2 | +1 |