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 171d4976c3 - Show all commits

View File

@ -1080,7 +1080,6 @@ 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;
dumpContext.segmentIdx++;
muellerr marked this conversation as resolved Outdated

want to keep that?

want to keep that?
dumpContext.dumpedBytes += nextDumpLen;
// Dump takes multiple task cycles, so cache the dump state and continue dump the next cycles.
@ -2391,7 +2390,6 @@ 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;
muellerr marked this conversation as resolved Outdated

same here

same here
// Dump takes multiple task cycles, so cache the dump state and continue dump the next cycles.