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)
Tue, Jul 2, 6:50 AM
Unknown Object (File)
Sun, Jun 30, 10:02 AM
Unknown Object (File)
Sun, Jun 30, 10:02 AM
Unknown Object (File)
Sun, Jun 30, 10:02 AM
Unknown Object (File)
Sun, Jun 30, 10:02 AM
Unknown Object (File)
Sun, Jun 30, 10:02 AM
Unknown Object (File)
Sun, Jun 30, 10:00 AM
Unknown Object (File)
Sat, Jun 29, 5:00 AM

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.