Page MenuHomePhabricator

[services] Blob - Fix done callback logic for put reactor
ClosedPublic

Authored by karol on Apr 19 2022, 1:55 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 24, 11:22 PM
Unknown Object (File)
Tue, Nov 19, 7:14 PM
Unknown Object (File)
Tue, Nov 5, 5:19 PM
Unknown Object (File)
Oct 13 2024, 3:25 PM
Unknown Object (File)
Oct 13 2024, 3:25 PM
Unknown Object (File)
Oct 13 2024, 3:25 PM
Unknown Object (File)
Oct 13 2024, 3:25 PM
Unknown Object (File)
Oct 13 2024, 3:24 PM

Details

Summary

Depends on D3738

I think we should simplify the logic here. So, whenever the uploader is not initialized, we want to break the execution of doneCallback. Additionally, we keep track of whether the data already exists or not.

Test Plan

Use blob service like in D3535

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

karol edited the summary of this revision. (Show Details)
karol edited the test plan for this revision. (Show Details)
karol added a reviewer: tomek.
tomek added inline comments.
services/blob/src/Reactors/server/PutReactor.h
78–85 ↗(On Diff #11597)

What do you think about reducing indentation here?

This revision is now accepted and ready to land.Apr 21 2022, 1:38 AM
services/blob/src/Reactors/server/PutReactor.h
78–85 ↗(On Diff #11597)

Ok, but I find this more readable

This revision was landed with ongoing or failed builds.Apr 22 2022, 1:08 AM
This revision was automatically updated to reflect the committed changes.