Page MenuHomePhabricator
Feed Advanced Search

Sep 15 2022

karol added a comment to D5035: [services] Rust Integration - Backup - Rust - Multiple put clients.

Btw, if that was the only concern I think you could just accept it, rebasing to master was pretty easy and straightforward and would enable landing some diffs already reducing cycles.

Sep 15 2022, 2:52 AM
karol updated the diff for D5097: [services] Backup - Blob Get Client - Cleanup.

rebase

Sep 15 2022, 1:28 AM
karol updated the diff for D5096: [services] Backup - Blob Get Client - Refactor put initialize.

rebase

Sep 15 2022, 1:28 AM
karol updated the diff for D5095: [services] Backup - Blob Get Client - Refactor put read.

rebase

Sep 15 2022, 1:28 AM
karol updated the diff for D5037: [services] Rust Integration - Backup - Rust - Multiple get clients.

rebase

Sep 15 2022, 1:27 AM
karol updated the diff for D5035: [services] Rust Integration - Backup - Rust - Multiple put clients.

rebase

Sep 15 2022, 1:27 AM

Sep 14 2022

karol added a comment to D5092: [services] Backup - Blob Get Client - Refactor get initialize.
In D5092#149343, @jon wrote:

better

Sep 14 2022, 4:05 AM
karol added a comment to D5091: [services] Backup - Blob Get Client - Refactor get read.
In D5091#149340, @jon wrote:

better

Sep 14 2022, 4:05 AM
karol added a comment to D5090: [services] Backup - Blob Get Client - Refactor get terminate.
In D5090#149337, @jon wrote:

better

Sep 14 2022, 4:04 AM
karol added inline comments to D5037: [services] Rust Integration - Backup - Rust - Multiple get clients.
Sep 14 2022, 4:03 AM
karol accepted D5124: [Backup] Initialize logger with tokio runtime.

This doesn't work when I try to patch on the top of D5123, otherwise, it looks alright.

Sep 14 2022, 3:57 AM
karol added a comment to D5124: [Backup] Initialize logger with tokio runtime.

I cannot patch this diff locally. I fetched tags and pulled changes from the remote. Please, fix this (or maybe I missed something?).

Sep 14 2022, 3:53 AM
karol accepted D5123: [Backup] Add logging to blob_client.
Sep 14 2022, 3:49 AM
karol updated the diff for D5071: [services] Rust Integration - c++ - Implement worker in write reactor.

rebase

Sep 14 2022, 3:00 AM
karol updated the diff for D5070: [services] Rust Integration - c++ - Implement worker in read reactor.

rebase

Sep 14 2022, 3:00 AM
karol updated the diff for D5069: [services] Rust Integration - c++ - Implement worker in bidi reactor.

rebase

Sep 14 2022, 3:00 AM
karol planned changes to D5070: [services] Rust Integration - c++ - Implement worker in read reactor.
Sep 14 2022, 2:59 AM
karol planned changes to D5069: [services] Rust Integration - c++ - Implement worker in bidi reactor.
Sep 14 2022, 2:59 AM
karol planned changes to D5071: [services] Rust Integration - c++ - Implement worker in write reactor.
Sep 14 2022, 2:59 AM
karol updated the diff for D5068: [services] Rust Integration - c++ - Add worker.

address feedback

Sep 14 2022, 2:59 AM
karol added inline comments to D5068: [services] Rust Integration - c++ - Add worker.
Sep 14 2022, 2:56 AM
karol updated the diff for D5112: [services] Rust Integration - c++ - Add getNumberOfCores.

Thanks for the review. Addressed feedback.

Sep 14 2022, 1:44 AM
karol updated the diff for D5035: [services] Rust Integration - Backup - Rust - Multiple put clients.

use &str

Sep 14 2022, 1:19 AM
karol added inline comments to D5035: [services] Rust Integration - Backup - Rust - Multiple put clients.
Sep 14 2022, 1:19 AM

Sep 13 2022

karol updated the diff for D5099: [services] Backup - Blob Get Client - Pass rust string instead of const char*.

use more &str instead of String

