Skip to content

Commit

Permalink
Fix executorWorker merge.
Browse files Browse the repository at this point in the history
  • Loading branch information
herve-er committed Oct 21, 2024
1 parent 8f1aff6 commit bfeff45
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/libsyncengine/propagation/executor/executorworker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2142,10 +2142,10 @@ ExitInfo ExecutorWorker::propagateEditToDbAndTree(SyncOpPtr syncOp, const NodeId
if (!_syncPal->_syncDb->node(*syncOp->correspondingNode()->idb(), dbNode, found)) {
LOG_SYNCPAL_WARN(_logger, "Error in SyncDb::node");
return {ExitCode::DbError, ExitCause::DbAccessError};
if (!found) {
LOG_SYNCPAL_DEBUG(_logger, "Failed to retrieve node for dbId=" << *syncOp->correspondingNode()->idb());
return {ExitCode::DataError, ExitCause::DbEntryNotFound};
}
}
if (!found) {
LOG_SYNCPAL_DEBUG(_logger, "Failed to retrieve node for dbId=" << *syncOp->correspondingNode()->idb());
return {ExitCode::DataError, ExitCause::DbEntryNotFound};
}

// 2. Update the database entry, to avoid detecting the edit operation again.
Expand Down

0 comments on commit bfeff45

Please sign in to comment.