Details
-
Bug
-
Resolution: Cannot Reproduce
-
Critical
-
Cheshire-Cat
-
None
-
Untriaged
-
1
-
Yes
Description
Tracking ticket for suspected View Engine issue - seen in MB-40076
Taken from the logs associated with MB-40076:
2020-06-20T08:02:26.507892-07:00 INFO (default) DCP (Producer) eq_dcpq:mapreduce_view: default _design/ddoc1 (prod/main) - Attempting to release 4194305 bytes which is greater than bytesOutstanding:0
|
2020-06-20T08:02:26.508068-07:00 WARNING 60: exception occurred in runloop during packet execution. Closing connection: ThrowExceptionUnderflowPolicy current:0 arg:4194305. Cookies: []
|
The Underflow is occurring here:
void DcpProducer::BufferLog::release_UNLOCKED(size_t bytes) {
|
if (bytes > bytesOutstanding) {
|
EP_LOG_INFO(
|
"{} Attempting to release {} bytes which is greater than "
|
"bytesOutstanding:{}",
|
producer.logHeader(),
|
uint64_t(bytes),
|
uint64_t(bytesOutstanding));
|
}
|
|
bytesOutstanding -= bytes; <<<<<<<<<<<< UNDERFLOW
|
}
|
This Code relates to Acknowledging bytes received by the consumer.
It appear the view engine is acknowledging too many bytes and hence causing KV to result in an underflow error.
Attachments
Issue Links
- relates to
-
MB-40076 Memcached crashed with EventuallyPersistentEngine::notifyIOComplete(void const*, ENGINE_ERROR_CODE)
- Closed