Sep 13 2022, 1:32 AM
karol added inline comments to D5099: [services] Backup - Blob Get Client - Pass rust string instead of const char*.
Sep 13 2022, 1:31 AM
karol updated the summary of D5099: [services] Backup - Blob Get Client - Pass rust string instead of const char*.
Sep 13 2022, 1:09 AM
karol abandoned D5098: [services] Rust Integration - Backup - Rust - Fix backup utils.

Right 😅

Sep 13 2022, 1:09 AM
karol updated the diff for D5072: [services] Rust Integration - Backup - Rust - Fix wrong order of logs in the tests.

remove redundant code

Sep 13 2022, 1:07 AM
karol requested review of D5070: [services] Rust Integration - c++ - Implement worker in read reactor.
Sep 13 2022, 1:01 AM
karol requested review of D5071: [services] Rust Integration - c++ - Implement worker in write reactor.
Sep 13 2022, 1:01 AM

Sep 12 2022

karol requested review of D5069: [services] Rust Integration - c++ - Implement worker in bidi reactor.

I understand your concerns. The point here is that I wanted to have a possibility to schedule a task and if this task doesn't fail, then schedule a callback that is called only afterward. If you take a look at the implementations, these tasks/callbacks differ so I think that introducing a separate layer of abstraction makes sense.

Sep 12 2022, 7:25 AM
karol requested review of D5112: [services] Rust Integration - c++ - Add getNumberOfCores.
Sep 12 2022, 7:20 AM
karol updated the diff for D5068: [services] Rust Integration - c++ - Add worker.

newline

Sep 12 2022, 7:16 AM
karol planned changes to D5068: [services] Rust Integration - c++ - Add worker.
Sep 12 2022, 7:14 AM
karol updated the summary of D5068: [services] Rust Integration - c++ - Add worker.
Sep 12 2022, 7:11 AM
karol updated the diff for D5068: [services] Rust Integration - c++ - Add worker.

address feedback - use boost's thread pool

Sep 12 2022, 7:11 AM
karol added a comment to D5072: [services] Rust Integration - Backup - Rust - Fix wrong order of logs in the tests.

Ok, I see your point. It feels like you think I just never described what was wrong with those tests. I kind of described what was the problem in the description. Before this revision, the integration tests tended to not work because of the reasons I described. This revision eliminated this problem.

Sep 12 2022, 3:09 AM
karol added a comment to D5072: [services] Rust Integration - Backup - Rust - Fix wrong order of logs in the tests.
In D5072#148855, @tomek wrote:

Is it the case that integration tests are failing now? If this is the case, which diff broke them? We have to make sure that tests pass after every diff.

Sep 12 2022, 2:07 AM
karol updated the diff for D5072: [services] Rust Integration - Backup - Rust - Fix wrong order of logs in the tests.

address feedback

Sep 12 2022, 2:06 AM
karol updated the diff for D5099: [services] Backup - Blob Get Client - Pass rust string instead of const char*.

avoid unsafe

Sep 12 2022, 1:40 AM
karol updated the diff for D5096: [services] Backup - Blob Get Client - Refactor put initialize.

update

Sep 12 2022, 1:38 AM
karol updated the diff for D5093: [services] Backup - Blob Get Client - Refactor put terminate.

update

Sep 12 2022, 1:37 AM
karol updated the diff for D5092: [services] Backup - Blob Get Client - Refactor get initialize.

update

Sep 12 2022, 1:37 AM
karol updated the diff for D5090: [services] Backup - Blob Get Client - Refactor get terminate.

update

Sep 12 2022, 1:37 AM
karol planned changes to D5096: [services] Backup - Blob Get Client - Refactor put initialize.
Sep 12 2022, 1:35 AM
karol planned changes to D5092: [services] Backup - Blob Get Client - Refactor get initialize.
Sep 12 2022, 1:35 AM
karol planned changes to D5090: [services] Backup - Blob Get Client - Refactor get terminate.
Sep 12 2022, 1:35 AM
karol added inline comments to D5093: [services] Backup - Blob Get Client - Refactor put terminate.
Sep 12 2022, 1:26 AM
karol updated the diff for D5097: [services] Backup - Blob Get Client - Cleanup.

