Core Controller Dir Listing FSM #669

Merged
muellerr merged 10 commits from core-ctrl-dir-listing-fsm into v3.0.0-dev 2023-06-09 14:45:40 +02:00
Showing only changes of commit dcf3b1b1fe - Show all commits

View File

@ -1080,6 +1080,7 @@ ReturnValue_t CoreController::actionListDirectoryDumpDirectly(ActionId_t actionI
std::filesystem::remove(LIST_DIR_DUMP_WORK_FILE, e);
return result;
}
sif::debug << "dumped segment " << dumpContext.segmentIdx << std::endl;
muellerr marked this conversation as resolved Outdated

want to keep that?

want to keep that?
dumpContext.segmentIdx++;
dumpContext.dumpedBytes += nextDumpLen;
// Dump takes multiple task cycles, so cache the dump state and continue dump the next cycles.
@ -2385,6 +2386,7 @@ void CoreController::dirListingDumpHandler() {
actionHelper.finish(false, dumpContext.commander, dumpContext.actionId, result);
return;
}
sif::debug << "dumped segment " << dumpContext.segmentIdx << std::endl;
dumpContext.segmentIdx++;
dumpContext.dumpedBytes += nextDumpLen;
// Dump takes multiple task cycles, so cache the dump state and continue dump the next cycles.