Merge pull request #4824 from sfc-gh-ajbeamon/fix-priority-tracking
Fix accounting for time spent in run loop after breaking due to yield
This commit is contained in:
commit
11ca0531ba
|
@ -2,9 +2,11 @@
|
|||
Release Notes
|
||||
#############
|
||||
|
||||
|
||||
6.3.13
|
||||
======
|
||||
* The multi-version client now requires at most two client connections with version 6.2 or larger, regardless of how many external clients are configured. Clients older than 6.2 will continue to create an additional connection each. `(PR #4667) <https://github.com/apple/foundationdb/pull/4667>`_
|
||||
* Fix an accounting error that could potentially result in inaccuracies in priority busyness metrics. `(PR #4824) <https://github.com/apple/foundationdb/pull/4824>`_
|
||||
|
||||
6.3.12
|
||||
======
|
||||
|
|
|
@ -1513,6 +1513,7 @@ void Net2::run() {
|
|||
double newTaskBegin = timer_monotonic();
|
||||
if (check_yield(TaskPriority::Max, tscNow)) {
|
||||
checkForSlowTask(tscBegin, tscNow, newTaskBegin - taskBegin, currentTaskID);
|
||||
taskBegin = newTaskBegin;
|
||||
FDB_TRACE_PROBE(run_loop_yield);
|
||||
++countYields;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue