mirror of https://gitee.com/bigwinds/arangodb
remove logging
This commit is contained in:
parent
867233b293
commit
39f7a34c4a
|
@ -64,6 +64,11 @@ void SharedQueryState::resetWakeupHandler() {
|
||||||
bool SharedQueryState::executeWakeupCallback() {
|
bool SharedQueryState::executeWakeupCallback() {
|
||||||
TRI_ASSERT(_valid);
|
TRI_ASSERT(_valid);
|
||||||
TRI_ASSERT(_wakeupCb);
|
TRI_ASSERT(_wakeupCb);
|
||||||
|
if (_queuedWakeup) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
_queuedWakeup = true;
|
||||||
|
|
||||||
auto scheduler = SchedulerFeature::SCHEDULER;
|
auto scheduler = SchedulerFeature::SCHEDULER;
|
||||||
if (ADB_UNLIKELY(scheduler == nullptr)) {
|
if (ADB_UNLIKELY(scheduler == nullptr)) {
|
||||||
// We are shutting down
|
// We are shutting down
|
||||||
|
@ -71,11 +76,6 @@ bool SharedQueryState::executeWakeupCallback() {
|
||||||
}
|
}
|
||||||
TRI_ASSERT(_numWakeups > 0);
|
TRI_ASSERT(_numWakeups > 0);
|
||||||
|
|
||||||
if (_queuedWakeup) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
_queuedWakeup = true;
|
|
||||||
return scheduler->queue(RequestLane::CLIENT_AQL,
|
return scheduler->queue(RequestLane::CLIENT_AQL,
|
||||||
[self = shared_from_this(),
|
[self = shared_from_this(),
|
||||||
cb = _wakeupCb] () mutable {
|
cb = _wakeupCb] () mutable {
|
||||||
|
|
|
@ -81,7 +81,6 @@ std::pair<ExecutionState, NoStats> UnsortedGatherExecutor::produceRows(OutputAql
|
||||||
i = (_currentDependency + x) % _numberDependencies;
|
i = (_currentDependency + x) % _numberDependencies;
|
||||||
|
|
||||||
if (_upstream[i] == ExecutionState::DONE) {
|
if (_upstream[i] == ExecutionState::DONE) {
|
||||||
LOG_DEVEL << "dependency " << i << " done";
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -98,12 +97,6 @@ std::pair<ExecutionState, NoStats> UnsortedGatherExecutor::produceRows(OutputAql
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (tmp > 0) {
|
|
||||||
LOG_DEVEL << "dependency " << i << " state " << state << " returned " << tmp;
|
|
||||||
} else {
|
|
||||||
LOG_DEVEL << "dependency " << i << " state " << state;
|
|
||||||
}
|
|
||||||
|
|
||||||
_upstream[i] = state;
|
_upstream[i] = state;
|
||||||
if (state == ExecutionState::HASMORE) {
|
if (state == ExecutionState::HASMORE) {
|
||||||
more = true;
|
more = true;
|
||||||
|
|
Loading…
Reference in New Issue