Details
-
Bug
-
Resolution: Fixed
-
Major
-
Morpheus
-
None
-
Untriaged
-
0
-
Unknown
Description
In the current implementation the DcpProducer use the following logic:
unpause()
|
if may progress
|
return
|
pause()
|
By unconditionally unpause before checking if any progress may be done we loose the information on how long we actually pause. This should be changed to:
if may progress
|
unpause
|
return
|
|
if not already paused
|
pause
|
Now we can keep track of the duration we're continuously paused
Attachments
For Gerrit Dashboard: MB-61277 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
207583,8 | MB-61277: Only unpause DcpProducer if we may progress | master | kv_engine | Status: MERGED | +2 | +1 |