Details
-
Improvement
-
Resolution: Unresolved
-
Minor
-
5.1.3, 5.5.2, 6.0.0
-
None
Description
Filing this as a placeholder ticket based on the discussion on customer ticket.
It would be better for dcp to account for the "last message sent" time in addition to the "last message received" before making a decision to disconnect. e.g. in the dcp disconnect message:
2018-11-27T09:06:19.311489Z INFO (collageDev) DCP (Producer) eq_dcpq:secidx:proj-collageDev-INIT_STREAM_TOPIC_9dffc10e0a38e1404a6e02b7c4045849-17542624913530096817/3 - Disconnecting because a message has not been received for DCP idle timeout (which is360s). Sent last message 915s ago, received last message 915s ago. noopCtx {now - sendTime:917, opaque: 10000000, pendingRecv:false}
|
In the scenario where KV-Engine was delayed in sending a DCP no-op request (e.g. due to scheduling issues); we shouldn't consider when we were supposed to send the NO-OP as when we start counting down NO-OP interval; only from when we actually attempt to send the NO-OP.