HomePhabricator
Diffusion Comm c8039f5647ef

[services] Backup - make blob client instances separate for every thread

Description

[services] Backup - make blob client instances separate for every thread

Summary:
Depends on D3487

https://linear.app/comm/issue/ENG-905/fix-the-threading-problem - the problem and approaches are described in the task

Test Plan:
You need 3 terminals
1:

cd services
yarn run-backup-service

2:

cd services
yarn run-blob-service

3:
You can use https://github.com/karol-bisztyga/grpc-playground/tree/backup-async

./build.sh
./cmake/build/bin/client

then in the GUI use the n option (just type n and hit enter, this stands for creating a new backup).

Reviewers: geekbrother, varun, jimpo, palys-swm

Reviewed By: palys-swm

Subscribers: ashoat, palys-swm, Adrian, atul, benschac

Differential Revision: https://phabricator.ashoat.com/D3488

Details

Provenance
karolAuthored on Mar 31 2022, 11:50 PM
Reviewer
tomek
Differential Revision
D3488: [services] Backup - make blob client instances separate for every thread
Parents
rCOMM842b9c95f514: [services] Tunnelbroker - Empty field checks in database items
Branches
Unknown
Tags
Unknown