mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-11 10:25:47 +02:00
feat: add slot migration error processing (#2957)
* feat: add slot migration error processing
This commit is contained in:
parent
1abd7e5fd3
commit
654ec9f1c4
8 changed files with 247 additions and 191 deletions
|
@ -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_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue