Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure we remove a child job from before we trigger the next #9926

Merged
merged 2 commits into from
Jul 22, 2022

Conversation

TheOneRing
Copy link
Member

A delete job that triggered slotComputeContentChecksum could reach slotComputeTransmissionChecksum before the delete job was removed from _jobs.
The upload job would then not start the first chunk upload and be stalled for ever.

Fixes: #9725

@TheOneRing TheOneRing requested a review from a team July 15, 2022 08:42
@TheOneRing TheOneRing added this to the 3.0 milestone Jul 15, 2022
@ownclouders
Copy link
Contributor

Results for GUI-tests https://drone.owncloud.com/owncloud/client/12514/6/1

@TheOneRing TheOneRing force-pushed the work/fix_SyncConflictTest branch 2 times, most recently from 73daf1a to 120b86c Compare July 20, 2022 14:11
src/libsync/abstractnetworkjob.cpp Outdated Show resolved Hide resolved
src/libsync/bandwidthmanager.h Show resolved Hide resolved
src/libsync/propagatedownload.cpp Outdated Show resolved Hide resolved
src/libsync/propagateupload.cpp Show resolved Hide resolved
A delete job that triggered slotComputeContentChecksum could reach slotComputeTransmissionChecksum before the delete job was removed from _jobs.
The upload job would then not start the first chunk upload and be stalled for ever.

Fixes: #9725
@TheOneRing TheOneRing merged commit f43a5b9 into master Jul 22, 2022
@delete-merged-branch delete-merged-branch bot deleted the work/fix_SyncConflictTest branch July 22, 2022 08:38
@sonarcloud
Copy link

sonarcloud bot commented Jul 22, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 14 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SyncConflictTest is unreliable (Timeout)
3 participants