update

Sep 12 2022, 1:17 AM
karol updated the diff for D5096: [services] Backup - Blob Get Client - Refactor put initialize.

avoid panic

Sep 12 2022, 1:16 AM
karol added inline comments to D5096: [services] Backup - Blob Get Client - Refactor put initialize.
Sep 12 2022, 1:07 AM

Sep 9 2022

karol accepted D5066: [services] Tunnelbroker - Changes to handle HTTP code inside the Rust `send_notif_to_apns` function.
Sep 9 2022, 7:52 AM
karol accepted D5065: [services] Tunnelbroker - Add secrets handling for notifications in config file.
Sep 9 2022, 7:51 AM
karol accepted D5064: [services] Tunnelbroker - Fix an OpenSSL crate collision.
Sep 9 2022, 7:50 AM
karol added inline comments to D5099: [services] Backup - Blob Get Client - Pass rust string instead of const char*.
Sep 9 2022, 7:41 AM
karol added a comment to D5068: [services] Rust Integration - c++ - Add worker.

I understand, you're right. The goal was to provide the POC asap so the performance tests would work. I'm going to look into the c++ thread pooling.

Sep 9 2022, 7:29 AM
karol requested review of D5099: [services] Backup - Blob Get Client - Pass rust string instead of const char*.
Sep 9 2022, 7:22 AM
karol requested review of D5098: [services] Rust Integration - Backup - Rust - Fix backup utils.
Sep 9 2022, 7:17 AM
karol requested review of D5035: [services] Rust Integration - Backup - Rust - Multiple put clients.
Sep 9 2022, 7:11 AM
karol requested review of D5036: [services] Rust Integration - Backup - c++ - Multiple put clients.
Sep 9 2022, 6:44 AM
karol added inline comments to D5035: [services] Rust Integration - Backup - Rust - Multiple put clients.
Sep 9 2022, 5:13 AM
karol requested review of D5097: [services] Backup - Blob Get Client - Cleanup.
Sep 9 2022, 4:59 AM
karol requested review of D5096: [services] Backup - Blob Get Client - Refactor put initialize.
Sep 9 2022, 4:56 AM
karol updated the diff for D5089: [services] Backup - Blob Get Client - Prepare for error handling.

fix version

Sep 9 2022, 4:56 AM
karol requested review of D5095: [services] Backup - Blob Get Client - Refactor put read.
Sep 9 2022, 4:56 AM
karol planned changes to D5089: [services] Backup - Blob Get Client - Prepare for error handling.
Sep 9 2022, 4:55 AM
karol updated the summary of D5094: [services] Backup - Blob Get Client - Refactor put write.
Sep 9 2022, 4:54 AM
karol updated the summary of D5093: [services] Backup - Blob Get Client - Refactor put terminate.
Sep 9 2022, 4:54 AM
karol updated the summary of D5092: [services] Backup - Blob Get Client - Refactor get initialize.
Sep 9 2022, 4:54 AM
karol requested review of D5094: [services] Backup - Blob Get Client - Refactor put write.
Sep 9 2022, 4:54 AM
karol updated the summary of D5091: [services] Backup - Blob Get Client - Refactor get read.
Sep 9 2022, 4:54 AM
karol updated the summary of D5090: [services] Backup - Blob Get Client - Refactor get terminate.
Sep 9 2022, 4:54 AM
karol requested review of D5093: [services] Backup - Blob Get Client - Refactor put terminate.
Sep 9 2022, 4:54 AM
karol requested review of D5091: [services] Backup - Blob Get Client - Refactor get read.
Sep 9 2022, 4:53 AM
karol requested review of D5092: [services] Backup - Blob Get Client - Refactor get initialize.
Sep 9 2022, 4:53 AM
karol requested review of D5090: [services] Backup - Blob Get Client - Refactor get terminate.
Sep 9 2022, 4:52 AM
karol requested review of D5089: [services] Backup - Blob Get Client - Prepare for error handling.
Sep 9 2022, 4:52 AM

