feat: add slot migration error processing (#2957)

* feat: add slot migration error processing
This commit is contained in:
Borys 2024-04-29 10:51:23 +03:00 committed by GitHub
parent 1abd7e5fd3
commit 654ec9f1c4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 247 additions and 191 deletions

View file

@ -260,7 +260,7 @@ class Context : protected Cancellation {
using Cancellation::IsCancelled;
const Cancellation* GetCancellation() const;
GenericError GetError();
GenericError GetError() const;
// Report an error by submitting arguments for GenericError.
// If this is the first error that occured, then the error handler is run
@ -289,7 +289,7 @@ class Context : protected Cancellation {
private:
GenericError err_;
util::fb2::Mutex mu_;
mutable util::fb2::Mutex mu_;
ErrHandler err_handler_;
util::fb2::Fiber err_handler_fb_;