Sep 8 2022

karol requested review of D5068: [services] Rust Integration - c++ - Add worker.

The Worker class is not that well-thought-through and I realize that. The first problem is that there's no limit to schedules, another one is that we don't have that much control over the threads - we join them but in the destructor, and this is basically a singleton with a static instance; that means it's going to be released when the app's about to terminate. We could maybe detach the threads... But all in all, I think that we should think about what is happening here and pursue more control over this "worker" aka "thread manager"/"thread pool".

Sep 8 2022, 6:56 AM
karol requested review of D5036: [services] Rust Integration - Backup - c++ - Multiple put clients.

I see your point. I would go with a follow-up for this as it looks uncertain and it may be quite a lot of work/refactoring.

Sep 8 2022, 6:40 AM
karol updated the diff for D5035: [services] Rust Integration - Backup - Rust - Multiple put clients.

address comments

Sep 8 2022, 6:27 AM
karol added inline comments to D5035: [services] Rust Integration - Backup - Rust - Multiple put clients.
Sep 8 2022, 6:25 AM
karol accepted D4998: [Services] Update blob to reference new directory.
Sep 8 2022, 4:31 AM
karol accepted D5052: Expose module with generated tonic blob client code.
Sep 8 2022, 4:30 AM
karol accepted D5055: Implement methods to start, continue and resume gRPC blob streaming.
Sep 8 2022, 4:27 AM
karol accepted D5054: Define data structure for holding multimedia upload process state and method to initialize.
Sep 8 2022, 4:26 AM
karol closed D5034: [services] Rust Integration - Backup - Rust - Add converting functions.
Sep 8 2022, 4:10 AM
karol committed rCOMM396b990da3e4: [services] Rust Integration - Backup - Rust - Add converting functions (authored by karol).
[services] Rust Integration - Backup - Rust - Add converting functions
Sep 8 2022, 4:10 AM
karol closed D5031: [services] Rust Integration - Backup - Make check_error shared.
Sep 8 2022, 4:10 AM
karol closed D5030: [services] Rust Integration - Backup - Make report_error shared.
Sep 8 2022, 4:10 AM
karol committed rCOMM48b066b17f71: [services] Rust Integration - Backup - Make check_error shared (authored by karol).
[services] Rust Integration - Backup - Make check_error shared
Sep 8 2022, 4:10 AM
karol closed D5029: [services] Rust Integration - Backup - Stop rethrowing in create new backup reactor.
Sep 8 2022, 4:10 AM
karol committed rCOMM30ddf06329be: [services] Rust Integration - Backup - Stop rethrowing in create new backup… (authored by karol).
[services] Rust Integration - Backup - Stop rethrowing in create new backup…
Sep 8 2022, 4:10 AM
karol committed rCOMM8236a5fbe0a4: [services] Rust Integration - Backup - Make report_error shared (authored by karol).
[services] Rust Integration - Backup - Make report_error shared
Sep 8 2022, 4:10 AM
karol closed D5027: [services] Rust Integration - Backup - Stop rethrowing in send log reactor.
Sep 8 2022, 4:10 AM
karol committed rCOMM9cc179609fac: [services] Rust Integration - Backup - Stop rethrowing in send log reactor (authored by karol).
[services] Rust Integration - Backup - Stop rethrowing in send log reactor
Sep 8 2022, 4:10 AM
karol closed D5025: [services] Rust Integration - Catch std::exception in base read reactor.
Sep 8 2022, 4:10 AM
karol closed D5026: [services] Rust Integration - Catch std::exception in base write reactor.
Sep 8 2022, 4:10 AM
karol committed rCOMMa6543b4556f6: [services] Rust Integration - Catch std::exception in base write reactor (authored by karol).
[services] Rust Integration - Catch std::exception in base write reactor
Sep 8 2022, 4:10 AM
karol committed rCOMM4020a09895ae: [services] Rust Integration - Catch std::exception in base read reactor (authored by karol).
[services] Rust Integration - Catch std::exception in base read reactor
Sep 8 2022, 4:10 AM